cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
875
Views
0
Helpful
1
Replies

jabber contact photo via MRA

hi guys,

 

i am running cucm/imp 12.5 su2.  Jabber is enabled for LDAP (EDI) to look up contacts and photos.  Everything works fine internally.  however when MRA is implemented, jabber does not fetch the photos.  MRA uses UDS instead of ldap.   so the photos are not getting fetched unless i use a webserver.  is fetching photos via webserver require that i must enable UDS?

i was wondering if i can continue to use ldap in the service profile but somehow direct the clients to fetch photos from web server instead of thumnailphotos.  

 

using a jabber config can i enable the following? and http allow list the webserver in exp C.

<Directory>
<PhotoSource>url</PhotoSource>
<PhotoUriSubstitutionEnabled>True</PhotoUriSubstitutionEnabled>
<PhotoUriSubstitutionToken>sAMAccountName</PhotoUriSubstitutionToken>
<PhotoUriWithToken>http://example.com/photo/sAMAccountName.jpg</PhotoUriWithToken>
</Directory>

would that be enough to keep it EDI (LDAP) but fetch the photo from web? Or do I need to specify the following in jabber config

<Directory>

DirectoryServerType>UDS</DirectoryServerType> or check box 'use uds for contact resolution" to make all UDS and not use ldap at all.

 

I am not sure what the "ldap search" (in cucm system->ldap->ldap search) does. i was under the impression it was introduced to keep mra continue to use ldap instead of flipping to uds.

 

thank you so much.

vijay S

1 Reply 1

after some digging  and watching Jamie Valencia's video https://community.cisco.com/t5/collaboration-voice-and-video/how-to-configure-jabber-photos-in-a-web-server-when-using-uds/ba-p/3103319'

i believe i need to use the followings. please correct me if i am wrong.

<Directory>
<PhotoSource>url</PhotoSource>
<PhotoUriSubstitutionEnabled>True</PhotoUriSubstitutionEnabled>
<PhotoUriSubstitutionToken>sAMAccountName</PhotoUriSubstitutionToken>
<PhotoUriWithToken>http://example.com/photo/sAMAccountName.jpg</PhotoUriWithToken>

<UdsPhotoUriWithToken>http://example.com/photo/%%uid%%.jpg</UdsPhotoUriWithToken>
</Directory>

 

where udsphotouriwithtoken is used when it connects via mra.  adn photouriwithotken is used internally instead of thumnailphoto.'

 

thanks,.