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