A get_call_history request will return a call's participants, start/stop times, duration and final status.
|dnumber||Name field identifying the call's destination number.|
|dnumber_no||Number field identifying the call's destination number.|
|snumber||Text field identifying the call's sender name.|
|snumber_no||Numeric field identifying the call's sender number.|
|start||Unix start time.|
|end||Unix end time.|
|totaltime||Total time of call in seconds. Note: "Unix time" is a standard for measuring time based on the number of seconds that have passed since the start of Thursday, 1 January 1970.|
|direction||The call's direction. Possible values include 'in' or 'out'.|
|status||The call's final status. Possible values include 'answer', 'cancel' or leave blank for any status.|
- dnumber (the “destination number”) will usually be the same as dnumber_no, because the system does not have a description or caller_name for outgoing calls.
- The Snumber is the caller name (that is, the internal extension number description initiating the call) and snumber_no is its seven digit telephone ID.
- Inside the response, expect to receive one of the following statuses. 'noanswer', 'cancel', 'answer', 'congestion', 'busy'.
The dnumber ID can be made up of either text or a number
Sample of an incoming Call. Note that, in this example, the call was not delivered to the phone directly, but through a Hunt Group.
|Sample Response |
Sample of an Outgoing Call