XML API for Tiptel.com SIP Phones 31xx
2.3 XML Format
The XML data must be well-formed according W3C XML 1.0 specifications. The XML header should be set at the
beginning of the XML document. Actually following header variants are supported:
<?xml version="1.0" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="ISO-8859-1" ?>
If the encoding parameter is missing the default encoding is UTF-8 according W3C XML 1.0 specifications.
All XML element names and attribute names are case sensitive.
Special characters must be escape encoded:
Character
Name
Escape sequence
&
Ampersand
&
"
Quote
"
'
Apostrophe
'
<
Left angle bracket
<
>
Right angle bracket
>
2.4 External URI formats
The generic syntax of en external URI is defined by RFC 3986. All external URIs must begin with a scheme name
(download protocol), followed by a colon character (":"). Valid URIs witch scheme names for external resources
and XML files are:
Page 6 / 50
NOTIFY sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=ad5jh4ut9dsnf3jtf;rport
From: <sip:[email protected]:5060>;tag=54dg7853c4
To: 3030 <sip:[email protected]:5060>
Contact: <sip:[email protected]>
Call-ID: 65835h8s46f2x429
CSeq: 20 NOTIFY
Event:
tiptel-xml
Content-Type:
application/xml
Content-Length: 140
<?
xml
version="1.0" encoding="UTF-8"?>
<
TiptelIPPhoneExecute
Beep
="yes">
<
ExecuteItem
URI
="Led:BACKLIGHT=on"/>
</
TiptelIPPhoneExecute
>