Installing Cisco ClickToCall plug-in for Sametime Client
We have deployed Sametime some year hence in the company. Now it was time to upgrade its functionality and click to call just sounded as the right one. Not only it removes the need for you to browse company directory for telephone number of a person you want to call (you just do that from Sametime), but it also is able to display outside caller information, if you have their information in Server Directory Catalog (sdc.nsf) database.
I will try to cover configuration and deployment of Cisco Click To Call plug-in for Sametime integrated client. Beware, this plug-in will only work with Cisco telephones and Cisco Call Manager.
Step 1 – Configure Cisco Click to Call plug-in
Cisco Click to Call plug-in is available at Cisco site. Unfortunately it is not free, until you reach certain level of partnership or something like that. For this current post, I’ll assume you have access to the download site.
You only need plug-in for Sametime Client. Server plug-in enables you click to conference, which can connect Sametime to WebEx if I remember correctly.
Extract the plug-in in your directory and go to ciscocfg. Click only executable there (ciscocfg.exe) and select update site which is located at CiscoPCAPWithLotusST_7.1.1.952\UpdateSite directory. A GUI window opens. Fill in required data. Don’t forget about dialing rules, as they may be key to resolving caller identity. Templates for dialing rules can be found at templates directory.
When you are done, go to File->Save All. This will configure your update site.
Step 2 – Create Eclipse Update Site
First, if you already have Eclipse update site on your system, you can skip this step.
The easiest was to create Eclipse Update Site is to use Notes 8.x integrated template. Go to File->Application->New, enter required data, and check Show advanced templates check-box. Be sure you selected your server for template list. Select Eclipse update site and click OK. When processing finishes, you will have your update site.
Step 3 – Create Widget catalog database
Again, if you already have a widget catalog database deployed, you do not need to read this.
For those of you, setting the catalog database for the first time, the process is very similar to creating Eclipse update site described in Step 2. Just pick another template, which is called Widget catalog.
Step 4 – Deploying the plug-in (sort of)
Now that you have your plug-in configured and your update site and widget catalog created, you can proceed with deployment.
What you need to do now is to import your plug-in to your update site database. This is a simple step. Just open your update site database and select Import local update site from view actions. A dialog pops up. All you need to do is to point the location to your site.xml file in the plug-in directory on your hard drive and select OK. If all goes well, you should have an update site imported in about a minute.
If you are only using Sametime Connect clients in your environment, all you need to do now, is go to your Sametime server Administration via web and enter URL of the update site to Sametime update site URL field in your Sametime policy document (can be default policy). All updates located in this update site will be automatically installed to clients at next start up (or about a minute later). Save the document and restart your Sametime server. That’s it, you are done.
Unfortunately, for us, working with environments with integrated Sametime clients, this is only beginning of the road. We took care of Sametime Connect clients and now it is time to do the same for integrated clients. I don’t know what was a reason behind it, but setting an update site just won’t cut it.
Step 5 – Creating a widget from your plug-in
To deploy an update/plug-in for integrated Sametime client, you need to create a widget from your update site. This is specially interesting and fiddly step, as you will have to manually create your own extension.xml file. Widgets, you see, don’t know how to use update sites directly. Extension.xml file is an adapter. BTW, you can name the file as you want, as long as it has correct format. Below is source of my extension file (marked attributes are changeable).
<?xml version="1.0" encoding="UTF-8"?> <webcontextConfiguration version="1.1"> <palleteItem id="com.cisco.sametime.phone.featurest800" imageUrl="" providerId="com.ibm.rcp.toolbox.prov.provider.ToolboxProvisioning" title="Click To Call Sametime plugin" url="nrpc://myUpdateSiteFQDN/replica/site.xml"> <preferences> </preferences> <data> <installManifest> <![CDATA[ <install> <installfeature description="Click To Call Sametime plugin" id="com.cisco.sametime.phone.featurest800" name="Cisco Phone Control and Presence with Lotus Sametime 8.0.0" required="true"> <requirements> <feature id="com.cisco.sametime.phone.featurest800" version="7.1.1.972"/> </requirements> </installfeature> </install> ]]> </installManifest> </data> </palleteItem> </webcontextConfiguration>
- PalleteItem id, InstallFeature and Feature id must be the same as ID of a plug-in in update site.
- PalleteItem title, InstallFeature description and name are totally up to you
- Feature version must correspond to the value of the field Version in update site document.
- you should use nrpc (for some odd reason http didn’t work). Link can be obtain by going to actions menu of your update site database and select ShowURLs…
Go to your widget catalog database, create New widget, type in some custom data and import created extension.xml file. Save the document and you should have a widget, ready to deploy.
Tip: don’t forget to specify Widget category. We will go into details later. For now, just trust me.
Step 6 – Auto-install the plug-in
With widget created, it would be nice to auto deploy it. Good news is, that you can do that via Notes policy’s Desktop settings. Bad news is, it doesn’t work for everyone. Not quite sure why, but I have a hunch it has to do with people being logged in when policy was deployed.
The principle of this article is not to teach you how to create a policy. That is pretty straightforward. Let’s just look at your Desktop settings. You have a tab called Widgets. There you specify your server name (this must be a full qualified domain name, despite what help says) and category of widgets you want users to install. And here is the fiddly part. Forget to specify category and plug-in will not be deployed automatically. You can save other defaults or tinker with them, but beware that disallowing people to display My Widgets sidebar will bite you later on with users that didn’t get the plug-in auto installed. Save the setting document, include it in your Policy and deploy it.
Step 7 – Manually install the plug-in
Despite all your best efforts to automate the process, you will still have to do this for some users. Nothing fiddly there. just go to File->Preferences->Widgets, select Show widget toolbar and the my widgets sidebar panel and click OK. My widgets sidebar should now appear on the right. Right click on it and select Catalog->Update. This will force an update of user’s local widget catalog (which is created automatically) and thus trigger plug-in installation.
Step 8 – User input
I am positive that someone at Lotus had a good reason to notify a user about your intention to install the plug-in. However, there are two things wrong with this:
- It gives a user an option to prevent plug-in to install, even though, the policy demands it.
- Do not install option is selected by default.
This not only causes you more work (as you at least have to write an installation e-mail), but actually forces a user to think he/she did something he/she shouldn’t do.
When plug-in installs, user will have to reboot Notes client for changes to take effect.
Watch out for…
- There is no plug-in for Linux environment
- For some reason, plug-in installs well for Mac clients, but we had a case where suddenly, Lotus would consume all available resources on the machine and demand a hard reboot. Killing processes didn’t help.
Conclusion
In this article, I tried to present you with solution as to installing Cisco Click-to-call plug-in for Lotus Sametime. There are many fiddly steps you need to take, some of them unfortunately unnecessary. However, follow it, and you will successfully deploy Cisco Click-to-call functionality with your Sametime clients.
August 4th, 2009 at 14:30
Thank you. That’s a great write-up of a subject that’s very hard to get accurate information on.
I had tried to cover this process in much less detail and sophistication earlier: http://bloginprogress.us/blog/BlogInPr.nsf/dx/Click-to-Call.htm?opendocument&comments
October 8th, 2009 at 20:42
Thanks, this post is very helpful, I was wondering though, what settings you used for the LDAP settings in the configuration tool? I’m trying to configure this and I’m having some difficulty with it. Also could you explain more on the dialing rules?
October 13th, 2009 at 08:15
LDAP (what we did):
– set up server and port.
– set Display name attribute and Attribute for lookup in Sametime to cn
– set up authentication to LDAP
– left Directory usage section to default
– set directory type as Domino.
That was it really. However, you might want to consider using Network monitor like tool to check what is being sent from your PC to LDAP for instance.
As for dialing rules… Application dialing rules should be left empty. Directory lookup rules should look something like:
October 23rd, 2009 at 17:20
will this work with sametime entry server?
October 25th, 2009 at 09:49
I don’t see why not, although I cannot say for sure as we never used Entry Server. This is just a plugin, meaning that as long as you can install plugins to your Sametime clients or Sametime integrated clients, you should be ok.
November 3rd, 2009 at 06:03
Vladimir, that’s a great post to get people started with the Cisco Phone Control and Presence (PCAP) plug-in. As several people have commented, there’s not a lot of info available on this very capable add-in. A couple of clarifications on licensing and planning:
* If you have Cisco Call Manager and Cisco phones or IP Communicator, there’s no specific additional charge from Cisco for the plug-in.
* Anyone who uses a Sametime plug-in (including PCAP) needs to have a Sametime Standard license, not the IMLU entitlement that comes with Notes, or the Sametime Entry license that provides IM-only capabilities for non-Notes shops. The good news is that you can run both ST Standard and IMLU users on the same box (so you can just buy Standard licenses for a portion of your organization, or for your pilot group). Also, the plug-in works in both the standalone Sametime client and the integrated Notes 8.x Standard client.
* If you want to see phone presence in Sametime and certain Cisco phones, you need a Cisco Unified Presence Server and user licenses. Why would you want this? So you can see instantly if someone’s on the phone, and use that info in deciding who to communicate with and how.
* If you’re thinking about giving this a try, the biggest issue in the planning process is working out how to match Sametime users to Call Manager users for presence awareness.
Hope that helps a few Sametime/Cisco folks out there.
Rupert Clayton
Chicago
December 16th, 2009 at 14:13
On the http://www.cisco.com/en/US/docs/voice_ip_comm/cucibmlotus/cpcap/7x/english/user/guide/cpcapqsg.html#wp37953 web page there is a good guide about how to install Cisco Phone Control and Presence plug-in on a single machine by enabling File / Application / Install menu item. The plug-in works nicely for dialing from Sametime window, to my disappointment, however, it does not allow dialing external contacts from personal address book. Is there some way how to make these contacts available for dialing on Cisco phones?
June 9th, 2010 at 15:19
Hi. I am interested in getting this functionality working.
However I found a PDF entitled “Cisco Click-to Call Plug-In for IBM Lotus Sametime Configuration Overview”
This discusses a plug in that is installed onto the Sametime Server and connected to the Cisco Call Manager Server.
Are you saying that I could use either component to get the click to call capability. Which one is best approach?
Thanks
Mike
June 10th, 2010 at 08:38
As mentioned in the article, server plug-in enables you click to conference, which can connect Sametime to WebEx. We didn’t need that implementation so we skipped it. Another reason for not installing server plug-in was that there was only windows version of it. We are running Sametime on RHEL so it was a no-go from the start.
Tu summarize:
Client plugin: enables click-to-call functionality
Server plugin: enables click-to-conference functionality
July 30th, 2010 at 06:59
How did you learn about this? I was trying to find this information for days. Thanks again.
November 17th, 2010 at 18:30
Hi Vladimir
First I want to thank you for the great article.
I have a question for you, can I include more than one feature in the Extension.xml. The Cisco Plug-ins we’re trying to install are Voice mail, presence, and phone control, so they are 3 total (one for voice mail, one for phone control and one for the JTAPI from Cisco)
Can I add all threee PalleteItem in one Extensoin.xml
Thank you
Mostafa Salama
November 18th, 2010 at 08:52
I have never tried that myself. I would definitely try to add different plugins to the Extension.xml as palleteItems. I am not sure if this would work, though.
November 18th, 2010 at 14:28
I will try that and let you know.
But I tried to deploy the plug-in to standalone sametime connect client on a clean PC without even Lotus Notes Installed but no luck, I followed your instruction step by step down to step 4 but the plug-in did not installed
I am using Sametime connect client ver. 8.0.2 and the server is 8.0.2 as well. I don’t know what I am doing wrong.
Thank you for any help you can provide.
Mostafa Salama
November 20th, 2010 at 01:30
As far as I can remember, Sametime Connect client should have install plugin option. You can try to install plug-in manually and see why it fails. At the time of testing, the method I described worked. Granted though, we only use integrated clients, so I haven’t had much experience with standalone client.
Sametime connect client provisioning process is described at: http://www-01.ibm.com/support/docview.wss?rs=477&uid=swg21261055 . This site also contains links to deployment of plug-ins etc. Really useful stuff.
I hope this helps.
November 23rd, 2010 at 20:11
That’s a real great post, but we have still problems. We are using Domino 8.5.2 with Sametime 8.5.1 Standard (or Entry) Server and the embedded 8.5.1 Sametime client, and also Cisco phone control and presence plug-ins.
One problem is that we can’t get the telephone presence information in the embedded Sametime client. Although Click to call is working. I tried everything I know to display the presence icons.
The other problem is with the install of the Jtapi.feature-plugin with a widget. It’s getting installed, after a restart of the Notes-client it connects to the Cisco Call Manager and from there we get a newer version, which is also getting installed. After the next restart it wants to install the old version from the widget, and so on… I found an advice to take the new version of the jar-file and make a new widget from it, but there is no jar-file anywhere to find.
The problem is, nobody knows how to solve this, maybe you have an idea?
November 23rd, 2010 at 23:25
We are still using Sametime 8.0.1. Mostly because there is no real need to upgrade. Presence integration is a bit fiddly with this plug-in. Specially if your CUCM does not use user accounts from AD.
If I remember correctly, to enable presence, make sure that UserID in Notes address book is identical as in CUCM and presence server. If it is not identical, you won’t get it working at all.
We still have issues with presence using click-to-call plug-in. For instance, there are some users that still cannot connect to presence server. Me included. But it is working for vast majority of employees quite well.
As for JTAPI.feature-plugin. I never installed that, so I cannot help you there. Sorry. CUCM is pretty much a locked system. I think there is a way to crack it so that you can ssh on it. You can then check for JTAPI jar files. However, I would not advise this as it can cause all sorts of problems. I will try to ask someone with more experience on this and will let you know.
November 24th, 2010 at 10:54
Many thanks for your fast response, Vladimir. I’ll check the User IDs in our system.
Thank you also for your help, it’s rather difficult to find someone who knows about this matter.
November 24th, 2010 at 11:31
I have checked with an expert. Latest JTAPI can be accessed at your CUCM server. Login to it via web, then go to Application->Plugins and click Find. Search for suitable JTAPI and download it. However, one remark I was given. Apparently JTAPI is mostly used on servers and not on clients.
December 17th, 2010 at 08:12
Dear VLadimir,
I have followed your tutorial but i can only call using sametime from cisco ip communicator and cannot call from my deskphone.
Although i ticked enable control desk phone.
In lotus notes–> Preferences–>Cisco—> I can only see cisco ip communicator and no desk phone!
Could you please help, is there something to done on Call Manager?
Please help
December 17th, 2010 at 09:16
Are you sure your desktop phone is assigned to your username in CUCM?
December 18th, 2010 at 13:03
Hi,
Yes it is assigned:
I have followed the procedure below from cisco site:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucibmlotus/cpcap/8x/english/user/guide/cpcapqsg.html
Now i can see the option for deskphone in IBM lotus sametime, but when i entered my credentials, location of CUCM etc… it doesnt connect to the server, it says error connecting to the server.
In CUCM i have my username assigned to my deskphone.
Why is it unable to connect to CUCM? My version of CUCM is 6.0.1
Any help would be greatly appreciated
Thanks
December 18th, 2010 at 13:06
What i meant by it says error conecting to server, is in the troubleshooting windows in sametime, i.e. Lotus notes-> Preferences->Cisco->Phone->Troubleshooting.
Please help!
Thanks
Nawaz
December 18th, 2010 at 13:23
I am assuming you are using CUCM credentials to log in.
Can you check if you can connect to your CUCM via internet browser? This could be a firewall issue, thus checking if ports Sametime uses to connect to CUCM are open would not hurt.
December 18th, 2010 at 16:46
Hello Vladmir
Yes i can connect via internet browser with no problem. I can even log in user mode using my username and password.
DO you need something special to be configured on CUCM?
December 18th, 2010 at 19:29
As far as I can remember it was pretty straightforward. As long as you pass your CUCM credentials and have proper CUCM server stated, it never caused any issues.
May 26th, 2011 at 04:55
We are deploying Cisco\Sametime presence to our users (we use the external Sametime Client, v8.5). It works great, though whenever users roam to a different PC, it re-prompts them to install the plug-in. Thats resulting in a lot of complaints. Any experience with this?
May 26th, 2011 at 23:32
Never had roaming users, but my guess would be that plugins are installed per Notes client and not per profile. Hence, reinstall when roaming on another PC is understandable.