Specifications
PA-001011-03-04 Aastra July 2014
201
5 URL Format and Variables
5.1 URL format
To access to an XML application the phone performs a HTTP (or HTTPS) GET on a URL. The
supported syntax is:
http://host[:port]/dir/file
or
https://host[:port]/dir/file
where:
host is the hostname or IP address of the Web server supporting the XML application
port is the port number the phones is using for the HTTP request.
Note: If the port is not specified, the phone uses port 80.
The phone also supports the following URLs:
Dial: XXXXX to have the phone dial XXXXX
DialLine:X:YYYYY to have the phone dial YYYYY (phone number or URI) using SIP line
X see chapter 4.7 for more details on this feature..
Led:XXXXX=on/off/slowflash/fastflash to change the status the LED associated
to the XXXXX key if the key is configured as an XML key. See chapter 4.2 for more details
on the LED control.
Key:XXXXX to simulate a keypress on the phone. See chapter 4.5 for more details on
keypress emulation.
5.2 URL Variables
The phones support system variables in the HTTP URL to pass dynamic data to the XML
applications.
The variables are in the form $$VARIABLENAME$$ and the following variables are supported:
Variable Name
Value
SIPUSERNAME
Active line user name
DISPLAYNAME
Active line display name
SIPAUTHNAME
Active line SIP authentication name
PROXYURL
Active line SIP proxy
ACTIVEPROXY
Active line active SIP proxy
INCOMINGNAME
Caller-ID name of the current incoming call
REMOTENUMBER
Remote party phone number (incoming or outgoing)
LOCALIP
Phone local IP address
CALLDURATION
Duration of the current call in seconds