
XML API for Tiptel.com SIP Phones 31xx
XML file example 2: user defined soft keys and hard keys
Used XML objects
XML object
Position
Type
Description
TiptelIPPhoneTextSc
reen
Root tag
Mandatory Root element
Beep
Root tag
Optional
Set = "yes" to generate a notification beep by phone.
Default is "no"
Timeout
Root tag
Optional
If there are no operations from users after entering into
the view within the time, the phone will exit to the
standby interface. Default is 45 s
See section 3.14.1 for more details.
Page 19 / 50
<?
xml
version="1.0" encoding="UTF-8"?>
<
TiptelIPPhoneTextScreen
Beep
= "yes">
<
Title>
Title of screen</
Title>
<
Text>
Text of screen\nthis was a manually set newline</
Text>
<
SoftKey
index="3">
<
Label>
Custom key</
Label>
<
URI>
http://myserver2.de/get_it.php</
URI>
</SoftKey>
</
TiptelIPPhoneTextScreen
>
<?
xml
version="1.0" encoding="UTF-8"?>
<
TiptelIPPhoneTextScreen
Beep
= "yes">
<
Title>
Title of screen</
Title>
<
Text>
Press 0..9 to search name in all phone books.</
Text>
<
SoftKey
name="0">
<
URI>
http://myserver2.de/get_pb.php?key=0</
URI>
</SoftKey>
<SoftKey
name="9"
>
<
URI>
http://myserver2.de/get_pb.php?key=9</
URI>
</SoftKey>
<SoftKey
name="#"
>
<
URI>
http://myserver2.de/get_pb.php?key=B</
URI>
</SoftKey>
<
SoftKey
name="*">
<
URI>
http://myserver2.de/get_pb.php?key=A</
URI>
</SoftKey>
<
SoftKey
index="1">
<
Label>
Custom key 1</
Label>
<
URI>
http://myserver2.de/get_it.php?opt=1</
URI>
</SoftKey>
<
SoftKey
index="2">
<
Label>
Custom key 2</
Label>
<
URI>
http://myserver2.de/get_it.php?opt=2</
URI>
</SoftKey>
</
TiptelIPPhoneTextScreen
>