[Kamailio-Devel] cfgutils api
Elena-Ramona Modroiu
ramona at rosdev.ro
Tue Aug 26 11:10:11 CEST 2008
Juha Heinanen wrote:
> 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?
>
you can simply give NULL value as parameter.
Regards,
Ramona
> -- juha
>
>
More information about the Devel
mailing list