cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8744
Views
0
Helpful
20
Replies

Cisco Jabber client not displaying Contact Photos

abhikasliwal
Level 1
Level 1

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.

20 Replies 20

Jasmeet Sandhu
Cisco Employee
Cisco Employee

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

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

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

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

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



   false


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


  presence

Hi Jasmeet,

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

Regards,

Abhi

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

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

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

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

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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: