07-17-2015 01:19 AM
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
07-17-2015 07:16 AM
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.
09-23-2015 10:47 PM
Hi Nicholas Petreley
i have similar requirement. can you please give some more details on your example...
10-26-2015 12:31 AM
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?
10-26-2015 01:48 AM
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).
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