Yealink Forums
Problem loading directory via xml service on T21P - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+---- Forum: T2xP Series (/forumdisplay.php?fid=21)
+---- Thread: Problem loading directory via xml service on T21P (/showthread.php?tid=4231)



Problem loading directory via xml service on T21P - pgonzalez.softnet - 08-08-2015 03:28 AM

Dear all!
I'm writing a service to feed the remote directory. I'm following the steps found in the Yealink IP Phones XML Browser Developer's guide V72.1, but whe i see the remote directory on my phone it appears blank.
My firmware version is: 34.72.0.75

An example of my XML:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneDirectory>
    <Title>SOFTNET</Title>
    <MenuItem>
        <Prompt>Jhon</Prompt>
        <URI>101</URI>
    </MenuItem>
    <MenuItem>
        <Prompt>Jane</Prompt>
        <URI>102</URI>
    </MenuItem>
</YealinkIPPhoneDirectory>

Thanks!


RE: Problem loading directory via xml service on T21P - Yealink_Michael - 08-08-2015 05:28 AM

(08-08-2015 03:28 AM)pgonzalez.softnet Wrote:  Dear all!
I'm writing a service to feed the remote directory. I'm following the steps found in the Yealink IP Phones XML Browser Developer's guide V72.1, but whe i see the remote directory on my phone it appears blank.
My firmware version is: 34.72.0.75

An example of my XML:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneDirectory>
    <Title>SOFTNET</Title>
    <MenuItem>
        <Prompt>Jhon</Prompt>
        <URI>101</URI>
    </MenuItem>
    <MenuItem>
        <Prompt>Jane</Prompt>
        <URI>102</URI>
    </MenuItem>
</YealinkIPPhoneDirectory>

Thanks!


hi

thanks for your information

but for the xml phone book ,the format you use is incorrect, please refer to the FAQ of Yealink Phone book , and attached is the template file for xml phone book


RE: Problem loading directory via xml service on T21P - pgonzalez.softnet - 08-10-2015 09:40 PM

Thank you Yealink_Michael! I managed to get the remote phone book working! For future references the final XML used was found in this guide

Example XML:

Code:
<YealinkIPPhoneDirectory>
    <DirectoryEntry>
        <Name>Test1</Name>
        <Telephone>23000</Telephone>
    </DirectoryEntry>
    <DirectoryEntry>
        <Name>Test2</Name>
        <Telephone>303</Telephone>
        <Telephone>915980830849</Telephone>
    </DirectoryEntry>
    <DirectoryEntry>
        <Name>Test3</Name>
        <Telephone>6650</Telephone>
        <Telephone>915980830849</Telephone>
    </DirectoryEntry>
</YealinkIPPhoneDirectory>

Greetings