CommDesk

CM

Configuring JSON RPC profile

To enable JOSN RPC protocol and add a new profile got go to the page Telephony → General [JSON-RPC] :

To add a new profile 1):

  1. In the profiles table (where the configured profiles are listed), click Add
  2. Set the value for the name, for example, lan
  3. select the ip address where to listen for connections
  4. set the listen port, for example, 8082
  5. choose the certificate to secure the connection.
  6. Click Add

Adding directory account

To add a new account go to the page Directory → Domain:

  1. In the accounts table (where the configured accounts are listed), click Add
  2. Set the value for the name, for example, 303
  3. Click in the upper tab, Endpoint
  4. Select JSON RPC
  5. Click Add

CommDesk Mac / Windows

Settings

Configuring account

To configure the account, go to the page Setting → Account:

Account Account (ex: 100)
Password Account Password (ex: abcdefghi123)
Server Server ip (ex: 172.16.1.1)
Port Port JSON-RPC (ex: 8082)

Functions

To configure the functions, go to the page Setting → Functions:

Voicemail Number to check voicemail (ex: 500)
Intercept Number to intercept call (ex: *40)
Format number Remove unsupported characters from the dialed number

Automation on call

To configure the automation on call, go to the page Setting → Automation:

Incoming call
When receiving call
URL from server Used variable verto_h_url from server
Custom url Customize url (ex: https://web.com/index?nu=${caller_id_number}&na=${caller_id_name}&d=${destination_number}&d=${duration})
Program Customize program (ex: Mac: /Applications/Firefox.app/Contents/MacOS/firefox, Win: C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
When answering call
URL from server Used variable verto_h_url_on_answer from server
Custom url Customize url (ex: https://web.com/index?nu=${caller_id_number}&na=${caller_id_name}&d=${destination_number}&d=${duration})
Program Customize program (ex: Mac: /Applications/Firefox.app/Contents/MacOS/firefox, Win: C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
When hanging up call
URL from server Used variable verto_h_url_on_hangup from server
Custom url Customize url (ex: https://web.com/index?nu=${caller_id_number}&na=${caller_id_name}&d=${destination_number}&d=${duration})
Program Customize program (ex: Mac: /Applications/Firefox.app/Contents/MacOS/firefox, Win: C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
Outgoing call
When making call
Custom url Customize url (ex: https://web.com/index?nu=${caller_id_number}&na=${caller_id_name}&d=${destination_number}&d=${duration})
Program Customize program (ex: Mac: /Applications/Firefox.app/Contents/MacOS/firefox, Win: C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
When answering call
Custom url Customize url (ex: https://web.com/index?nu=${caller_id_number}&na=${caller_id_name}&d=${destination_number}&d=${duration})
Program Customize program (ex: Mac: /Applications/Firefox.app/Contents/MacOS/firefox, Win: C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
When hanging up call
Custom url Customize url (ex: https://web.com/index?nu=${caller_id_number}&na=${caller_id_name}&d=${destination_number}&d=${duration})
Program Customize program (ex: Mac: /Applications/Firefox.app/Contents/MacOS/firefox, Win: C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
Variables
${caller_id_name} Caller id name
${caller_id_number} Caller id number
${destination_number} Destination number
${duration} call duration
${direction} call direction ( inbound or outbound )
${timestamp} call start timestamp
${uuid} call uuid

Network

To configure the network, go to the page Setting → Network:

Stun
Server Configure the STUN server when in NAT. (ex: stun.commsmundi.com)
Turn
Server Configure the TURN server when in NAT. (ex: stun.commsmundi.com)
Usename Configure the TURN username. (ex: commsmundi)
Password Configure the TURN Password. (ex: commsmundipwd)
Force only TURN relay enabled

LDAP

To configure the LDAP, go to the page Setting → LDAP:

Server Address The server address (ex: 192.168.10.1)
Port The server service port (ex: 389)
Base o=<domain name> (ex: o=commsmundi.com)
Username cn=<username>,ou=users,o=<domain name> (ex: cn=100,ou=users,o=commsmundi.com)
Password
LDAP Name Attributes cn
LDAP Number Attributes telephoneNumber mobile homePhone
search contains any character enabled

Contacts

Adding account

To add a new account go to the page Dialplan → Contact:

  1. Set the value for the name, for example, Contact
  2. click Add number
  3. Select the type for the type, for example, work
  4. Set the value for the number, for example, 100
  5. activate blf to see status
  6. Click Add
1)
To be able to add, modify or delete a profile set in the global parameters the option Mode to Advanced
/home/www/wiki/data/pages/configuration/telephony/commdesk.txt · Last modified: 2021/06/21 14:03 by admin
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki