I interpreted the question to be whether there is an event route/callback on graceful shutdown of Kamailio, such as with the receipt of SIGTERM or SIGINT.
I assume there is not, but it could be a nice feature. The OP's request could then be satisfied with uac_req_send().
-- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness.
Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
On Nov 22, 2011, at 4:27 AM, Daniel-Constantin Mierla miconda@gmail.com wrote:
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