![TIPTEL 31xx series Скачать руководство пользователя страница 38](http://html1.mh-extra.com/html/tiptel/31xx-series/31xx-series_manual_1118777038.webp)
XML API for Tiptel.com SIP Phones 31xx
XML file example:
Used XML objects
XML object
Type
Description
TiptelIPPhoneDeviceInfo
mandatory
The root element
Firmware
mandatory
Firmware Version
Major.Minor.Revisioin
Vendor
mandatory
Vendor string “Tiptel” or OEM-String
Device
mandatory
Model string
MAC
mandatory
MAC Address
SipUser1
optional
SIP Account 1, user name
3.13
Sub objects for UI XML objects
3.13.1
Sub object "SoftKey" for XML UI objects
The SoftKey object can be used to override the default soft keys in some user interface (UI) XML objects:
➢
IPPhoneTextMenu (3.3)
➢
IPPhoneTextScreen (3.4)
➢
IPPhoneInputScreen (3.5)
➢
IPPhoneDirectory (Type A) (3.6)
It allows developers to link arbitrary URIs to keys in the XML screens and invoke soft key behavior native to each
XML screen type. The phone has two layers with four soft keys. The user can toggle the soft key layer with the
lowermost select key on the right side of the display if an arrow is shown right of the forth soft key..
Notes:
•
custom soft keys are only available for the UI XML objects.
•
if you use custom soft keys, the default soft keys of the XML object are not displayed anymore. This means
they have to be recreated as custom soft eys.
•
The texts/labels of internal soft keys change if the language of the user interface changes. Predefined
internal URIs are listed in 2.6.4 .
•
The soft key object is also used for custumizing a selection of hard keys. See section 3.13.2 for details.
XML file description:
Page 37 / 50
<?
xml
version="1.0" encoding="UTF-8"?>
<
TiptelIPPhoneDeviceInfo
>
<Firmware>2.0.0</Firmware>
<Vendor>Tiptel</Vendor>
<Device>t3130</Device>
<MAC>000CC4300087</MAC>
<SipUser1>201</SipUser1>
</
TiptelIPPhoneDeviceInfo
>