![Grandstream Networks GRP261 Series Скачать руководство пользователя страница 82](http://html1.mh-extra.com/html/grandstream-networks/grp261-series/grp261-series_administration-manual_2255837082.webp)
Table 18: 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.
$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
P Value
Web UI Option
Value Format
P8304
Setup Completed
String
P8305
Registered