05-19-2014 04:37 PM - edited 03-17-2019 04:10 PM
I'm using a UDS Directory as I'm in the mist of configuring RMA etc. I having issues trying with photo retrieval from a web server.
Photos are not being displayed on J4W, J4iPhone or J4iPad. So I'm thinking its a global problem with my configuration.
Snippet of my jabber-config.xml file
<Directory>
<DirectoryServerType>UDS</DirectoryServerType>
<PhotoUriWithToken>http://webservername.domain:9080/Photos/%%uid%%.jpg</PhotoUriWithToken>
</Directory>
The Photo Cache is downloaded, I cant view whats in the cache, so I'm not sure if it is bringing down the photo or not.
From the same laptop, I can browse directly to the above webpage and view the photos. So I know the webserver can accept requests.
The photos are a little larger than the recommended size, but I read Jabber will resize down to appropriate size.
Is there any other configuration that needs to be done within the jabber-config.xml file or with CUCM/IMP config pages?
Any assistance is appreciated.
Thanks
Ben
05-19-2014 05:48 PM
unsure what version you are using, but here is what is required:
Cisco Jabber for Windows dynamically builds a URL to contact photos with a directory attribute and a URL template.
<PhotoUriSubstitutionToken>sAMAccountName</PhotoUriSubstitutionToken>
<PhotoUriWithToken>http://staffphoto.example.com/sAMAccountName.jpg</PhotoUriWithToken>
With the example values in the preceding steps, the sAMAccountName attribute might resolve to msmith in your directory. Cisco Jabber for Windows then takes this value and replaces the token to build the following URL: http://staffphoto.example.com/msmith.jpg.
05-19-2014 09:42 PM
I thought this was only for EDI Directory Integration? I'll give it a go and let you know.
Thanks
Ben
05-20-2014 02:37 AM
Removed all <photoUri... lines and added in the following line in the jabber-config.xml file and all works fine now.
<UdsPhotoUriWithToken>http://webserver.domain/photos/%%uid%%.jpg</UdsPhotoUriWithToken>
05-20-2014 06:58 PM
thanks for sharing the solution
08-24-2014 11:42 PM
After added below with UDS deployment, I still can't see photo in the Jabber. All photos can be opened by browser.
<UdsPhotoUriWithToken>http://10.153.15.1/pic/%%uid%%.jpg</UdsPhotoUriWithToken>
Could anybody give me same idea??
Thanks
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