[SR-Users] How to set variable externally

Daniel-Constantin Mierla miconda at gmail.com
Fri Dec 21 16:46:03 CET 2012


Hello,

look at the code in pv module for the mi/rpc command shv_get.

Cheers,
Daniel

On 12/21/12 2:02 PM, Mino Haluz wrote:
> Ok I see that it is possible with pv module and shv_set MI command. 
> How can I get value of this shared variable inside code?
>
>
> On Fri, Dec 21, 2012 at 1:17 PM, Mino Haluz <mino.haluz at gmail.com 
> <mailto:mino.haluz at gmail.com>> wrote:
>
>     Hi,
>
>     I would like to set my custom different debug levels (with flag?)
>     externally with kamctl command. So I neednt restart kamailio if I
>     want to enable/disable debug.
>
>     Which module should I use in that case?
>
>     Thanks,
>     Mino
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121221/0450f6ed/attachment-0001.htm>


More information about the sr-users mailing list