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

2011-11-22 Thread Daniel-Constantin Mierla
On 11/22/11 10:45 AM, Alex Balashov wrote: 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. Since it was about planned down time, I guess there is an admin that can trigger (or schedule

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

2011-11-22 Thread Alex Balashov
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 pa

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

2011-11-22 Thread Daniel-Constantin Mierla
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

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

2011-11-20 Thread Krishna Kurapati
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