DIAL command
The "dial" command is used to start a call from a phone (physical device of softphone) connected to the Accolades server. It can be used for implementing click2call features for applications not related with the Accolades platform (for example, CRM type software).
If a valid request is received by the Accolades server:
- the target phone (inside the Accolades server) will start ringing;
- someone will pick up the call;
- after the call is answered on the targeted phone, Accolades will automatically dial the destination number.
Command structure
To start the request, a http request must be sent to the url:
https://client.voipit.ro/<accountNumber>/dial/
The following parameters will be sent, using the POST method:
- password
- the API password for this account;
- deviceId
- the id of the device that will start the call (check the API tab from the user info page);
- phoneNumber
- the phone number that will be dialed (destination number).
Server response
If the request was processed successfully then a JSON package will be sent back:
{ "type" : "ok" }