CUPC Photo

Unanswered Question
May 23rd, 2010
User Badges:


I am trying to display photos in CUPC. I was told I could store them on a web server as a jepg. Then in AD set the Wep page field to the address of the photo (http://<web server><filename>.jpeg) Then in presence admin set the CUPC photo attribute to the URL AD attribute.

But it does not work - any suggestions?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (4 ratings)
Loading.
htluo Sun, 05/23/2010 - 07:38
User Badges:
  • Red, 2250 points or more

1) You should use wildcards in URL so it can associated different users to differen photos.  For example: http://web-server/%%uid%%.jpg.  CUPC will replace the %%uid%% with the CUPC logon ID.


2) Make sure the client computer can access the URL.  Open a web browser from the client computer and type the URL.  Of course, you need to replace the wildcard with actual user name.  For example: htp://web-server/jsmith.jpg.  You should be able to see the photo without any authentication requirements.


Michael

http://htluo.blogspot.com

mymite060708 Mon, 05/24/2010 - 04:31
User Badges:

Thanks for that tip on user id.


Can I check my settings with you as I still can't display the picture


Photo = http://10.0.0.50/djones.jpeg


set the Web Page field in AD to http://10.0.0.50/djones.jpeg


Confirmed the client PC can access the above URL


in CUP Admin--Application--Cisco Unified personal Communicator--settings


set UPC User Field==Photo to LDAP User Field URL (also tried wWWHomePage)


Save and reboot

htluo Mon, 05/24/2010 - 05:13
User Badges:
  • Red, 2250 points or more

Sorry, forgot that you were using AD.  If you're using AD you should use http://web-server/photo/std/%%sAMAccountName%%.jpg per http://docwiki.cisco.com/wiki/Cisco_Unified_Presence%2C_Release_7.x_--_How_to_Integrate_the_LDAP_Directory_with_Cisco_Unified_Personal_Communicator#Fetch_Contact_Pictures_from_a_Web_Server


For testing purpose, you may put a hard-coded URL in the field, such as http://10.0.0.50/djones.jpeg.  Without the wildcard, every CUPC user will display djones' photo.  But at least it'll work.


Michael

htluo Mon, 05/24/2010 - 06:33
User Badges:
  • Red, 2250 points or more

Could you do a packet capture from the CUPC computer and upload here?


So we can see what URL it requested for.


Thanks!

Michael

William Bell Mon, 05/24/2010 - 06:43
User Badges:
  • Purple, 4500 points or more

This may be a stupid question, so forgive me.  But, since the URL request comes from the PC that is running CUPC,

have you check to see if the PC can access the URL from a standard browser?  That way you can take network/pc-based filters/firewalls out of the equation.


Regards,
Bill

mymite060708 Tue, 05/25/2010 - 11:58
User Badges:

HI Mike


I ran wireshark from the client PC.


I cannot even see the URL being requested. ( when i create an error report I can see the url has been mapped to the CUP attribute)


see what you think


Thanks for your help

Attachment: 
htluo Tue, 05/25/2010 - 17:04
User Badges:
  • Red, 2250 points or more

If there's no request for URL in packet capture, it must be a configuration issue.


Could you post some screenshot of configuration?  Also upload CUPC problem report here.


Thanks!

Michael

Graham Old Thu, 10/07/2010 - 04:13
User Badges:
  • Silver, 250 points or more

How does CUPC 8.0 know to use the LDAP to load the photo rather than the URL.


Or does CUPC 8.0 only load photos from the URL


Graham

Actions

This Discussion