[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.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AutoProvision Local Contacts with Pictures
Author Message
kg4ysy Offline

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 syslog[413]: [0412] 00134179 Contact GetPhotoName = (/phone/userdata/Pics/Jim.jpg)
1082709 Jun 21 15:03:26 syslog[413]: [0412] 00134180 m_strRemotePhoto = /phone/resource/Pics/DefaultPhoto.png

My provisioning
local_contact.data.url = tftp://
local_contact.data_photo_tar.url = tftp://

When it provisions I see this which leads me to believe it worked.
Jun 21 15:01:57 autop[405]: [./src/baseMethod.cpp :318 ] IFO partion [/phone/config/Pics] free size:3256320 byte, 3180 KB
1080348 Jun 21 15:01:57 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
Post Reply 

Messages In This Thread
AutoProvision Local Contacts with Pictures - kg4ysy - 06-21-2013 11:12 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  settings are not updating from autoprovision server AdmshipYard 1 5,986 02-20-2021 04:20 PM
Last Post: AdmshipYard
  Local Contacts Restore Problem ipcsolutions 1 5,868 08-31-2020 09:31 PM
Last Post: ipcsolutions
Question Autoprovision - LED Light Flashing [Resolved] voipsupport 2 7,074 05-01-2020 06:43 PM
Last Post: voipsupport
  Remote configuration overwriting local configuration cdesbouche 1 7,158 04-11-2020 05:58 PM
Last Post: complex1
  Repeated AutoProvision TFTP/HTTP Issue patrick_keys 1 5,700 02-10-2020 05:04 PM
Last Post: jolouis
  How to erase a parameter using autoprovision file Santi 1 6,831 06-21-2019 10:25 AM
Last Post: complex1
  Local Phonebook autoprovision Aber 6 16,852 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 20,602 11-09-2018 01:58 PM
Last Post: jolouis
  Autoprovision - config file encryption problem oea 7 26,087 04-11-2018 11:03 AM
Last Post: Rus
  How exactly are -local.cfg files POSTed to server ? oliv 1 7,448 03-20-2018 08:02 AM
Last Post: oliv

Forum Jump:

User(s) browsing this thread:

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