[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
local contact with photos T46G
Author Message
ssanders Offline
Junior Member
**

Posts: 2
Joined: Feb 2014
Reputation: 0
Post: #1
local contact with photos T46G
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?
02-22-2014 05:26 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: local contact with photos T46G
Hi ssanders,

Please refer to the auto provisioning guide of T4X.
Yealink_SIP-T4X_IP_Phones_Auto_Provisioning_Guide_V72
02-24-2014 09:55 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
ssanders Offline
Junior Member
**

Posts: 2
Joined: Feb 2014
Reputation: 0
Post: #3
RE: local contact with photos T46G
(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”
02-24-2014 11:15 PM
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: #4
RE: local contact with photos T46G
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
02-25-2014 03:25 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
nickpl Offline
Junior Member
**

Posts: 27
Joined: Apr 2014
Reputation: 0
Post: #5
RE: local contact with photos T46G
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
05-10-2014 09:30 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
nickpl Offline
Junior Member
**

Posts: 27
Joined: Apr 2014
Reputation: 0
Post: #6
RE: local contact with photos T46G
FINALLY! I found this guide: http://www.evenflow.co.za/files/productp...s-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?
05-13-2014 12: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: #7
RE: local contact with photos T46G
Yes. This should be the same as T38G's. We will submit this request to document department.
05-13-2014 03:25 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
kkj Offline
Junior Member
**

Posts: 10
Joined: Nov 2014
Reputation: 0
Post: #8
RE: local contact with photos T46G
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.
11-05-2014 06:29 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
nickpl Offline
Junior Member
**

Posts: 27
Joined: Apr 2014
Reputation: 0
Post: #9
RE: local contact with photos T46G
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.
11-05-2014 11:03 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Coco_Yealink Offline
Super Moderator
******

Posts: 113
Joined: Aug 2014
Reputation: 0
Post: #10
RE: local contact with photos T46G
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
11-06-2014 09:17 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
  Need bin and rfs files SIP-T46G RobbyK 1 922 01-11-2024 11:26 PM
Last Post: complex1
  SIP-T46G Need firmware update instructions RobbyK 2 1,181 01-11-2024 10:52 PM
Last Post: RobbyK
  T46G recovery files evoip 1 1,525 10-10-2023 12:46 AM
Last Post: Yisroel_MongoTEL
  T46G Multiple EXT Port amandah 2 2,071 04-04-2023 01:06 AM
Last Post: Yisroel_MongoTEL
Photo T46G LED blinks when screen is off W 4 8,260 03-29-2023 05:36 AM
Last Post: matthewchubb
  T46G/S Multicast on PC Port Issue MiKeDaDoC 5 11,760 01-02-2023 01:30 AM
Last Post: kw160008
  T46G call completed elsewhere zimbocz 3 10,140 10-28-2022 03:28 AM
Last Post: tredd1982
  T42s VPN & local SIP Accounts noch work, only one of them mysterox 0 1,505 10-27-2022 04:54 PM
Last Post: mysterox
  T46G SSL 2 & 3 Vulnerability russavd 0 1,498 09-24-2022 05:07 AM
Last Post: russavd
  T46G - shortcut to activate/ deactivate accounts? westats 4 5,649 07-07-2022 11:40 AM
Last Post: westats

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

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