Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Cisco Jabber client not displaying Contact Photos

Hi All,

We have configured an external webserver to store our contact photos. But I couldn't get it working on Jabber windows clients. It works for CUPC8.5. I run the wireshark on webserver and can't see any request from Jabber client. xml file is -

<?xml version="1.0" encoding="utf-8"?>
<config version="1.0">

<Directory>
  <DirectoryServerType>EDI</DirectoryServerType>
   <PhotoUriSubsitutionEnabled>true</PhotoUriSubsitutionEnabled>
  <PhotoUriSubstitutionToken>sAMAccountName</PhotoUriSubstitutionToken>
  <PhotoUriWithToken>http://webserveraddress/people/sAMAccountName.jpg</PhotoUriWithToken>
</Directory>

<CUCM>
  <PhoneService_UseCredentialsFrom>presence</PhoneService_UseCredentialsFrom>
</CUCM>

</config>

Can someone please advise what's the issue.

Everyone's tags (3)
20 REPLIES
Cisco Employee

Re:Cisco Jabber client not displaying Contact Photos

Hey Abhi,

The file content seems ok. What would help troubleshoot this better would be a sniffer from the local workstation to see if at all being is sending out the request.

Also just to test, from the workstation, try manually going to the browser using the Web Server link.

Let me know what you see in the local packet capture.

Regards,

Jas

Sent from Cisco Technical Support Android App

New Member

Re:Cisco Jabber client not displaying Contact Photos

Hi Jasmeet,

Thanks for the reply. I can access the photos by manually typing the address on to a webpage. Also, CUPC on the same pc can fetch photos successfully.

Cheers,

Abhi

Cisco Employee

Re:Cisco Jabber client not displaying Contact Photos

Hey Abhi,

Seems like we would need to add the following attributes to the jabber file itself:

     sAMAccountName

Please add that and test again.

Regards,

Jas

New Member

Re:Cisco Jabber client not displaying Contact Photos

Hi Jasmeet,

Tried that but it didn't work. The problem is that our webserver is not getting any request from the jabber client but get request from the cupc client from the same pc.

Cheers,

Abhi

Cisco Employee

Re:Cisco Jabber client not displaying Contact Photos

Ok, so post me the content of the exact jabber file and also if you can take a packet capture :

1) Start Packet Caputure

2) Start Cisco Jabber

3) Wait till the presence status shows correctly

4) Stop Packet Capture.

Filter on the WebServer IP address and then see if there are any responses sent to the server

New Member

Re:Cisco Jabber client not displaying Contact Photos



   false


  EDI 
  true 
  sAMAccountName
  http://webserver.com/people/sAMAccountName.jpg


  presence

New Member

Re:Cisco Jabber client not displaying Contact Photos

Hi Jasmeet,

Run the packet capture and can't see any response sent to the server from my pc.

Regards,

Abhi

Cisco Employee

Cisco Jabber client not displaying Contact Photos

Hey Abhi,

First I was thinking perhaps we may have the incorrect Parameter to pull the contact images and that maybe its not sAMAccountName and perhaps uid, however, even if was incorrect, we should see some info be requested from the Web Server, its as if, Cisco Jabber is not reading the Config File.

Can you tell me where the config file is located on the workstation.

Also let me know what the parameter is for the Photos under LDAP Attributes on CUPS Admin -> Application -> CUPC -> Settings

We may have to pull a clean detailed PRT to see exactly what is going on. Please refer to this Post for the details on deleting the old logs and then recreating the problem:

https://supportforums.cisco.com/docs/DOC-24478

So let me know the location of the file, also provide the PRT and I'll take a look.

Regards,

Jasmeet

New Member

Re: Cisco Jabber client not displaying Contact Photos

Hi Jasmeet,

Parameter sAMAccountName is correct as this is working with CUPC client. But I did try to use uid as well but still no response.

Config file is located at - c:\Documents and Settings\Username\Application Data\Cisco\Unified Communications\Jabber\CSF\Config.

Parameter for the photos in CUPS - http://webserver/people/%%sAMAccountName%%.jpg

I tried following the link but there is no log folder under CSF in my workstation. But I have attached the fresh PRT logs, please have a look and let me know for any question.

thanks,

Abhi

Cisco Employee

Cisco Jabber client not displaying Contact Photos

Abhi,

I noticed that your jabber-config xml file is slightly wrong.  In there you have the line:

sAMAccountName

The correct line is:

sAMAccountName

Please make the appropriate change in Jabber Config XML file and try again.

Regards,

Jason

New Member

Re: Cisco Jabber client not displaying Contact Photos

Hi Jason,

I did use sAMAccountName initially but it didn't make any difference. I installed Cisco Jabber client on our webserver just to see if i can get any response but still nothing. Location of jabber xml file is - c:\Documents and Settings\Userid\Application Data\Cisco\Unified Communications\Jabber\CSF\Config.

Thanks,

Abhi

Cisco Employee

Re: Cisco Jabber client not displaying Contact Photos

Hey  Abhi,

In the PRT, I see the following:

