[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
AutoProvision Local Contacts with Pictures
Author Message
kg4ysy Offline
Member
***

Posts: 65
Joined: May 2013
Reputation: 2
Post: #1
AutoProvision Local Contacts with Pictures
I'm able to provision the local directory, but the problem I'm having now is it doesn't appear to be using the pictures I'm uploading. I'm out of ideas so any help would be appreciated.

The structure of my tar is ContactData.xml and photo.tar. The photo.tar has the pictures in it.

My ContactData.xml file has the images selected. A snippet is below. If I change the photoSelect it will change to one of the built-in pictures. On the phone it says "Custom Image" for the contact image.
<contact sDisplayName="Jim Beckner III" sOfficeNumber="xxxx" sMobilNumber="xxxxxxxxxx" sOtherNumber="" sLine="0" sRing="Auto" group="" photoDefault="Config:Jim.jpg" photoSelect="0" />

The logs show this when a call comes in as if it is trying to use the picture, but then it selects DefaultPhoto.png

1082708 Jun 21 15:03:26 192.168.1.184 syslog[413]: [0412] 00134179 Contact GetPhotoName = (/phone/userdata/Pics/Jim.jpg)
1082709 Jun 21 15:03:26 192.168.1.184 syslog[413]: [0412] 00134180 m_strRemotePhoto = /phone/resource/Pics/DefaultPhoto.png

My provisioning
local_contact.data.url = tftp://192.168.201.18/ContactData.xml
local_contact.data_photo_tar.url = tftp://192.168.201.18/ContactData.tar

When it provisions I see this which leads me to believe it worked.
Jun 21 15:01:57 192.168.1.184 autop[405]: [./src/baseMethod.cpp :318 ] IFO partion [/phone/config/Pics] free size:3256320 byte, 3180 KB
1080348 Jun 21 15:01:57 192.168.1.184 autop[405]: [./src/binParser.cpp :1968] IFO --- tar -xf /tmp/ContactData.tar -C /tmp/;tar -xf /tmp/photo.tar -C /tmp/Contact/;rm -f /tmp/photo.tar;
(This post was last modified: 06-21-2013 11:12 PM by kg4ysy.)
06-21-2013 11:12 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: 24
Post: #2
RE: AutoProvision Local Contacts with Pictures
Hi Kg4ysy,
I think your photo.tar is not correct, because it need to use a tool-7-Zip compressed software to make it.
I attached the manual, please follow the instruction.
Thanks.


Attached File(s)
.zip  How to import contacts and photos.zip (Size: 1.75 MB / Downloads: 114)
06-26-2013 05:02 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
kg4ysy Offline
Member
***

Posts: 65
Joined: May 2013
Reputation: 2
Post: #3
RE: AutoProvision Local Contacts with Pictures
Yep that worked like a charm. I noticed the contacts don't show up in the web management, but I'm not that worried about it. Thanks for the info!
07-02-2013 03:18 AM
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
  settings are not updating from autoprovision server AdmshipYard 1 4,432 02-20-2021 04:20 PM
Last Post: AdmshipYard
  Local Contacts Restore Problem ipcsolutions 1 4,327 08-31-2020 09:31 PM
Last Post: ipcsolutions
Question Autoprovision - LED Light Flashing [Resolved] voipsupport 2 5,598 05-01-2020 06:43 PM
Last Post: voipsupport
  Remote configuration overwriting local configuration cdesbouche 1 5,229 04-11-2020 05:58 PM
Last Post: complex1
  Repeated AutoProvision TFTP/HTTP Issue patrick_keys 1 4,443 02-10-2020 05:04 PM
Last Post: jolouis
  How to erase a parameter using autoprovision file Santi 1 5,537 06-21-2019 10:25 AM
Last Post: complex1
  Local Phonebook autoprovision Aber 6 13,550 06-11-2019 01:55 AM
Last Post: Aber
  Ni file name in POST URLs [Was: How exactly are -local.cfg files POSTed to server ?] oliv 8 16,585 11-09-2018 01:58 PM
Last Post: jolouis
  Autoprovision - config file encryption problem oea 7 22,564 04-11-2018 11:03 AM
Last Post: Rus
  How exactly are -local.cfg files POSTed to server ? oliv 1 5,943 03-20-2018 08:02 AM
Last Post: oliv

Forum Jump:


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

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