‘Call Failure’ Report
Note: As long as the called party is not connected, it is defined as call failure, and the voice message is transferred to it as connected. Whether it is an API-controlled call or a manually dialed call, this event will be triggered as long as the call fails.
Report Parameters
Name | Type | Description |
action | String | Call failed. |
reason | String | Call failure reason.
|
callid | String | A unique identifier of the call. |
ext | String | extension object. |
extid | String | The extension number. |
inboundid
outboundid |
String | The inbound ID / outbound ID. |
outbound
inbound |
String | Object parameter. |
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
POST HTTP/1.1
Host:172.16.6.150
Content-Length:113
Accept: application/json
Content-Type:application/json
Connection:close
{
"action":"CallFailed",
"reason":480,
"callid":"1589958470.2092",
"ext":{
"extid":[
"102",
"106"
]
},
"sn":"a09805021987"
}