Difference between revisions of "MOR API c2c callback"
From Kolmisoft Wiki
Jump to navigationJump to search
(New page: MOR API =Request= http://<YOUR_SERVER_IP>/mor/api/c2c_callback?u=<USERNAME>&p=<PASSWORD>campaign_id=<CAMPAIGN_ID>&client=<CLIENT> * USERNAME/PASSWORD - for user, not device! * CAMP...) |
(No difference)
|
Revision as of 14:23, 14 March 2008
Request
http://<YOUR_SERVER_IP>/mor/api/c2c_callback?u=<USERNAME>&p=<PASSWORD>campaign_id=<CAMPAIGN_ID>&client=<CLIENT>
- USERNAME/PASSWORD - for user, not device!
- CAMPAIGN_ID - for this campaign this c2c callback is
- CLIENT- cient's number
All fields are necessary to fill.
Response
<Status>Ok</Status>
- Means callback is initiated
Errors
Not authenticated
<Status>Not authenticated</Status>
- User is not present with provided username
- User's password is wrong
Bad campaign
<Status>Bad campaign</Status>
- Campaign does not exist or not belong to this user
No client number
<Status>No client</Status>
- No cient number in request - no where to call
Call is not received
- Check your CDR for FAILED call and reason why it failed
- Check Asterisk CLI for error
- Use Call Tracing to locate error and fix it