Welcome Message

Hello my dear reader,

Welcome to my blog, which is dedicated to Cisco technologies. On its pages we will talk about the limitless world of telephony and networking.

We will focus mostly on Cisco collaboration solutions and technologies. These are IP PBX based on Cisco Unified Communications Manager and Cisco Unified Communications Manager Express, Cisco contact centers, Cisco Voice Gateways, etc. Also, I will introduce you the education news: Cisco authorized courses, my own developed training programs, our upcoming events, online learning.

If you have any questions regarding my posts, job or activities, please feel free to ask your questions. I will try to answer them when I have time.

If you are satisfied with the content of my blog, isn’t that worth a beer or coffee? Donations help me to continue supporting the blog and creating new posts here — things for which I spend hours of my free time! Thank you very much!

Sincerely, Dmytro Benda

Saturday, July 27, 2013

Profile Photos for CUPC / Jabber

Good afternoon,

In my newpost, I want to talk about how to add user avatars (profile photos) for CUPC or Jabber centrally. Using these communicators becomes much more interesting and more convenient if we visually see a photo of our contact. But not everyone knows how to make avatars to be displayed on your device. This is what we will talk about in the next few minutes.
In fact, everything is very simple. For centralized profile photo management a web-server is required. In our example I am using Windows 2003 Server with IIS (Internet Information Services) enabled. In the folder for web access (C: \ Inetpub \ wwwroot) let's create a new folder with name photos. We will place here the avatars of users as jpg-files. Profile photo files should have the same name as the user account in Active Directory. For example, suppose that my account in AD is dbenda. Then, the image file, referred to as my avatar, must be named as dbenda.jpg.

Then adjust the Cisco Unified Presense. Link to avatars is created in the Application -> Cisco Unified Personal Communicator -> Settings:


Find CUPC LDAP Attribute Mapping settings and  change the Photo parameter, which indicates a link to our avatars.Profile photo file name is specified in the following format:

%% SAMAccountName %%. Jpg
(that's why the names of avatars match account names in AD).

In our example, the link is as follows (IP address of our web-server is 10.1.1.9):

http://10.1.1.9/photos/%%sAMAccountName%%.jpg


That's all the wisdom :) Then you can run CUPC / Jabber, login and enjoy the avatars of your colleagues. :)

Have a nice weekend!

10 comments:

  1. Добрый день.
    Не ясно какой размер должен быть у аватарки?

    ReplyDelete
  2. Добрый день,

    Не нашел нигде инфу размерах самой аватарки, пробовал на разных jpg-файлах. Все они "подхватывались" без проблем.

    ReplyDelete
  3. Если проблема не в размерах, то помогите пожалуйста разобраться с аватарками. У меня стоит CUP IM 9.1.1.31900-1 + CUCM 9.1 + LDAP(MS AD) + Cisco Jabber 9.2.3
    Для фотографий использую внешний web сервер. В CUP-е настраиваю адрес Web-сервера(http://10.1.1.9/photos/%%sAMAccountName%%.jpg) в поле Photo таблицы Legacy Client LDAP Attribute Mapping (Application -> Legacy Client -> Settings).

    Но в Jabber все равно не появляются аватарки.

    Как продебажить где ошибка? Или в CUP 9.1.1 по другому настраивается?

    ReplyDelete
    Replies
    1. К сожалению, на 9.1.1 мне не доводилось настраивать аватарки. :( Поэтому, сказать, настраивается ли 9.1.1 так же, как 8.0, не смогу.

      Все дебаги для CUCM/CUP обычно делаются в RTMT.

      Спрошу банальность: Вы в настройках CUP указали-то айпишник своего веб-сервера? Не моего случайно? Мой сервер 10.1.1.9.

      Delete
    2. Удалось настроить автарку в джабере новом?

      Delete
    3. Так и не попробовал еще, к сожалению, времени катастрофически не хватает. :(

      Delete
  4. Добрый вечер Дмитрий! не знаю где написать свой вопрос, но так как он связан с CUPS напишу его здесь. Установил кластер CUCM11.5. Теперь стоит задача развернуть кластер из серверов IM&Presence11.5. Прочитал installation guide, пересмотрел ряд видео, но вопросы остались. нужно ли при первичной установке IM&Presence Publisher добавлять эту ноду на Publisher CUCM в разделе System-Server (IM&Presence Server node). судя по гайдам сюда добавляются только ноды Subscriber. или же в новых версиях уже нет такого понятия как Publisher для IM&Presence и все завязано на Publisher CUCM. буду рад если поясните ситуацию.

    ReplyDelete
    Replies
    1. Доброе утро, Андрей. Действительно, в новых релизах нет понятия Publisher для CUP. При инсталляции сервера CUP добавляются как Subscriber’ы в кластер CUCM. Такова новая идеология.

      Итак, что нужно сделать:

      1) В веб-интерфейсе Publisher CUCM добавить айпишник устанавливаемого CUP
      2) Создать виртуалку CUP на основе шаблона ova
      3) Установить CUP

      Delete
    2. Дмитрий спасибо за ответ. Есть еще один вопрос.При настройке интеграции Cucm и cup со стороны коллменеджера настраивает транк в сторону cup. А как быть в случае кластера cup. Насколько помню в параметрах транка можно только один адрес вводить. Или нужно указать использование srv записи? Если это так, то как она должна быть настроена на днс сервере?
      Заранее спасибо.

      Delete
    3. Здравствуйте, Андрей. В случае кластера CUP Вы должны указать в транке несколько айпишников серверов CUP или FQDN. Использовать SRV записи не получится в этом случае. Вот фрагмент доки цыско:

      If high availability is configured for the IM and Presence cluster, multiple entries should be entered in the Dotted IP Address or FQDN to identify the various nodes in the cluster. DNS SRV cannot be used for an IM and Presence cluster if high availability is configured.

      Добавить следующий адрес Вы сможете, если нажмете + справа от первого указанного адреса.

      Delete