cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
1599
Views
3
Helpful
4
Replies
upchaurasia
Contributor

Jabber API to push IM/Text from server to endpoint

Hi,

We want to push text from server to all Cisco Jabber client. Is there any API available for this?

Cisco Jabber SDK is best for point to point IM not for IM push from server side.

Regards,

Umesh

4 REPLIES 4
npetrele
Cisco Employee

Are you talking about using the Javascript SDK (CAXL)?  If so, you could simply create a master user with a contact list that includes everyone, and then iterate through the entity set and send the message to all the contacts in that set.  There's no "send to all people registered on the server" API that I know of.  I'm not sure that's even a capability in the XMPP specification, although I'd have to check to be sure.

Edited to add:  No, I don't see any XMPP specification for sending a message to all contacts.

Hi Nicholas Petreley

i have similar requirement. can you please give some more details on your example...

beerygaz
Beginner

I'm looking for the same.  A way to write a console application that interacts with Jabber users.  All I can see is AJAX JavaScript which is a web application.  Can I use some of the open source legacy Jabber projects? 

Alexey Smirnov
Enthusiast

If you are familiar with python you can use simple module like slixmpp mathieui/slixmpp · GitHub (it works with IM&Presence)

And as Nicolas suggested you can have a user with a contact-list containing all your users and send messages to all of them inside a script. Another option is to have a MUC (chat room) and to send announces through it (maybe with the help of this same slixmpp).

Content for Community-Ad

This widget could not be displayed.