(30006) Organization Configuration Changed

When the organization configuration is changed, the PBX will send a event report to the third-party application.

Report parameters

Parameter Type Description
type Integer Event ID.
sn String PBX's serial number.
msg Object<Org_Config> The detailed information of the changed organization configurations.
Org_Config
Parameter Type Description
id_list Array<Integer> The ID list of the organizations that have been changed.
action String The change information.
  • create: A new organization has been created.
  • update: The organization has been edited.
  • delete: The organization is deleted.
  • update_order: The order of the organization has been changed.
  • update_extension: The extensions in the organization have been changed.
sn String PBX's serial number.

Report examples

An organization is created.

{
    "type": 30006,
    "sn": "3631A2124XXX",
    "msg": "{"id_list":[16],"action":"create","sn":"3631A2124XXX"}"
}
The order of the organization is moved up.
{
    "type": 30006,
    "sn": "3631A2124XXX",
    "msg": "{"id_list":[10],"action":"update_order","sn":"3631A2124XXX"}"
}

A new extension is added into the organization.

{
    "type": 30006,
    "sn": "3631A2124XXX",
    "msg": "{"id_list":[1,10],"action":"update_extension","sn":"3631A2124XXX"}"
}