11-05-2013, 09:38 PM
Hello,
I am testing the new firmware 2.71.0.149 (3cx) and my local contact list was cleared as in thread: http://forum.yealink.com:81/forum/showth...p?tid=979.
But:
I am autoprovisioning the local contacts.
Yealink changed the XML format!
It imports the old format, but only the groups! The contacts aren't.
Old format (XML ok):
I exported a new local contact list through XML export, the XML is not an XML conform XML any more!
If I convert it manualy this works, but is is not na XML anymore! (no well formed root container)
This XML works on autoprovisioning (and IMPORT) but fails on any XML-parser i tried:
If I add manualy a dummy group so that the XML is conform, I get a invalid file at import.
Please help, CSV is not an option, I will not go back in time.
Best regards,
Boris.
I am testing the new firmware 2.71.0.149 (3cx) and my local contact list was cleared as in thread: http://forum.yealink.com:81/forum/showth...p?tid=979.
But:
I am autoprovisioning the local contacts.
Yealink changed the XML format!
It imports the old format, but only the groups! The contacts aren't.
Old format (XML ok):
Code:
<?xml version="1.0" encoding="utf-8"?>
<contactData>
<groupinfo>
<group name="EXTERN1" ring="Auto" />
<group name="SPECIAL" ring="Auto" />
</groupinfo>
<group sGroupName="" sGroupRing="">
<contact sOfficeNumber="12345" group="EXTERN1" sDisplayname="Test1" sMobilNumber="" sOtherNumber="" sLine="0" sRing="Auto" />
<contact sOfficeNumber="54321" group="SPECIAL" sDisplayname="Test2" sMobilNumber="" sOtherNumber="" sLine="0" sRing="Auto" />
</group>
<blacklist>
</blacklist>
</contactData>
I exported a new local contact list through XML export, the XML is not an XML conform XML any more!
If I convert it manualy this works, but is is not na XML anymore! (no well formed root container)
This XML works on autoprovisioning (and IMPORT) but fails on any XML-parser i tried:
Code:
<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="EXTERN1" ring="" />
<group display_name="SPECIAL" ring="" />
</root_group>
<root_contact>
<contact display_name="Test" office_number="12345" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="EXTERN1" />
<contact display_name="Test2" office_number="54321" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="SPECIAL" />
</root_contact>
If I add manualy a dummy group so that the XML is conform, I get a invalid file at import.
Please help, CSV is not an option, I will not go back in time.
Best regards,
Boris.