[Users] AVP value to exec_dset

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Mar 13 15:30:54 CET 2006


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
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the sr-users mailing list