[SR-Users] Broadcasting message to users...

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 22 10:27:29 CET 2011


Hello,

On 11/20/11 8:41 PM, Krishna Kurapati wrote:
> Hi,
>
> During planned down time of Kamailio, I would like to send a Notice to 
> all the users currently registered
> on the system. It would be nice if it appears in their Chat windows. I 
> am thinking if I could loop through
> user_location table and send MESSAGE to individual user.
>
> What's the best way to accomplish this task?
>
>
one way is to fetch the users from subscriber or location tables, then 
use sipsak to send a message (-M):

http://sipsak.org/man-page.html

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list