Brekeke PBX Wiki

notify_status

notify_status

 

Description:

Information about call status.

 

Parameters:

user – user extension
status – call 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
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
disconnected_by – 1 or 0, used only in the disconnected call response with status -1. “1” means the call is disconnected by the callee and “0” means the call is disconnected by the caller.
q850code – q850 code, used only in the disconnected call response with status -1

 

Call 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