Xml softkey uri, Example – AASTRA 6700i series, 9143, 9480i, 9480i CT SIP Administrator Guide EN User Manual

Page 603

Advertising
background image

5-326

41-001343-01 Rev 03, Release 3.2.2

XML Softkey URI

In addition to specifying variables for the Action URIs, you can also specify variables in the

XML softkey URIs that are bound when the key is pressed. These variables are the same as

those used in the Action URIs.

When an administrator enters an XML softkey URI either via the Aastra Web UI or the

configuration files, they can specify the following variables:
• $$SIPUSERNAME$$
• $$SIPAUTHNAME$$
• $$PROXYURL$$
• $$LINESTATE$$
• $$LOCALIP$$
• $$REMOTENUMBER$$
• $$DISPLAYNAME$$
• $$SIPUSERNAME$$
• $$INCOMINGNAME$$
• $$CALLDURATION$$
• $$CALLDIRECTION$$

When the softkey is pressed, if the phone finds a URI configured with variables (in the form

$$VARIABLENAME$$), they are replaced with the value of the appropriate variable. After all

of the variables are bound, the softkey executes a GET on the URI.
Example

For example, if the administrator specifies an XML softkey with the value:

http://10.50.10.140/script.pl?name=$$SIPUSERNAME$$

This softkey executes a GET on:

http://10.50.10.140/script.pl?name=42512

assuming that the sip username of the specific line is 42512.
You can configure the XML softkey URI variables via the configuration files or the Aastra Web

UI.

Note:

For a description of each variable in the above list, see

“Variable Descriptions”

on

page 5-310

.

Advertising