[Kamailio-Devel] cfgutils api

Juha Heinanen jh at tutpro.com
Tue Aug 26 11:00:32 CEST 2008


Elena-Ramona Modroiu writes:

 > it is no need for that. You can get/set a shared variable via the PV 
 > engine API.

elena,

thank you very much for the advice.  one problem:

 > Then, at runtime, you can use the setf function from spec:
 > 
 > spec.setf(msg, &spec.pvp, EQ_T, &value);

i want to set the value in mod_init or via mi command, where there is no
msg associated, which shared variables should not need, right?

if so, can i just pass a dummy msg variable to spec.setf or what?

-- juha



More information about the Devel mailing list