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

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 25 10:30:19 CET 2012


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 a way to export these params with out the need to 
> pull them using kamctl.....
$Tb give you the startup time, you can do then diff with $Ts (current 
timestamp).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list