LinuxBox PBX API: PBX Notifications

Built: 2020-03-25 06:26:19

Event StartCall

Start call (usually for incoming call, the call has came from provider to PBX and starts to route)

Attributes:

caller_num – number of the caller

target_num – called number

call_ID – ID of call

cel_ID – ID of event

http://server/start_call?caller_num=591166223&target_num=591166200&call_id=1541078811.98&cel_id=28254912

Event QueueIn

Call has entered the queue

Attributes:

caller_num – number of the caller

dialed_num – called number

queue_name – queue name

call_ID – ID of call

cel_ID – ID of event

http://server/queue_in?caller_num=591166223&dialed_num=591166200&queue_name=helpdesk&call_id=1541078811.98&cel_id=28254912

Event QueueOut

Call has left the queue

Attributes:

queue_name – queue name

call_ID – ID of call

cel_ID – ID of event

http://server/queue_out?queue_name=helpdesk&call_id=1541078811.98&cel_id=28254912

Event StartIntDial

Start of the call ringtone on internal line

Attributes:

caller_num – number of the caller

dialed_num – called number

line_num – internal line number

line_name – internal line name

call_ID – ID of call

cel_ID – ID of event

http://server/start_int_dial?caller_num=591166223&dialed_num=591166200&line_num=101&line_name=martin%20test&call_id=1541078811.98&cel_id=28254912
            

Event StartExtDial

Start of the call ringtone on external line

Attributes:

caller_num – number of the caller

dialed_num – called number

line_num – internal line number

line_name – internal line name

call_ID – ID of call

cel_ID – ID of event

http://server/start_ext_dial?caller_num=591166223&dialed_num=591166200&line_num=101&line_name=martin%20test&call_id=1541078811.98&cel_id=28254912

Event AnsweredInternalCall

The call has been picked up by internal line

Attributes:

caller_num – number of the caller

dialed_num – called number

line_num – internal line number

line_name – internal line name

call_ID – ID of call

cel_ID – ID of event

http://server/answered_internal?caller_num=591166223&dialed_num=591166200&line_num=101&line_name=martin%20test&call_id=1541078811.98&cel_id=28254912

Event AnsweredExternalCall

The call has been picked up by remote side

Attributes:

caller_num – number of the caller

dialed_num – called number

line_num – internal line number

call_ID – ID of call

cel_ID – ID of event

http://server/answered_external?caller_num=591166223&dialed_num=591166200&line_num=101&call_id=1541078811.98&cel_id=28254912

Event Hangup

Hang-up of the call

Attributes:

line_num – internal line number

call_ID – ID of call

cel_ID – ID of event

http://server/hangup_internal?line_num=101&call_id=1541078811.98&cel_id=28254912

Event CallEnd

End of the call

Attributes:

call_ID – ID of call

cel_ID – ID of event

http://server/call_end?call_id=1541078811.98&cel_id=28254912