Hello,

this feature is available only on the development version of openser, in is not included in 1.0.1 or below. However, the syntax is:

exec_dset("/usr/sbin/somescript.sh '$avp(i:2)'")

Cheers,
Daniel


On 03/13/06 15:45, Marcello Lupo wrote:
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


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to