Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Removed
How to Use XML Browser
on Htek IP Phones
Version 2.0.4.4.41
Apr. 2018
Note:
About XML Browser, Htek IP Phone supports TextMenu, TextScreen, Directory, Status, Execute, FormattedTextScreen , InputScreen , ImageScreen and Configuration. If you have any questions when test this part, please feedback to us.
Fistly, build a HTTP server.
For example:
HTTP Server, Port:80
Host address:192.168.0.106
Before you test, you need to modify the URL in the TextMenu.xml(e.g: <URI> http://192.168.0.106/xml_browser/Directory.xml </URI>) ,
and in the ImageScreen.xml
( <Image horizontalAlign="middle" verticalAlign="bottom" > http://192.168.0.106/xml_browser/APDirIcon.png</Image>)
Test steps:
Step 1: Put the .xml files into upgrade directory: D:\xampp\htdocs\xml_browser
Image Modified
Step 2: Login the IP Phone's webpage: Function Keys->Line key, select the Type: XML Browser; Value: http://192.168.0.106/xml_browser/TextMenu.xml ->Click "SaveSet" button:
Image Modified
Step 3: Hitting the Line key 4 on the Phone, you can see the following content:
Image Modified
Step 4: Choose the TextScreen column by hitting up/down arrow, then hitting the Select button.
Image Modified
Step 5: Hit the Exit button to return to the previous interface.
Step 6: Choose the Directory column by hitting up/down arrow, then hitting the Select button.
Image Modified
Hitting the Next button can choose the contact.
Hitting the Previous button can choose the previous contact.
Hitting the Dial can dial out.
Step 7: Hitting the Exit button can return to the previous interface

Anchor
OLE_LINK1
OLE_LINK1
Anchor
OLE_LINK2
OLE_LINK2
Step 8: Choose the Status column by hitting up/down arrow, then hitting the Select button.
Image Modified
Step 9: Hit the Line key 4 to enter the TextMenu interface
Step 10: Choose the Execute column by hitting up/down arrow, then hitting the Select button, then the Phone will execute the command <ExecuteItem URI="Dial:860"/> in the Execute.xml
Image Modified
Image Modified
anchor
OLE_LINK3OLE_LINK3 AnchorOLE_LINK4OLE_LINK4Step 11: Choose the FormattedTextScreen column by hitting up/down arrow, then hitting the Select button:
Image Modified
AnchorOLE_LINK5OLE_LINK5
AnchorOLE_LINK6OLE_LINK6Step 12: Choosing the ImageScreen column by hitting up/down arrow, then hitting the Select button, the image(support the .jpg/.png/.bmp) will show on the LCD:
Image Modified
Step 13: Choose the InputScreen column by hitting up/down arrow, then hitting the Select button:
The InputScreen.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<InputScreen
type="string"
Beep="yes"
Password="no"
Timeout="0"
inputLanguage="English"
displayMode = "normal"
defaultIndex="2" >
<Title wrap="yes">Input Info</Title>
<URL>http://192.168.0.106/xml_browser/Directory.xml</URL>
<InputField type="number" password="no" editable="no">
<Prompt>User ID:</Prompt>
<Parameter>userid</Parameter>
<Selection>1QQQQ</Selection>
<Default>21501</Default>
</InputField>
<InputField type="IP" password="no" editable="yes">
<Prompt>IP Address:</Prompt>
<Parameter>IP</Parameter>
<Selection>2</Selection>
<Default>192.168.0.138</Default>
</InputField>
<InputField type="string" password="no" editable="yes">
<Prompt>Name:</Prompt>
<Parameter>user</Parameter>
<Selection>5QQQQ</Selection>
<Default>jxz</Default>
</InputField>
<InputField type="string" password="yes" editable="no">
<Prompt>password:</Prompt>
<Parameter>passwd</Parameter>
<Selection>4</Selection>
<Default>123456</Default>
</InputField>
</InputScreen>
Then you can see the content input on the Screen:
Image Modified
You can edit the IP Address, Name, password information.
AnchorOLE_LINK38OLE_LINK38 AnchorOLE_LINK39OLE_LINK39
Step 14: Choose the Configuration column by hitting up/down arrow, then hitting the Select button:
Image Modified
The Configuration.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Configuration
Beep="yes" >
<P271 para="Account1.Active">1</P271>
<P47 para="Account1.Sipserver">192.168.0.9</P47>
<P20000 para="Account1.Lable">531</P20000>
<P35 para="Account1.SipUserId">531</P35>
<P36 para="Account1.AuthenticateID">531</P36>
<P34 para="Account1.AuthenticatePassword">test11</P34>
<P3 para="Account1.DispalyName">531</P3>
<!--
<P41203 para="LineKey4.Type">3</P41203>
<P41303 para="LineKey4.Value"></P41303>
<P41403 para="LineKey4.Label"></P41403>
<P41503 para="LineKey4.Account"></P41503>
<P41603 para="LineKey4.PickupCode"></P41603>
<P42200 para="MemoryKey1.Type">5</P42200>
<P42300 para="MemoryKey1.Value"></P42300>
<P42400 para="MemoryKey1.Account"></P42400>
<P42500 para="MemoryKey1.PickupCode"></P42500>
-->
</Configuration>
Then you can see the Line 1 is registered as another account:
Image Modified
Step 15: Choose the ImageMenu column by hitting up/down arrow, then hitting the Select button:
The ImageMenu.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<ImageMenu Beep="yes" Timeout="120" mode="regular">
<Image
verticalAlign="top" horizontalAlign="left">http://192.168.0.106/xml_browser/ImageMenu.jpg</Image>
<URIList base="http://192.168.0.106/xml_browser/">
<URI key="#">http://192.168.0.106/xml_browser/TextMenu.xml</URI>
<URI key="0">Directory.xml</URI>
<URI key="1">http://192.168.0.106/xml_browser/InputScreen.xml</URI>
</URIList>
</ImageMenu>
Image Modified
Press # ,then enter the TextMenu column
Press 0 ,then enter the Directory
Press 1 ,then enter the InputScreen
You can custom the <URI key="custom"> you want.