If Control Inbound Call Accepting is enabled for the trunk on PBX web interface, PBX will send an Incoming report to the application server when an inbound call through the trunk is accepted.

Report parameters

Parameter Type Description
event String Event type.
callid String The unique ID of each call.
members Array <MemberType> A list of information for different types of members during a call.
sn String The PBX's serial number.
Parameter Type Description
inbound Object <InboundInfo> The information of inbound calls.
Parameter Type Description
from Integer The caller number.
to Integer The callee number.
trunkname String The name of the trunk that passes the inbound calls.
channelid String The call channel ID of each member during the call.

Report example

Host: 8260
Accept: application/json
User-Agent: WebAPI
Content-Type: application/json
Accept: application/json

	"event": "Incoming",
	"callid": "1571897079.3",
	"members": [
			"inbound": {
				"from": "2000",
				"to": "1023",
				"trunkname": "siptrunk",
				"channelid": "PJSIP/trunk-siptrunk-endpoint-00000002"
	"sn": "369451090405"