<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Tahoma';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
--></style>
</head><BODY ><div><SPAN style="font-family:'Arial';font-size:10pt;">Hi all,</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160;</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">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.</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160;</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">I tried these commands from route processing REGISTER message, but not sucess yet</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160;</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">insert_hf("credit-amount: $avp(s:h323-credit-amount)\r\n","SIP-AVP");</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;"># &#160; &#160; &#160; &#160;avp_pushto("$br","$avp(s:h323-credit-amount)"); &#160; </SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160; &#160; append_to_reply("Foo: $avp(s:h323-credit-amount)\r\n");</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160;</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Regards,</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160;</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Tung</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">&#160;</SPAN></div>
</body></html>