2012-05-28 09:02:16,733 DEBUG [0x00001654] [s\feature-libs\config\src\Config.cpp(74)] [csf.unified.config] [Config::getValue] - result [true] key [PhotoUriWithToken] value [http:///people/adack.jpg]

I understand that you changed the parameter to see if we can even pull a single image for anyone, however, what I see next is:

2012-05-28 09:02:16,733 DEBUG [0x00001654] [rdsource\ADPersonRecordSourceLog.cpp(50)] [csf.person.adsource] [WriteLogMessage] - Configuration::SetConfigurationParameter - setting configuration parameter [PhotoSource] to [adack] //This needs to be AD Parameter which I see you used earlier

2012-05-28 09:02:16,733 DEBUG [0x00001654] [rdsource\ADPersonRecordSourceLog.cpp(50)] [csf.person.adsource] [WriteLogMessage] - Configuration::SetConfigurationParameter - setting configuration parameter [PhotoUriWithToken] to [http://pho/people/adack.jpg]

Do you know where this url is coming from?

I suggest that based on Jason's input and as well as changing the parameter back to the one we want, lets follow this action plan:

1) Exit out of Jabber and delete the files from the following location:

C:\Documents and Settings\\Local Settings\Application Data\Cisco\Unified Communications\Jabber\CSF\Logs

2 ) Modify the Jabber-Config.xml

Change the Directory Section of the Jabber-Config.xml to the following

  EDI

  True

  sAMAccountName

  http://sptde.racq.com.au/people/sAMAccountName.jpg

3) Re-login and then Generate the PRT by Help -> Report Error

Keep in mind if the jabber-config.xml is uploaded on Call Manager, it'll replace any local modification, so we have to update the file on Call Manager .

Once we have the new PRT with the Config provided above, I can work on that.

Regards,

Jasmeet

New Member

Re: Cisco Jabber client not displaying Contact Photos

Not sure where the url is coming from. I have changed the xml file accrodingly. Please, find the attached log file.

Cisco Employee

Re: Cisco Jabber client not displaying Contact Photos

Hey Abhi,

Thanks for providing the new file.

In the logs I do see the config file being implemented,

2012-05-28 10:24:50,952 DEBUG [0x000012b8] [rdsource\ADPersonRecordSourceLog.cpp(50)] [csf.person.adsource] [WriteLogMessage] - Configuration::SetConfigurationParameter - setting configuration parameter [PhotoUriSubstitutionToken] to [sAMAccountName]

2012-05-28 10:24:50,952 DEBUG [0x000012b8] [rdsource\ADPersonRecordSourceLog.cpp(50)] [csf.person.adsource] [WriteLogMessage] - Configuration::SetConfigurationParameter - setting configuration parameter [PhotoUriWithToken] to [http:///people/sAMAccountName.jpg]

I'll research more to see if we are missing any additional configs and will update you then.

Regards,

Jas

New Member

Re: Cisco Jabber client not displaying Contact Photos

Hi Jasmeet,

Any luck with the logs ??

Regards,,

Abhi

New Member

Re:Cisco Jabber client not displaying Contact Photos

Hi guys,

Glad I found this thread. I have exactly the same issue with Abhi at the moment with my Jabber client. Photos are stored and retrieved on a standalone HTTP server, works perfectly with CUPC (8.5.1) but not Jabber (9.0.1). I'll be watching this thread with interest for potential resolution.

Please keep the discussions coming.

regards,

Glenn

New Member

Cisco Jabber client not displaying Contact Photos

I have the exact same problem too.

Hosting my jpg on and http server and all is well  with CUPC 8.5.  As soon as I delete CUPC on PC and install Jabber for Windows 9.0.4 then no photos.

Funny thing is I have upgraded the iPads to Jabber for iPad and photos work there and also work on Jabber IM for iPhone.  Come on Cisco!  Don't make us re-invent the wheel again...

I'm watching this thread too.  This is our Verizon UCCaaS demo that we deliver demos to for customers.  Kind of embarrasing that Lync has Photos and we don't.  This should be simple and you should be able to upgrade a client on a PC and not have things not work.

New Member

Cisco Jabber client not displaying Contact Photos

Judging by the number of views on this thread, there are quite a number of people having the same issues. Just like share that the problem still persists with Jabber for Windows 9.1.1. This issue has now become a showstopper for us to upgrade from CUPC to Jabber. Any help on this would be much appreciated.

New Member

Cisco Jabber client not displaying Contact Photos

Hi,

anyone was able to solve this issue? We seem to be hitting the same problem.

Thank you.

Best regards,

Norberto

New Member

Cisco Jabber client not displaying Contact Photos

We managed to resolve the issue ourselves. In contrast with CUPC8.5,  which does not necessarily need a manually configured client  configuration file for it to work, Jabber mandates it. So for those guys  who had contact photos working with CUPC8.5 using HTTP server and not  working whilst using Jabber 9.1 for Windows, try this:-

- Manually create a jabber-config.xml using the following guide:-

http://www.cisco.com/en/US/docs/voice_ip_comm/jabber/Windows/9_0_1/b_jabber_win_icg_chapter_0110.html#JABW_RF_C212F571_00

or you can create it using the "config file generator" posted here

https://supportforums.cisco.com/docs/DOC-25778. The bare minimum for contact pics using HTTP server ONLY to work is:-

-

-

  true

  sAMAccountName

  http:///sAMAccountName.jpg

 

 

- Upload this file onto a TFTP server (CUCM recommended as per

hhttp://www.cisco.com/en/US/docs/voice_ip_comm/jabber/Windows/9_0_1/b_jabber_win_icg_chapter_0110.html#JABW_TK_S9B0D32D_00)

- Test whether you can access this config file from where the Jabber client is installed by browsing

http://:6970/jabber-config.xml

After doing the above, contact photo using HTTP server  on Jabber for Windows should work providing that there's no other  connectivity issues.

regards,

Glenn

6236
Views
0
Helpful
20
Replies
CreatePlease to create content