'Call Answered' Report

The PBX will send a report to the application server when the caller's call is answered. Answering call (the callee) and call answered (the caller) coexist. In the report, the caller's number will appear first.

Report Parameters

Name

Type

Description

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 .

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

Extension 101 calls to Extension 106; Extension 106 answers the call.

POST HTTP/1.1 Host:172.16.6.150 Content-Length:96 Accept: application/json Content-Type:application/json Connection:close { "action":"ANSWER", "callid":"1589953310.1724", "ext":{ "extid":[ "101", "106" ] }, "sn":"a09805021987" }

Extension 106 calls to external number 103, and the external user 103 answers the call.

POST HTTP/1.1 Host:172.16.6.150 Content-Length:177 Accept: application/json Content-Type:application/json Connection:close { "action":"ANSWER", "callid":"1589953723.1760", "ext":{ "extid":"106" }, "outbound":{ "from":"106", "to":"103", "trunk":"to-18-16-2", "outboundid":"1589953722.1758" }, "sn":"a09805021987" }