CallFailed
If failed to initiate a call, the PBX will send a CallFailed report to the application server.
Note: Calls initiated by the API or placed on the IP phone will both be reported.
CallFailed report excludes calls that are routed to voicemail.
Report parameters
Parameter | Type | Description |
---|---|---|
callid | String | The unique ID of each call. |
event | String | Event type. |
reason | String | Call failure reason.
|
members | Array <MemberType> | A list of information for different types of members during a call. |
sn | String | The PBX's serial number. |
- MemberType
-
Parameter Type Description ext Object <ExtensionInfo> Extension information. - ExtensionInfo
-
Parameter Type Description number String The extension number. channelid String The call channel ID of each member during the call.
Report example
POST / HTTP/1.1 Host: 192.168.5.150: 8260 Accept: application/json User-Agent: WebAPI Content-Type: application/json Accept: application/json { "callid": "1573097568.15", "event": "CallFailed", "reason": "NO Outbound Restriction", "members": [ { "ext": { "number": "1023", "channelid": "PJSIP/1023-0000000a" } } ], "sn": "369451090405" }