Set following modparam, and all AVPs will be visible in reply route as well,<div><br></div><div>modparam(&quot;tm&quot;, &quot;onreply_avp_mode&quot;, 1)<br><div><br></div><div>Thank you.</div><div><br><br><div class="gmail_quote">
On Mon, Sep 10, 2012 at 2:41 PM, Dragomir Haralambiev <span dir="ltr">&lt;<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hello, </div><div><br>I need to change accounted AVPs values on onreply_route.<br>How to do that?<br></div><div>Here is example:</div><p>modparam(&quot;acc&quot;, &quot;detect_direction&quot;, 1)<br>modparam(&quot;acc&quot;, &quot;log_level&quot;, 1)<br>

modparam(&quot;acc&quot;, &quot;cdr_flag&quot;, 2)  <br>modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, 1)<br>modparam(&quot;acc&quot;, &quot;log_flag&quot;, 1)<br>modparam(&quot;acc&quot;, &quot;log_missed_flag&quot;, 1)</p>

<p>modparam(&quot;acc&quot;, &quot;aaa_url&quot;, &quot;radius:/etc/radiusclient-ng/radiusclient.conf&quot;)<br>modparam(&quot;acc&quot;, &quot;aaa_extra&quot;,   &quot;.......<br>    Billing-Info=$avp(bill_info);<br>    .......&quot;)<br>

modparam(&quot;acc&quot;, &quot;aaa_flag&quot;, 2) <br>modparam(&quot;acc&quot;, &quot;aaa_missed_flag&quot;, 2)</p><p>....<br>$avp(bill_info)=&quot;set init value&quot;;<br>setflag(1); setflag(2);<br>t_relay(); </p><p>.....</p>

<div>onreply_route {<br> .....<br> $avp(bill_info)=&quot;new bill value&quot;;<br> ...<br>}</div><div> </div><div>Best regards,</div><div>PlayMen</div><div> </div><div> </div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>CISCO Certified Network Associate (CCNA)<br>
Cell: +92 334 422 40 88<br>MSN: <a href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>
</div></div>