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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to