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):
To add a new account go to the page Directory → Domain:
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) |
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 |
To configure the automation on call, go to the page Setting → Automation:
| 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) |
| 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) |
| ${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 |
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 |
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 |
To add a new account go to the page Dialplan → Contact: