'Call Answered' Report
The PBX will send a report to the application server when the calling party's call is answered. Answering call (the called party) and call answered (the calling party) coexist. In the report, the calling party's number will appear first.
Report Parameters
Name | Type | Description |
---|---|---|
action |
String | Call is answered. |
callid |
String | A unique identifier of the call. |
ext |
String | Extension object. |
extid |
String | The extension number . |
outbound
|
String | Object parameter. |
inboundid
|
String | The inbound ID/ outbound ID. |
from |
String | The caller number. |
to |
String | The callee number. |
trunk |
String | The name of the trunk that has been used. |
sn |
String | The PBX's serial number. |
Report Examples
Extension 1005 calls to Extension 1006; Extension 1006 answers the call.POST / HTTP/1.1 User-Agent: WebAPI Host: api.yeastarcloud.com Content-Type: application/json Accept: application/json { "action": "ANSWERED", "callid": "1547375031.65", "call": [ { "ext": { "extid": "1005" } }, { "ext": { "extid": "1006" } } ], "sn": "369362089179" }
POST / HTTP/1.1 User-Agent: WebAPI Host: api.yeastarcloud.com Content-Type: application/json Accept: application/json { "action": "ANSWERED", "callid": "1547375707.75", "call": [ { "ext": { "extid": "1005" } }, { "outbound": { "from": "1005", "to": "172838344", "trunk": "SPS-6-36", "outboundid": "1547375707.76" } } ], "sn": "369362089179" }