cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1867
Views
2
Helpful
5
Replies

MUC Jabber Sample Code Available?

jmennear
Cisco Employee
Cisco Employee

Would it be possible to get some sample code on doing a multi-user chat?

5 Replies 5

tinghche
Level 5
Level 5

Hi John,

Have you checked out the sample code "mucexample.html"?

Regards,

Howard

npetreley007
Level 1
Level 1

mucexample.html is in the CAXL SDK under doc/examples

You can also find the mucexample.html online here:

https://developer.cisco.com/media/AJAX-XMPP-Library-Index/examples/mucexample.html

Here's the link from the library index:

https://developer.cisco.com/site/collaboration/jabber/websdk/develop-and-test/im-and-presence/xmpp-library-reference/ind…

npetrele
Cisco Employee
Cisco Employee

Here are two samples (attached) updated to include jQueryUI.  npMucDemo works with the sandbox.  npjQueryUiDemoWebex works with webex. 

Nicholas,

This is great.  Anyone have an example an XMPP Client on 5222?

Thanks,

Mike

Hi Mike,

Cisco doesn't have an API for that, only CAXL, which is web-based and uses BOSH (7335), not 5222. 

You can use a variety of open source APIs that should work.  I've played with Smack (Java), and I found it very simple to use.

If you want to see how others do it, there are at least two open source Jabber clients that use XMPP and 5222.  Pidgin is one, Jitsi is another.  You can download the source for each and have a look.

Thanks,

Nicholas

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: