<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-size:10pt;">Anyone should please help me on this?</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;">Regards,</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;">Tung<br /><br /></span></div>
<div><SPAN style="font-size:10pt;color:navy;">> Hi all,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> I am trying to get some AVP value from radius and insert into the</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> SIP messages. I am OK to get the AVPs from radius but dont know how</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> to insert these values into reply messages ( 200 OK for Register</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> and Invite request). Should someone help which command should be</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> used on this case.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> I tried these commands from route processing REGISTER message, but</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> not sucess yet</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> insert_hf("credit-amount: $avp(s:h323-credit-amount)\r\n","SIP-</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> AVP"); #        avp_pushto("$br","$avp(s:h323-credit-amount)");    </SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">>   append_to_reply("Foo: $avp(s:h323-credit-amount)\r\n");  </SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Regards,   Tung  </SPAN></div>
</body></html>