Difference between revisions of "MOR API c2c callback"
From Kolmisoft Wiki
Jump to navigationJump to search
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[MOR API]] | [[MOR API]] | ||
<br><br> | |||
<center><big><big> THIS MANUAL IS ACTUAL FOR MOR 8 AND LOWER VERSIONS ONLY. MOR 9 AND UP HAS DIFFERENT [[MOR API callback init | METHOD FOR THIS!]] </big></big></center> | |||
<br> | |||
=Request= | =Request= |
Latest revision as of 14:55, 23 May 2013
Request
http://<YOUR_SERVER_IP>/billing/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