Difference between revisions of "MOR API callback init"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
[[MOR API]]
[[MOR API]]


=Request=


  http://<YOUR_SERVER_IP>/mor/api/callback?u=<USERNAME>&p=<PASSWORD>device=<DEVICE_ID>&src=<SOURCE>&dst=<DESTINATION>
  http://<YOUR_SERVER_IP>/mor/api/callback?u=<USERNAME>&p=<PASSWORD>device=<DEVICE_ID>&src=<SOURCE>&dst=<DESTINATION>


Enter appropriate values where applicable. You can omit <DESTINATION>. Source will be asked to enter it if you do
* DEVICE_ID - which device should be used to initiate callback and which CALLERID will be set on the call
so.
* SOURCE - which number to dial first
* DESTINATION - will be dialed when SOURCE will answer
 
You can omit <DESTINATION>. SOURCE will be asked to enter it if you do so.





Revision as of 20:34, 19 January 2008

MOR API

Request

http://<YOUR_SERVER_IP>/mor/api/callback?u=<USERNAME>&p=<PASSWORD>device=<DEVICE_ID>&src=<SOURCE>&dst=<DESTINATION>
  • DEVICE_ID - which device should be used to initiate callback and which CALLERID will be set on the call
  • SOURCE - which number to dial first
  • DESTINATION - will be dialed when SOURCE will answer

You can omit <DESTINATION>. SOURCE will be asked to enter it if you do so.


Errors

User is not authenticated

<Status>Not authenticated</Status>