https://doc.vodia.com/docs/click2dial
Click-to-call API
GET (Making a call using click-to-dial from command line)
-
Links without 'press 1' prompt: If, you want to be connected to the destination without having to listen the message 'press 1 to continue' and pressing the digit '1'. You can use 'connect=true' parameter as shown below to achieve this.
http://pbx/remote_call.htm?user=123@domain.com&dest=123456789&auth=123@domain.com:extension's_web_password&connect=true
EQUIVALENT API FOR THE ABOVE EXAMPLE:
/pbx/remote_call.htm?user=ext@domain.com&dest=outbound_number&auth=ext@domain.com:ext_web_pass&connect=true
Parameters
| Field | Type | Description |
|---|---|---|
| pbx | String | FQDN name or IP of the PBX. |
| domain_name | String | Name of the existing domain. |
| ext | Integer | Extension number. |
| outbound number | Integer | Destination / Outbound number to be called. |
Success (200 OK)
Example:
Request:
curl -v admin:password GET -D - "http://192.168.1.113/remote_call.htm?user=446@192.168.1.113&dest=18572233272&auth=446@192.168.1.113:zxc&connect=true"
You would immediately observe the extension making an outbound call to the destination number provided in the API.