06-01-2015 11:43 PM
Hello
I am looking for a way using which i can pop-up Cisco Jabber chat window with chat to a particular user in my organization.
For example the i have jabber id of a user, let say it is example@example.com, I have a button on a web-page, now what I want is to open chat with example@example.com, on clicking that button on my web-page. Kindly guide me how to achieve this task.
Regards
Solved! Go to Solution.
06-03-2015 12:17 PM
You can use xmpp links to handle group chat. There's no single URI for it - you have to do things like join or invite with different URIs. Here's the specification, which should help you sort out what to do.
Also, here's a link that includes optional means of using the xmpp: URI for chatting, specifying groups and roster:
XEP-0147: XMPP URI Scheme Query Components
EDIT: I just tested one of the xmpp: URIs for inviting someone to chat, and it didn't work. I'm going to contact the engineers to find out if this is supported or not.
06-02-2015 07:02 AM
There's no single way to do that. I used materialize.js in the demo posted here:
Jabber SDK Chat Demo with Material Design
You could use jQuery UI to do it, or simply write your own Javascript to pop up the window. I suggest you look at the demo programs that come with the Jabber SDK (CAXL), and perhaps look at my demo linked above for examples to follow. The demo programs that come with the SDK are simpler, so probably a preferable place to start.
06-02-2015 08:11 AM
Thankyou Nicolas.
The example you have shared above, is performing a set of jabber guest functionality, using SDK, what I am looking for is a solution which simply pop-up the Cisco Jabber client's chat window with chat started with a particular user. I have looked in to SDK demos, but am unable to find a proper solution for that kind of thing. I would like to have a solution using javascript/jquery as you have suggested above.
Regards
06-02-2015 08:17 AM
Okay, I misunderstood. You want to use the native Jabber client, correct? Ok, then this is the standard way of doing what you want, although if I recall correctly, this doesn't work as expected on earlier versions of Cisco Jabber. I have to run right now, but I'll double-check on that when I get back. Anyway, here's the example URI (ignore the mail icon thing - the forum software is putting that in):
xmpp:example@example.com?message;subject=Testing%20Message;body=This%20is%20a%20test
06-02-2015 08:20 AM
thankyou Nicolas.
yes, i needed chat window from native jabber client installed on user's computer, but the chat window pop-up has to be triggered from a web-page. Also i have latest version of jabber i.e. 10.5.
regards
06-02-2015 10:11 AM
The example above should work for you. im: is an alternative to xmpp: if for some reason xmpp: doesn't work.
Just wrap it in an "a href" tag, with the above example in the quotes for href="".
06-02-2015 11:16 PM
Thank you very much Nicholas.
The above example for using native jabber client is working perfectly fine.
Can i use this XMPP link to start a group chat with more than one user? If yes what is the limit of user I can have in a group chat?
Regards
06-03-2015 12:17 PM
You can use xmpp links to handle group chat. There's no single URI for it - you have to do things like join or invite with different URIs. Here's the specification, which should help you sort out what to do.
Also, here's a link that includes optional means of using the xmpp: URI for chatting, specifying groups and roster:
XEP-0147: XMPP URI Scheme Query Components
EDIT: I just tested one of the xmpp: URIs for inviting someone to chat, and it didn't work. I'm going to contact the engineers to find out if this is supported or not.
06-04-2015 09:40 AM
Here's the documentation for URIs in Jabber for Windows 10.6:
Apparently, you create a chat room this way (this invites the two people msmith and amckenzi):
href="XMPP:msmith@domain;amckenzi@domain"
My mistake was I was following the part of the XEP specification that requires you to specify the room name and fully qualified domain. The above doesn't include that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide