ConfigChange

The PBX will send a report to the application server when the PBX's configuration changes.

Note:
  • The PBX supports to send reports of configurations change on extensions and trunks.
  • The PBX will not send the detailed changes.

Report parameters

Parameter Type Description
event String Event type.
type String The feature whose configuration are changed.
  • extension
  • trunk
extid Integer Number of extension whose configurations are changed.
trunkname String Name of the trunk whose configurations are changed.
operation String The operation that is executed.
  • add: The extension or trunk is added.
  • del: The extension or trunk is deleted.
  • update: The extension or trunk is updated.
sn String The PBX's serial number.

Report example

POST / HTTP/1.1
Host: 192.168.5.150: 8260
Accept: application/json
User-Agent: WebAPI
Content-Type: application/json

{
	"event": "ConfigChange",
	"type": "extension",
	"extid": "1000",
	"operation": "update",
	"sn": "369451090405"
}