05-23-2012 11:57 PM - edited 03-19-2019 04:57 AM
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.
05-24-2012 06:01 AM
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
05-24-2012 03:52 PM
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
05-24-2012 10:22 PM
Hey Abhi,
Seems like we would need to add the following attributes to the jabber file itself:
Please add that and test again.
Regards,
Jas
05-24-2012 10:34 PM
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
05-24-2012 10:48 PM
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
05-24-2012 11:00 PM
05-24-2012 11:06 PM
Hi Jasmeet,
Run the packet capture and can't see any response sent to the server from my pc.
Regards,
Abhi
05-25-2012 06:00 AM
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
05-27-2012 04:05 PM
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
05-25-2012 06:24 AM
Abhi,
I noticed that your jabber-config xml file is slightly wrong. In there you have the line:
The correct line is:
Please make the appropriate change in Jabber Config XML file and try again.
Regards,
Jason
05-27-2012 03:54 PM
Hi Jason,
I did use
Thanks,
Abhi
05-27-2012 05:07 PM
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://
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\
2 ) Modify the Jabber-Config.xml
Change the Directory Section of the Jabber-Config.xml to the following
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
05-27-2012 05:37 PM
05-27-2012 06:05 PM
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://
I'll research more to see if we are missing any additional configs and will update you then.
Regards,
Jas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide