cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4076
Views
0
Helpful
8
Replies

Jabber XML Customisation

navdipatwal
Level 4
Level 4

I am working on a CUPS with Jabber deployment.

In regards to removing the reference to an image (you know in jabber where you see a blank photo), the customer will not have any images in AD and therefore want the blank image removed

From the documentation this seems like it references the EDI attribute photosource.

The options in regards to this according to documentaion are:

1. delete the photosource attribute from EDI.

There also some other options as below, what do you think? 

<PhotoUriSubstitutionToken>cn</PhotoUriSubstitutionToken>

<PhotoUriWithToken>http://staffphoto.example.com/cn.jpg</PhotoUriWithToken>

2 Accepted Solutions

Accepted Solutions

Jasmeet Sandhu
Cisco Employee
Cisco Employee

Hey Navdip,

Photos can be either retrieved via Active Directory or from a Web Server.

Since your customer will not have any images in AD, we won't be using an AD parameter to pull images. In your scenario, as you have outlined above already, you'll have to use Web Server to retrieve images.

Now with Cisco Jabber for Windows, you can either utilize EDI or UDS (If you have CUCM 8.6(2) or higher, and both directory integration methods have Web Server Photo Retrieval configs, as outlined by this Post:

https://supportforums.cisco.com/thread/2149035

For photo URI substitution in EDI, set the following values in your jabber-config.xml configuration file.

•a.       Specify a directory attribute to use as a dynamic token as the value of the PhotoUriSubstitutionToken Parameter. For example,

True

sAMAccountName

•b.     

Specify the URL and the dynamic token as the value of the PhotoUriWithToken parameter.

For example,

http://staffphoto.example.com/sAMAccountName.jpg.

With  the example values in the preceding steps, the sAMAccountName attribute  might resolve to msmith in your directory. Cisco Jabber for Windows  then takes this value and replaces the token to build the following URL:

http://staffphoto.example.com/msmith.jpg

Hope this helps.

Regards,

Jasmeet

View solution in original post

I have an update on this from our Dev Team and it seem that currently this functionality doesn't exist and would require an enhancement request.

Let me know if the customer is keep on this option and I'll go ahead and submit an enhancement request for such feature.

View solution in original post

8 Replies 8

Jasmeet Sandhu
Cisco Employee
Cisco Employee

Hey Navdip,

Photos can be either retrieved via Active Directory or from a Web Server.

Since your customer will not have any images in AD, we won't be using an AD parameter to pull images. In your scenario, as you have outlined above already, you'll have to use Web Server to retrieve images.

Now with Cisco Jabber for Windows, you can either utilize EDI or UDS (If you have CUCM 8.6(2) or higher, and both directory integration methods have Web Server Photo Retrieval configs, as outlined by this Post:

https://supportforums.cisco.com/thread/2149035

For photo URI substitution in EDI, set the following values in your jabber-config.xml configuration file.

•a.       Specify a directory attribute to use as a dynamic token as the value of the PhotoUriSubstitutionToken Parameter. For example,

True

sAMAccountName

•b.     

Specify the URL and the dynamic token as the value of the PhotoUriWithToken parameter.

For example,

http://staffphoto.example.com/sAMAccountName.jpg.

With  the example values in the preceding steps, the sAMAccountName attribute  might resolve to msmith in your directory. Cisco Jabber for Windows  then takes this value and replaces the token to build the following URL:

http://staffphoto.example.com/msmith.jpg

Hope this helps.

Regards,

Jasmeet

Hi there

The Question I have asked is whether this reference can be removed using the XML file.

I have already customised many parameters and they are working fine, it is the image which i dont want as my customer does not use AD or A webserver to host images.

I can change this setting from within Jabber (uncheck view contact pictures) but I am asking if there is a parameter that can be modfied from within the Global XML file.

Yes, you can remove any reference or line which has in the jabber-config.xml file and re-upload it to all the TFTP servers in the deployment.

True

sAMAccountName

http://staffphoto.example.com/sAMAccountName.jpg.

Next, make sure to restart all the TFTP servers so the latest file is available for Cisco Jabber to download and finally, restart your Cisco Jabber for Windows and test again.

Regards,

Jas

Hi there,'

This is the same information I have pasted into the dicussion.

This advises If we want you use a substituion and then we specify the source and location of substitution.

My questions is what do I write if I dont want an image to be displayed and that includes the blank shadow image which is as default,

Seems like there was a bit of confusion on my end. It seems what you are trying to check is that if there is a parameter in config file which will perform the similar function as unchecking  "View -> Show Contact Pictures" or any other way to disable it for all users.

I don't think anything like that exists yet where we can disable this in bulk or for all users. I'll research into this and get back to you.

Regards,

Jas

I have an update on this from our Dev Team and it seem that currently this functionality doesn't exist and would require an enhancement request.

Let me know if the customer is keep on this option and I'll go ahead and submit an enhancement request for such feature.

Hi Jasmeet,

The customer is keen for this, if you could please ask for an enhancement request.

I have one more question, in a Jabber IM only deployment without any CSF devices, how is the best way to restrict file transfers of certain file types.

I have already done this for all Jabber CSF devices by uploading the XML file to the TFTP servers.

How would I do this for a non CSF device?

Another enhancement i suggest is to limit the maximum file trasnfer size, this is not currently possible

Navdip,

CSF device for Cisco Jabber for Windows provides Soft Phone Control and is independant of Jabber-Config.xml parameters for File Transfers.

If you already have populated the "Disallowed_File_Transfer_Types" in the config file (Policy configuration parameters), regardless if the end user has CSF device or not, Cisco Jabber should accept those settings and restrict the transfer of the files with those extensions.

Is there any issue for users without the CSF device able to transfer file which is disallowed?

Regards,

Jas

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: