(30008) Extension Call Status Changed
When the extension call status is changed, the PBX will send an event report to the third-party application.
Prerequisites
You have enabled the Call Status Monitor feature for the desired extensions. For more information, see Enable Yeastar P-Series PBX System API.
Report parameters
Parameter | Type | Description |
---|---|---|
type | Integer | Event ID. |
sn | String | PBX's serial number. |
msg | Object<Ext_CallStatus> | The change information of extension call status. |
- Ext_CallStatus
-
Table 2. Parameter Type Description extension String Extension number. status String The current call status of extension. Ringing
: The extension receives an incoming call and is in the ringing state.Busy
: The extension is placing a call or talking in a call.Idle
: The extension is in idle state.
Report examples
Extension 2002 is ringing.{
"type": 30008,
"sn": "3631A2124XXX",
"msg": "{"extension":"2002","status":"Ringing"}"
}