[Users] AVP value to exec_dset

Marcello Lupo lupo at itspecialist.it
Mon Mar 13 14:45:09 CET 2006


Hi,
How to pass an avp value to the exec_dset function??
I already tried with (one or the other):

append_hf("Headertest: $avp(i:2)\r\n");

avp_pushto("$Headertest","i:2");

And after to use exec_dset with:

exec_dset("/usr/sbin/somescript.sh '$SIP_HF_HEADERTEST'")

But no one of the above have accomplished to pass the value to
exec_dmesg.
Have you any suggestion?? Even to pass the value without passing through
the header field that is not usefull for me, but directly form AVP to
exec_msg?

I'm using openser 1.0.0 cvs of 31/1/2006

Thanks,
Bye,
Marcello





More information about the Users mailing list