The PbxSignal protocol is available on AppWebsocket connections to innovaphone PBX objects, if the object is enabled for the PbxSignal api. It allows an application to register to the PBX the same way as this is possible with H.323 or SIP.
{
"api": "PbxSignal",
"src": string,
"mt": string,
}
{
"api": "PbxSignal",
"mt": "Register",
"src": string,
"hw": string,
"flags": string
}
This message initiates the registration to a device
NO_MEDIA_CALL | If this flag is set, this registration does not receive any calls with a media channel. This is useful if only operation, without a media channel are intended, as subscriptions or instant messaging |
{
"api": "PbxSignal",
"mt": "RegisterResult",
"src": string,
"err": string,
"stun": string,
"turn": string,
"turnUsr": string,
"turnPwd": string
"prefixIntl":string,
"prefixNtl":string,
"prefixSubs":string,
"area":string,
"country":string,
"maxIntern":integer,
"tones":integer
}
Result of the Register operation. If err is not present, the operation succeeded.
{
"api": "PbxSignal",
"mt": "UnRegister",
"src": string,
"hw": string
}
This message removes the registration to a device
{
"api": "PbxSignal",
"mt": "Signaling",
"call": integer,
"sig": Signal
}
This message is used to transfer Signaling messages coded according to the innovaphone Json signaling protocol.
For the signaling messages the standard innovaphone Json Signaling objects are used