'Inbound Call Request' Report

If the trunk's API has Control Inbound Call Answering enabled, then whenever there's a call to this trunk, the PBX will send an INVITE event to the application server.

Report Parameters

Name Type Description
action String Inbound call request.
callid String A unique identifier of the call.
from String The caller number.
to String The callee number.
trunk String The trunk name.
outbound

inbound

String Object parameter.
inboundid

outboundid

String The inbound ID / outbound ID.
sn String The PBX's serial number.

Report Examples

External number 1929383883 calls to Extension 1005.

POST / HTTP/1.1
User-Agent: WebAPI
Host: api.yeastarcloud.com
Content-Type: application/json
Accept: application/json

{
    "action": "Invite",
    "callid": "1547389566.275",
    "call": [
        {
            "inbound": {
                "from": "1929383883",
                "to": "1005",
                "trunk": "SPS-6-36",
                "inboundid": "1547389566.275"
            }
        }
    ],
    "sn": "369362089179"
}