Brekeke PBX Wiki

notify_status

notify_status

 

Description:

Information about call status.

 

Parameters:

user – user extension
status – status code
other_number – the extension of the other user in the call
room_id – room ID of the call, required by some request methods below as rid
talker_id – talker ID of the user, required by some request methods below as tid
phone_id – phone index number (version 3.16 or later)
user_display_name – the display name of the user
other_user_display_name – the display name of the other user in the call
time – the time stamp of the call
logid – the ID number, which is the same as the number in the request method
rescode – response code, used only in the disconnected call response with status -1
rec – recording file id (version 3.16 or later)
disconnected_by – 1 or 0, used only in the disconnected call response with status -1. “1” means the session is disconnected by the UA and “0” means the session is disconnected by PBX.
q850code – q850 code, used only in the disconnected call response with status -1

 

Status codes:

CALLING = 0
INCOMING = 1
CALL_SUCCESS = 2
ENDTALKING = 12
ANSWER_SUCCESS = 14
PARK_CANCEL = 21
PARK_START = 30
STARTRINGING = 65
HOLD = 35
UNHOLD = 36
DISCONNECT = -1

Yes No
Suggest Edit