How to enable Photos for Contacts with CUCM + Cisco Jabber

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone hope you were well and thanks for joining ok so what I'd like to do is just a hopefully short video just to cover off some requirements around Cisco jabber with with contacts so we obviously know that jabber itself you know we can add contacts into Jabar course now one of the more popular and modern methods of contacts or retrieval is using UDS ok and UDS is running within the communications manager itself and our client is configured to speak to see UCM using UDS now that's that's kind of one part of it but what I wanted to cover really in this video is photos this comes up quite a lot and it can be quite confusing I just want to demonstrate that how we get photos attached to our contacts so we've got obviously contacts that exist now in my lab and maybe in the real world I've got I've got local users now these local users you know they're in this the Communications Manager database they're sitting within C UCM itself yeah there's no I don't have any LDAP synchronisation going on but you know if I did have the same thing we'd count the client is not the jabber client itself is not and speaking to anything other than the C you see am using UDS when it comes to context so this is what we want to achieve now the photos part to this is what I'd like to demonstrate but it's important first of all just to understand that at a high level there Gabbar is going to speak UDS back to the communications manager and it's going to pull contacts from the local users part of the CCM okay now one important thing to say on this already is you first of all you want to know and understand how your users their user names are documented for example in our lab we're going to focus on the Sprint and site and you've got two users we've got Michael Scott and what dwight schrute has their user IDs it's always first initial and incentive so that's that's how the format for the user IDs now it's important when it comes to the photos okay so that's it we're kind of really now to go and get the configuration in install it's not too complicated it's quite straightforward so let's get stuck into that now so the first thing we would do is we would have to generate a jabber configuration file now the format for this file is Jabbar - config dot XML you can do lots and lots of clever things in this lots of you know bells and whistles or suction and and things that you want to influence and change in Java but what we're concerned about really is two things it's our UDS and our photos now I can tell you that Cu CMD file with an end-user object and as of will the version I'm running in 11:5 UDS is ticked on the client anyway the contact resolution so it's a default tick so I would actually to do anything anyway but if you wanted to make sure absolutely if we search this page for directory and keep going and here we go this is what we want this this part of its what we're going to do is we're going to generate a jabber configuration flow now you don't have to have one of these but for this this particular demonstration and lab you do need one of these guys for this to work now we're gonna change our directory type to UDS in case of edom BDO our legacy we're gonna go to UDS ok and it will want to know our UDS server which is the communications manager which is running UDS now my lab has only one server which is the publisher ok once that's completed we then move across if we search the photo sohe's photo okay we've got this part of the end now this is the clever part this is the actual URL just a web URL to the actual image file that we're going to use against a jabber contact and you can see there that the syntax for this is you have just a normal URL but you can see just after the path part you've got % % UI d % % now what that's doing that's saying okay replace that with the user ID now the user ID we just spoke about on the slide will be this guy so the end product would be M Scott dot jpg for example now I know Jabbar supports JPEG and PNG you're sure about bitmap I don't know but I've I've only done it with JPEG and PNG but that's the the logic to that syntax okay so it will replace the UID with the users ID from the Communications Manager database okay makes sense so when you when you type that you all URL in the in here yeah you put that in obviously that's got a point to a web server hosting the image files so that that leads you on now to the next part is to actually have a web server and you know available now in my lab I've just started up iOS within the Windows operating system just all default just default website and within the actual directory I've put in there a bit small to see but I've got an image file in for Michael and for Dwight M Scott and D true and their PNG files don't worry about the resolution of them because Jabbar will automatically resize them to walk Jabbar supports whatever that and size is pretty small at 120 or something but Jabbar will do they'd have to worry about anything for whatever you want in there and Jabbar will sort it out okay so these files are now available to this and to anyone that queries this server okay so just to prove that if I open up a new new window and just put in my Communication Manager sorry my active directory server and then forward slash and then M Scott dot jpg you sorry PNG and there he is mr. Michael Scott so I'm using PNG files so I didn't didn't say that but they're PNG files yeah and I've got the same for Dwight as well you okay next way okay so they're accessible via that okay which reflects their user ID in the communications manager cool so once that's done and your jabber configuration file is built your jabber configuration files then got to be uploaded to the communications manager now that's uploading flighty FTP so we were just brows on to our you see em in the web GUI and we would upload the file using TFTP very straightforward once the file is uploaded and there can be some confusion on how you look at the file before you you want you know before you do anything else so verifying it there's a couple of ways of doing that you can do it from the CLI using file view TFTP Jabbar - config dot XML and then you got this lovely XML file that you can look at you could do it that way if you wanted to or you can web browsers on to the UCM itself and you could query that foil through the path that you don't you hit no because I'm gonna show you that in a moment actually that method so we'll show that in Boyka Java but this is the file locally on my on my desktop yes and this is the file so there's a lot of stuff in here because what I did is I actually tick to conclude default so I spat a lot of stuff into that file but you don't need to worry about all you need to worry about for this lab is the directory and comply part or section of this file okay so there's the beginning and then it's the end so XML is not too bad to read it's very very logical pipeline so what we care about in here is we've got our directory set as UDS we've specified our UDS server okay and then we can skip out any for everything else in there this is the kind of core bit to it so this is the configuration there enables our job our user to essentially you know get anybody's photo so you can see in there that URL so it's point into my iis server and then % % UI d % % dot PNG so I'm using PNG in this lab ok so this will mean that any jabber user connects will download this configuration file when they log in and any client or any object or you know contact that they look up they will use this configuration file and then they will be able to look at their photo and see if there's a photo available for this individual by using this process but replacing it with the learnt jabber user ID ok so let me show you this now so if we go into the lab and bring up Michael Michael Scott and in scranton now Michaels already signed in ok and if I show you ctrl shift D Michael is pulled down this jabber configuration file which is the correct one so this is the other way you can do this you can wipe it into a web browser on this port and you can essentially view it for a web browser ok with the file that they're looking at so you do have that option I couldn't show you in a minute go cook remember the poor and this stuff but you can do it that way if you want so Michaels got this configuration file ok so simply enough if Michael looks up and a contact for example Dwight you can see picture and that's it very simple and if my TIF Dwight sorry if Michael looks up himself he can see his picture okay very straightforward makes sense okay there's a couple of cool things about verifying this that I want to show you okay so for a start the directory and if we look at the configuration file first so so this what we've got here that's a look yeah this is Michael's a problem report for Michael's machine to show us how this is all palaces working right so this is the problem report for Michael's machine if we open that this this jabber all configuration file here this is I would say that what jabber is set up to do how it's been configured yeah the configuration file together so there's lots of stuff in there again but again what we all we care about in there is UDS so let's have a look first of all there's our directory service so we're set to use UDS ok and if we want to verify our the photo part as well we can see in there in that same file our UDS photo URI would token and value so that's that set as well yeah have you guys can see that so that's all good and ready to go so on that basis Michaels is ready to be able to query using UDS for photos against context makes sense if we then look at the context that Michael on his machine has got locally you can see there's some stuff in here he's only got one at the moment he's added but you can see that for himself for example there is a photo URL and you can see that he has put the path him and this is to do with their I think Java being secure it's encrypted it but you can see essentially that is the path to his photo and it learns his username as well from the from the communications manager why you yes so it knows to put that as the user ID okay that is the basics to verifying that okay when it comes to the to the photo now so well Michael queries anybody if you were to look for example at Java dot log we could look at what Michaels up to in Java now I can't remember in this lab if I actually and we'll just have a quick look if he looked up Dwight he did they didn't I think I think what would do you see if he looked up Michael looked up himself I think what we do is we can potentially that we shorten time but we could potentially look up to Wyatt again and actually see this this magic happen but when you one little trick as well is you can look at just literally look up the word photo in here and there's a lot of stuff that comes back but you do find a lot of good stuff in there you see the configuration file you can see the photo information against contacts and in here within the actual jabber that log file you can see all the activity that happens with around wearying photos is what I wanted to show you for the dwyer by the time but you can see it build a photo cache on the machine this is quite important actually that if I show you this on Michaels machine here we go you see the cash that gets built locally on the machine as well so it creates different sized images as well small medium and large so you can see different and sort of thumbnail sizes for that moving jabber which is pretty cool sometimes I've seen clients have to delete this folder because it's been problematic you can see that from the actual debug has such them what's going on with jabber so it builds that folder and you can see it confirm its UDS source as well and it confirms that photo URL template I Sarah first to it so it knows that you can query that to look up and photos for people and so yeah that's pretty much it guys it was worth trying a video together on it and but essentially if you're going to troubleshoot problems with it I would start by looking in here for the user IDs of you know the person you're looking up so you're not seeing their photo or seeing them on one and in fact you can see there as well at some logic about downloading photo from that UDS source you know so there's some good stuff this these dialogues can be a little bit cryptic but I think if you if you break it down and keep it simple it's not too bad but you know you can see photo downloads and things of caring in the year and pretty straightforward yeah but it's a tiny tiny tiny bit there on troubleshooting okay but that's the implementation of it and the general concept of it so that's not so bad I took 15 minutes so how'd that make sense and it's helpful to you you know in the real world or study world or labs or whether you're doing but that's it so that's jabber with a UDS configuration - Communications Manager and how we essentially add photos to our have contacts within our local communications manager database by using an external web server which in my lab was Windows Server running iOS and then the images were just dropped onto the OAS server and it made available to the Java client through the jabber config.xml file okay thanks a lot guys take care
Info
Channel: drbabbers
Views: 2,174
Rating: undefined out of 5
Keywords: cisco, jabber, uds, photos, contacts
Id: S4njIZK5RmE
Channel Id: undefined
Length: 16min 22sec (982 seconds)
Published: Thu Apr 12 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.