MOR API c2c callback

From KolmiSoft Wiki

Jump to: navigation, search

MOR API

Contents

[edit] 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.


[edit] Response

<Status>Ok</Status>
  • Means callback is initiated


[edit] Errors

[edit] Not authenticated

<Status>Not authenticated</Status>
  • User is not present with provided username
  • User's password is wrong

[edit] Bad campaign

<Status>Bad campaign</Status>
  • Campaign does not exist or not belong to this user


[edit] No client number

<Status>No client</Status>
  • No cient number in request - no where to call


[edit] 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
Personal tools