XML API for Tiptel.com SIP Phones 31xx
tftp://xxxx/yyy/file.xml
ftp://xxxx/yyy/file.xml
http://xxxx/yyy/file.cgi?querykey=queryvar
https://xxxx/yyy/file.php?querykey=queryvar
sip:xxxx
tel:xxxx
Please note that http URIs with query parameters in XML files must be written in escape encoding
(e.g. & → &).
2.4.1
URL variables
Any external URL may contain runtime variables. This variables will be dynamically replaced by the phone with
the valid values at runtime shortly before download the resource.
Variable
Description
{mac}
MAC address of the phone
{ip}
Current IP address of the phone
{model}
The phone model
{firmware}
The firmware version of the phone
{local}
or
{active_url}
The SIP URI of the default local identity or of the active outgoing identity
{display_local}
The display name of the default local identity or of the active outgoing identity
{active_user}
The user part of the SIP URI of the default local identity or of the active outgoing call identity
{active_host}
The host part of the SIP URI of the default local identity or of the active outgoing identity
{active_key}
The function key, line key or SoftKey associated with the URL directive or the call. For coding syntax see the
coding of internal URL Key:
{remote}
The SIP URI of the remote identity
(only in context of PBX sync URL)
{display_remote}
The display name of the remote identity
(only in context of PBX sync URL)
{call_id}
The call-id of the active call
(only in context of PBX sync URL)
{duration}
The call duration in seconds
(only in context of PBX sync URL)
{callDirection}
Indication of the call as sender or recipient
(only in context of PBX sync URL)
{filter}
Search filter of remote XML phonebook
Example: http://pbx.ip/php/phonebook/book.php?book=tpb.xml&name={filter}
{search_key}
The pressed Key ititated URL query as alphanumeric or URL-escaped code.
Example: http://pbx.ip/php/phonebook/book.php?book=tpb.xml&key={search_key}
The variables must be enclosed in curly braces. For historical compatibility instead of braces is allowed to use the
dollar sign ( $ ) to mark the the start of variable.
Example:
Page 7 / 50
http://192.168.20.1/cgi-bin/onnewcall.php?from={remote}&to={local}
http://192.168.20.1/cgi-bin/onregister.php?addr=$ip