Yealink Forums
local contact with photos T46G - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T4x Series (/forumdisplay.php?fid=31)
+--- Thread: local contact with photos T46G (/showthread.php?tid=1302)

Pages: 1 2


local contact with photos T46G - ssanders - 02-22-2014 05:26 AM

I'm using firmware 28.72.0.1

I have got the auto provisioning to work with local contact, but I don't know what the .tar file should hold. Also what size should the pictures be?

In my y000000000028.cfg file I have this.

local_contact.data.url = http://pbx/yealink/contact.xml
local_contact.data_photo_tar.url = http://pbx/yealink/contact.tar

The contact.xml has this in it.

<?xml version="1.0" encoding="utf-8"?>
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="Company" ring="Ring1.wav" />
<group display_name="Family" ring="Ring2.wav" />
<group display_name="Friend" ring="Ring3.wav" />
<group display_name="Blacklist" ring="" />
</root_group>
<root_contact>
<contact display_name="name one" office_number="130" mobile_number="5555555555" other_number="5555555555" line="1" ring="" group_id_name="Company" default_photo="" />
<contact display_name="name two" office_number="122" mobile_number="5555555555" other_number="5555555555" line="1" ring="" group_id_name="Friend" default_photo="" />
</root_contact>

What should be in the contact.tar file?


RE: local contact with photos T46G - Yealink Support - 02-24-2014 09:55 AM

Hi ssanders,

Please refer to the auto provisioning guide of T4X.
Yealink_SIP-T4X_IP_Phones_Auto_Provisioning_Guide_V72


RE: local contact with photos T46G - ssanders - 02-24-2014 11:15 PM

(02-24-2014 09:55 AM)Yealink Support Wrote:  Hi ssanders,

Please refer to the auto provisioning guide of T4X.
Yealink_SIP-T4X_IP_Phones_Auto_Provisioning_Guide_V72

Ok I looked at that file and only found this. I tried adding my contact.xml file , but that didn't help. Any other suggestions?

####################################################
## Upload TAR file of local contact file and avatar TAR file ##
####################################################
# All avatars needed for contacts should be tarred in advance.
# (only applicable to SIP-T46G IP phones )
local_contact.data_photo_tar.url=
For example,enter “tftp://192.168.1.100/Contact.tar” in the
“local_contact.data_photo_tar.url=” field. During the auto provisioning process, the
phone connects to the provisioning server “192.168.1.100”, and downloads the contact
file “Contact.tar”


RE: local contact with photos T46G - Yealink Support - 02-25-2014 03:25 PM

Hi ssanders,

1. Please pack contact.xml and your custom pictures for avatar as contact.tar.
2. Then upload them to "local_contact.data_photo_tar.url="
You can refer to admin guide and search " local contact file".
Yealink_SIP-T4X_IP_Phone_Family_Administrator_Guide_V72


RE: local contact with photos T46G - nickpl - 05-10-2014 09:30 AM

Did you ever figure out how this works? I have been pulling my hair out for a week and can't figure out how these images work. I have read the very vague section in the manual about this many times and it doesn't help at all.

It would be very helpful if someone could post a sample tar file and a sample contacts.xml file that have been tested and are working.

Thanks!

-Nick


RE: local contact with photos T46G - nickpl - 05-13-2014 12:27 AM

FINALLY! I found this guide: http://www.evenflow.co.za/files/productpdf/yealink/T3X-How%20to%20Import%20Contacts%20and%20Photos-V1.0.pdf, written for the t38 but the steps seem to be the same.

Basically you have to take the all the pictures and tar them up into photo.tar. Then take photo.tar and ContactData.xml and tar those up into Contact.tar and then add only the line:
Code:
local_contact.data_photo_tar.url = tftp://10.10.10.1/Contact.tar
to the phone's config

Really Yealink? You couldn't have put that into the manual for this phone?


RE: local contact with photos T46G - Yealink Support - 05-13-2014 03:25 PM

Yes. This should be the same as T38G's. We will submit this request to document department.


RE: local contact with photos T46G - kkj - 11-05-2014 06:29 AM

Is there an updated version of the documentation detailing the procedure for auto-provisioning contact photos? The guide linked above seems to be written for an older version of the firmware.


RE: local contact with photos T46G - nickpl - 11-05-2014 11:03 PM

So far I haven't seen anything newer, however the guide I linked to works on the current firmware for the T-46. The only strange thing I have noticed is if I factory reset a previously working phone it will not use the Contact.tar until I make some change to the file (like adding a space to the end).

Not sure why that is but other than that weird quirk it works great. I use Linux to generate my files, here's the directory structure I use:
/root/photo/ <- highly compressed JPGs go here
/root/Contact/ <- tar of JPGs (photo.tar) and ContactData.xml go here

And my script that puts it all together for me:
Code:
echo -ne " " >> /root/Contact/ContactData.xml
tar -C /root/photo -cvf /root/Contact/photo.tar .
tar -C /root/Contact -cvf /tftpboot/Contact.tar .

That first line is for the strange quirk I was talking about above with Factory Reset phones.

Here's an example of a valid line in the ContactData.xml file to load a picture with a contact:
Code:
<contact display_name="Test Office" office_number="221" mobile_number="" other_number="" line="-1" ring="Auto" group_id_name="Office" default_photo="Config:221.jpg" />

And the line I put in my config file:
Code:
local_contact.data_photo_tar.url = tftp://10.10.10.1/Contact.tar

Let me know if I can offer you sample files or something, the photo with contacts is definitely one thing that sets these phones above others when I ask my customers what brand of phones they want to go with.


RE: local contact with photos T46G - Coco_Yealink - 11-06-2014 09:17 PM

Hello ,

Let me check the problem in your side.
1. You have edit the Local Contact , and put related files in the autoP server.
2.Then you provision the Local contact successfully .
3.You reset the phone to the factory.
4.And then want to provisioin the Local contact again(use the previous contacts template).
5.You find the phone won't go to download the files from the autoP server , unless you modify the contacts template.
Am I right?
If yes, could you please tell me what the firmware of your T46? and I will test in my side.

Thx