P a g e
|
56
GXP17xx Administration Guide
Terminated Call
Open DND
Close DND
Open Forward
Close Forward
Blind Transfer
Attended Transfer
Hold Call
UnHold Call
Table 12: Action URL – Supported Dynamic Variables
Supported Dynamic Variables
Dynamic Variable
Description
$phone_ip
The IP address of the phone.
$mac
The MAC address of the phone.
$product
The product name of the phone.
$program_version
The software version of the phone.
$hardware_version
The hardware version of the phone.
$language
The display language of the phone.
$local
The called number on the phone.
$display_local
The display name of the called number on the phone.
$remote
The call number on the remote phone.
$display_remote
The display name of the call number on the remote phone.
$active_user
The account number during a call on the phone.
After the user finishes setting Action URL on phone’s web UI, when the specific phone event occurs on the
phone, phone will send the Action URL to the specified SIP server. The dynamic variables in the Action URL
will be replaced by the actual values.
Here is an example:
Configure the following Action URL on the phone’s web UI->Settings->Outbound Notification->Action URL:
Incoming Call
:
192.168.5.250/mac=$mac&display_remote =$display_remote
Outgoing Call
:
192.168.5.250/remote=$remote&phone_ip=$phone_ip
On Hold
:
192.168.5.250/program_version=$program_version
During incoming call, outgoing call and call hold, capture the trace on the phone and check the packets.
We can see the phone send Action URL with actual values to SIP server to notify phone events. In the
following screenshot, from top to bottom, the phone events for each HTTP message are: Incoming Call,
hold call and Outgoing Call in the format of the defined action URL with the parameters replaced with actual
values.