[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T46G Directory issues
Author Message
dwoods Offline
Junior Member
**

Posts: 15
Joined: Dec 2013
Reputation: 0
Post: #1
T46G Directory issues
I am in the process of moving the company from an old digital PBX to an Asterisk base FreePBX system. We are currently evaluating phones. We like the Yealink phones, but are having directory issues.

I was unable to find a definitive doc on the XML directory file, so created a few entries in the phone (a T46G with 180 firmware), exported it and created a directory based upon that exported file. I placed the created directory on our internal web server, pointed the phones at it. They seem to download the file, but the information either doesn't show up at all, or sporadically does.

For awhile it seemed that if I put an entry into the phone, it would pull the full directory from the server, but even that is inconsistent.

I turned on syslog and it seems that the phone thinks that the file is the same as what it has so never redownloads etc. Which is fine, except it displays an empty directory. Even if I add or delete entries from it, the syslog showed that it downloaded it because it was different, but again, it is never displayed.

This is an example of the xml structure:
<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Branch 134" ring="" />
<group display_name="Company" ring="" />
<group display_name="Family" ring="" />
<group display_name="Friend" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>

<root_contact>
<contact display_name="Darrin Woods" office_number="510" mobile_number="" other_number="" line="-1" ring="Auto" group_id_name="Company" default_photo="/phone/resource/default/default_contact_image.png" is_favorate="0" />
</root_contact>

I need the phones to consistently pull the file and display it.

On a side note, we are also evaluating the T32G and have not had the same issue. But don't get me started that the two phones use completely different formatted XML files for their directories.

Can anyone help me to figure out why the T46G won't consistently display the directory information it's downloading?
12-27-2013 01:27 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #2
RE: T46G Directory issues
Hi dwoods,

1.Sorry. Our T4X have different formatted XML files.
We have a phonebook generation tool which can creats a local xml phonebook or remote phonebook for version 71(T4X and T2X).
http://www.yealink.com/Upload/T4X/GA/Yea...952205.zip

2. You also make mistakes in your xml file.
Below is the right syntax. The syntax line="0" means for account 1.
-------------------------------
<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Branch 134" ring="" />
<group display_name="Company" ring="" />
<group display_name="Family" ring="" />
<group display_name="Friend" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>
<root_contact>
<contact display_name="Darrin Woods" office_number="510" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" default_photo="Defult:default_contact_image.png" />
</root_contact>
----------------------------------
Can you kindly test again?
12-27-2013 10:53 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dwoods Offline
Junior Member
**

Posts: 15
Joined: Dec 2013
Reputation: 0
Post: #3
RE: T46G Directory issues
I have made the change you suggested:

<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Branch 134" ring="" />
<group display_name="Company" ring="" />
<group display_name="Family" ring="" />
<group display_name="Friend" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>

<root_contact>
<contact display_name="Darrin Woods" office_number="510" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" default_photo="/phone/resource/default/default_contact_image.png" is_favorate="0" />
<contact display_name="Aaron Forrister" office_number="517" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" default_photo="/phone/resource/default/default_contact_image.png" is_favorate="0" />
</root_contact>

I then reset the phone to factory defaults, put the ip address of our pbx in the auto provision and let the phone do it's thing. The phone rebooted but did not show the directory. The directory is blank.

The log files from the web server where the directory is stored show that the phone successfully downloaded the file three times:

207.114.243.226 - - [30/Dec/2013:09:20:25 -0600] "GET /directory.xml HTTP/1.1" 200 6564 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"
207.114.243.226 - - [30/Dec/2013:09:24:34 -0600] "GET /directory.xml HTTP/1.1" 200 6564 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"
207.114.243.226 - - [30/Dec/2013:09:26:17 -0600] "GET /directory.xml HTTP/1.1" 200 6564 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"

We have to make a final decision on phone vendor soon so I need this fixed before we place the order.
12-30-2013 11:52 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dwoods Offline
Junior Member
**

Posts: 15
Joined: Dec 2013
Reputation: 0
Post: #4
RE: T46G Directory issues
As to the phonebook generation tool....

I don't use a windows PC. I gave the file to someone that does and is also an excel expert and they were unable to get it to work, They told me that it appeared that the macro was missing. I have seen other posts from people here on the forum that the spreadsheet is incredibly particular as to the environment it runs on and what it has write access to and the user that it must run under.
12-31-2013 02:03 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #5
RE: T46G Directory issues
(12-30-2013 11:52 PM)dwoods Wrote:  I have made the change you suggested:

<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Branch 134" ring="" />
<group display_name="Company" ring="" />
<group display_name="Family" ring="" />
<group display_name="Friend" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>

<root_contact>
<contact display_name="Darrin Woods" office_number="510" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" default_photo="/phone/resource/default/default_contact_image.png" is_favorate="0" />
<contact display_name="Aaron Forrister" office_number="517" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" default_photo="/phone/resource/default/default_contact_image.png" is_favorate="0" />
</root_contact>

I then reset the phone to factory defaults, put the ip address of our pbx in the auto provision and let the phone do it's thing. The phone rebooted but did not show the directory. The directory is blank.

The log files from the web server where the directory is stored show that the phone successfully downloaded the file three times:

207.114.243.226 - - [30/Dec/2013:09:20:25 -0600] "GET /directory.xml HTTP/1.1" 200 6564 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"
207.114.243.226 - - [30/Dec/2013:09:24:34 -0600] "GET /directory.xml HTTP/1.1" 200 6564 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"
207.114.243.226 - - [30/Dec/2013:09:26:17 -0600] "GET /directory.xml HTTP/1.1" 200 6564 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"

We have to make a final decision on phone vendor soon so I need this fixed before we place the order.
Hi

Please name this file as "contact.xml". And your xml file format is wrong though you just export it from T46G.
You need to use a new format as my below syntax.

---------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Branch 134" ring="" />
<group display_name="Company" ring="" />
<group display_name="Family" ring="" />
<group display_name="Friend" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>
<root_contact>
<contact display_name="Darrin Woods" office_number="510" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" default_photo="Defult:default_contact_image.png" />
</root_contact>
----------------------------------

This is no default_photo="/phone/resource/default/default_contact_image.png" is_favorate="0" /> in my syntax.
Please kindly test.
(This post was last modified: 12-31-2013 09:57 AM by Yealink Support.)
12-31-2013 09:56 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dwoods Offline
Junior Member
**

Posts: 15
Joined: Dec 2013
Reputation: 0
Post: #6
RE: T46G Directory issues
The directory file has been renamed and is being read:

207.114.243.226 - - [31/Dec/2013:09:20:33 -0600] "GET /contact.xml HTTP/1.1" 200 4268 "-" "Yealink SIP-T46G 28.71.0.180 00:15:65:50:55:61"

This is what the file looks like:


<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Branch 134" ring="" />
<group display_name="Company" ring="" />
<group display_name="Family" ring="" />
<group display_name="Friend" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>

<root_contact>
<contact display_name="Darrin Woods" office_number="510" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" />
<contact display_name="Aaron Forrister" office_number="517" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="Company" />
</root_contact>

There are actually a lot more entries, but I've just showing the first two as all the others are the same except different 'office_number'.

We rebooted one T46G and it loaded the directory. The other test phone had the directory. I reset it to factory defaults, but when it rebooted it had no directory. I performed a normal reboot and still no directory. I will reply as soon as I am able to try with the first phone (the one that did load the directory). I'm going to reset it to factory and see if it still loads the directory.
12-31-2013 11:28 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dwoods Offline
Junior Member
**

Posts: 15
Joined: Dec 2013
Reputation: 0
Post: #7
RE: T46G Directory issues
We have reset both units to factory defaults as well as rebooted them, and neither are displaying the directory that it is downloading.
01-01-2014 01:02 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #8
RE: T46G Directory issues
Hi dwoods,

Please follow my below steps:
1. Edit your contact.xml.(Your xml is correct.)
2. Upload the xml to your auto-provisioning server. For example: http://10.2.91.240:8080/contact.xml
3. Then edit the y000000000028.cfg file as my below step.
------------------------------------------------------------
#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##

local_contact.data.url = http://10.2.91.240:8080/contact.xml
------------------------------------------------------------
4. Then upload y000000000028.cfg to your auto-provisioning server.
5. Then do a auto-provisioning through webpage.
01-02-2014 02:04 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dwoods Offline
Junior Member
**

Posts: 15
Joined: Dec 2013
Reputation: 0
Post: #9
RE: T46G Directory issues
I added the following line to the ...28.cfg file (I also deleted it from the MAC.cfg file where it was located):

local_contact.data.url = http://208.81.243.50/contact.xml

The server does not listen on port 8080 so I removed that part. The phone is downloading the file as you can see here:

207.114.243.226 - - [02/Jan/2014:07:47:18 -0600] "GET /contact.xml HTTP/1.1" 200 4358 "-" "Yealink SIP-T46G 28.71.0.197 00:15:65:50:59:33"

I performed the autoprovision from the browser by going to 'Settings' --> 'Auto Provision' and clicking 'Auto Provision Now'

I then reset the unit to factory defaults by holding the 'OK' button. After inputing the ip address of the server into 'Menu' --> 'Advanced' --> '6. Auto Provision'. The unit did pull the directory this time successfully. I am attempting to do the same with our other test T46G.
01-02-2014 10:16 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  LDAP directory during call transfers aciacci 0 544 06-20-2024 11:19 PM
Last Post: aciacci
  T57W - Using the Phone Directory bill@wesimplifyit.com 0 1,735 04-14-2023 12:41 AM
Last Post: bill@wesimplifyit.com
  Directory DSS Key Target Change nolto 1 6,270 01-14-2022 07:05 PM
Last Post: nolto
  Are there config parameters for the Directory Settings? xbow 4 14,257 08-20-2020 08:14 AM
Last Post: xbow
  LDAP Directory Configuration Issue it_prevent 1 7,515 05-15-2019 05:55 AM
Last Post: Mike_Yealink
  Change standard outgoing line on T46G oestersund 1 7,348 12-15-2018 09:58 PM
Last Post: support2
  Network Directory gives Connection Error TelNet Worldwide_Support 1 7,487 09-15-2017 02:59 AM
Last Post: Lucia_Yealink
Bug T46g & T48G RADIUS 802.1x and SHA256 Bigmac 22 63,108 08-13-2017 07:54 PM
Last Post: MiKeDaDoC
  Search in Directory (LDAP/XML) Patrick77 2 10,404 06-20-2017 01:11 PM
Last Post: Patrick77
  LDAP directory display name Cloud Communications 2 9,755 04-07-2017 07:44 AM
Last Post: Travis_Yealink

Forum Jump:


User(s) browsing this thread:

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication