ConferenceStatus
When the number of participants changes, PBX will send a ConferenceStatus report to the application server. The ConferenceStatus includes the participants information in the conference.
Report parameters
Parameter | Type | Description |
---|---|---|
event | String | Event type. |
callid | String | The unique ID of each call. |
conferencenumber | Integer | The conference number. |
conferencename | Integer | The conference name. |
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. outbound Object <OutboundInfo> The information of outbound calls.
- ExtensionInfo
-
Parameter Type Description number String The extension number. channelid String The call channel ID of each member during the call. memberstatus String The participant status. - ANSWERED: The participant dials the conference number, and joins the conference call.
- ANSWER: The participant accepts the conference invitation, and joins the conference all.
callpath Integer The call path (conference number) that indicates how the call is established.
- OutboundInfo
-
Parameter Type Description from Integer The caller number. to Integer The callee number. trunkname String The name of the trunk that passes the outbound calls. channelid String The call channel ID of each member during the call. memberstatus String The participant status. - ANSWERED: The participant dials the conference number, and joins the conference call.
- ANSWER: The participant accepts the conference invitation, and joins the conference all.
callpath Integer The call path (conference number) that indicates how the call is established.
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 { "event": "ConferenceStatus", "callid": "1572313740.138", "conferencenumber": "6409", "conferencename": " 6409", "members": [ { "outbound": { "from": "6409", "to": "2100", "trunkname": "siptrunk", "channelid": "PJSIP/trunk-siptrunk-endpoint-0000001f", "memberstatus": "ANSWERED", "callpath":"6409" } }, { "ext": { "number": "1020", "channelid": "PJSIP/1020-0000001e", "memberstatus": "ANSWERED", "callpath":"6409" } }, { "ext": { "number": "2023", "channelid": "PJSIP/2023-0000001d", "memberstatus": "ANSWERED", "callpath":"6409" } } ], "sn": "369451090405" }