Table 23: Action URL – Supported Dynamic Variables
After the user finishes setting the Action URL on the phone’s web UI, when the specific phone event occurs on the phone, the
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: 172.18.24.103/mac=$mac&local=$local
Outgoing Call: 172.18.24.103/remote=$remote&phone_ip=$phone_ip
On hold: 172.18.24.103/program_version=$program_version
During an incoming call, outgoing call, and call hold, capture the trace on the phone and exam the packets. We can see the
phone sends an Action URL with actual values to the SIP server to notify phone events. In the following screenshot, from top
to bottom, the phone events for each HTTP message are Incoming Call, Outgoing Call, and On Hold in the format of the
defined action URL with the parameters replaced with actual values.
Figure 9: Action URL Packet
The P values listed in the table below are for the options under phone web UI🡪Settings🡪Outbound Notification🡪Action URL.
$display_remote The display name of the call number on the remote phone
$active_user The account number during a call on the phone