Yealink Forums
Automatic way to merge multiple Contact.xml files - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: Automatic way to merge multiple Contact.xml files (/showthread.php?tid=2816)



Automatic way to merge multiple Contact.xml files - tsukraw - 11-20-2014 03:52 AM

Just throwing this out there.
Does anyone have a way or know a way to merge multiple xml contact lists together into one that could be scheduled task?

Reason for my question.
Have a location with multiple 3CX installs.
3CX auto generates a yealink_phonebook.xml for each location listing the extensions of that location.

Would like to take all those locations yealink_phonebook.xml merge them into a master_phonebook.xml and have the phones point to that for there phone list instead of separate phone books for each location.


RE: Automatic way to merge multiple Contact.xml files - James_Yealink - 11-20-2014 01:48 PM

HiTsukraw,

Phone can read a XML contact Menu with below format, can this meet your need?


*****************************************************************
<IPPhoneMenu>

<Title>Company</Title>

<MenuItem>
<Name>Group 1</Name>
<URL>http://10.2.5.112:8080/Department.xml</URL>
</MenuItem>

<MenuItem>
<Name>Group 2</Name>
<URL>http://10.1.3.61:8080/phonebook1.xml</URL>
</MenuItem>

</IPPhoneMenu>

******************************************************************

Regards,
James