Re: [SR-Users] get the kamailio up time and other params from the cfg file.

2012-01-26 Thread Peter Dunkley
Hello, The dispatcher:dst-down and dispatcher:dst-up events are run once each time a destination goes up and down. So if you have three destinations in your set, and they all go down, dispatcher:dst-down will run three times. You can use $rm to find out which SIP method was in the request that c

Re: [SR-Users] get the kamailio up time and other params from the cfg file.

2012-01-25 Thread Yaron Nachum
Uri, I found something nice for U : http://www.kamailio.org/wiki/features/new-in-3.2.x#dispatcher There's a new route event when a destination goes down. You can use it in order to send event / write it to a local variable. The question is if there is a way to know which destination went down?

Re: [SR-Users] get the kamailio up time and other params from the cfg file.

2012-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/24/12 4:07 PM, Uri Shacked wrote: Hi, is there a way to get the total up time of kamailio from the cfg file? like $stat(used_size) gives me the stat of the shared memory used size. and if i am in it... is there a way to get the dispatcher status as well? i am trying to find

[SR-Users] get the kamailio up time and other params from the cfg file.

2012-01-24 Thread Uri Shacked
Hi, is there a way to get the total up time of kamailio from the cfg file? like $stat(used_size) gives me the stat of the shared memory used size. and if i am in it... is there a way to get the dispatcher status as well? i am trying to find a way to export these params with out the need to p