El Monday 05 November 2007 18:45:52 Tung Tran escribió:
Anyone should please help me on this?
Regards,
Tung
> Hi all,
>
> I am trying to get some AVP value from radius and insert into the
> SIP messages. I am OK to get the AVPs from radius but dont know how
> to insert these values into reply messages ( 200 OK for Register
> and Invite request). Should someone help which command should be
> used on this case.
>
> I tried these commands from route processing REGISTER message, but
> not sucess yet
>
> insert_hf("credit-amount: $avp(s:h323-credit-amount)\r\n","SIP-
> AVP"); #
avp_pushto("$br","$avp(s:h323-credit-amount)");
> append_to_reply("Foo: $avp(s:h323-credit-amount)\r\n");
> Regards, Tung
Take care of this porint:
http://www.openser.org/dokuwiki/doku.php/troubleshooting:avp
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es