cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1267
Views
3
Helpful
2
Replies

Jabber, Contact Photos, UDS and Transport Protocols

Anthony Holloway
Cisco Employee
Cisco Employee

I have read over the many good posts and documents as well as the admin guide as it pertains to Contact Photos.  Thank you to all of the contributors on the subject matter!           

One thing that I was not able to determine, is if the Jabber client was limited to HTTP for UDS?

Unfortunately I do not have access to an FTP server to test this, so I'm simply asking here for clarifcation, or, if you would be so nice to test it yourself, does something like this work?

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

<config version="1.0">

<Client>

<UpdateUrl>http://server_name.cisco.com/update.xml</UpdateUrl>

</Client>

<Directory>

<DirectoryServerType>UDS</DirectoryServerType>

<BusinessPhone>ipPhone</BusinessPhone>

<PhotoUriSubstitutionEnabled>true</PhotoUriSubstitutionEnabled>

<PhotoUriWithToken>ftp://ftp.mysite.com/%%uid%%.jpg</PhotoUriWithToken>

</Directory>

<Policies>

<Screen_Capture_Enabled>true</Screen_Capture_Enabled>

<File_Transfer_Enabled>true</File_Transfer_Enabled>

<Disallowed_File_Transfer_Types>.exe;.msi;.rar;.zip;.mp3</Disallowed_File_Transfer_Types>

<Video_Disabled>false</Video_Disabled>

</Policies>

</config>

Additionally, I saw in one of the documents posted that if the site referenced requires some kind of authentication, jabber would not pull down the photos.  But what if it were basic auth and one could simply type the crednetials into the URL?  I realize it's plain text and downloaded to everyone's machine, but this would be a read only account to that one directory.

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

<config version="1.0">

<Client>

<UpdateUrl>http://server_name.cisco.com/update.xml</UpdateUrl>

</Client>

<Directory>

<DirectoryServerType>UDS</DirectoryServerType>

<BusinessPhone>ipPhone</BusinessPhone>

<PhotoUriSubstitutionEnabled>true</PhotoUriSubstitutionEnabled>

<PhotoUriWithToken>ftp://jabber:photos@ftp.mysite.com/%%uid%%.jpg</PhotoUriWithToken>

</Directory>

<Policies>

<Screen_Capture_Enabled>true</Screen_Capture_Enabled>

<File_Transfer_Enabled>true</File_Transfer_Enabled>

<Disallowed_File_Transfer_Types>.exe;.msi;.rar;.zip;.mp3</Disallowed_File_Transfer_Types>

<Video_Disabled>false</Video_Disabled>

</Policies>

</config>

Thanks!

Anthony Holloway

2 Replies 2

szelenka
Cisco Employee
Cisco Employee

Access via FTP will not work, it needs to be HTTP or HTTPS with a signed valid certificate.  I believe we check that the text entered is actually a valid HTTP/S URL before attempting to access the address.

For credentials, I'm not sure if you pass the user/pass in the URL itself if the web server will render the page properly.  Basically we're just looking for the binary image to be transfered without being prompted for credentials to enter, so if passing the user/pass in the URL will bypass the credential prompts, then that may work.

Thank you for the reply.  Do you have a source for the no FTP and HTTP/HTTPS only info?  I couldn't find it on my own.  Thanks.

Do you have anyway of confirming this for me?  I don't have access to a web server.  Thanks again.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.