<div>Thanks!</div><div> </div><div>It's working.<br><br></div><div class="gmail_quote">2012/9/10 Muhammad Shahzad <span dir="ltr"><<a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Set following modparam, and all AVPs will be visible in reply route as well,<div>
<br></div><div>modparam("tm", "onreply_avp_mode", 1)<br><div><br></div><div>Thank you.</div><div><br><br><div class="gmail_quote"><div><div class="h5">
On Mon, Sep 10, 2012 at 2:41 PM, Dragomir Haralambiev <span dir="ltr"><<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>></span> wrote:<br></div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div><div class="h5">
<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("acc", "detect_direction", 1)<br>modparam("acc", "log_level", 1)<br>
modparam("acc", "cdr_flag", 2) <br>modparam("acc", "failed_transaction_flag", 1)<br>modparam("acc", "log_flag", 1)<br>modparam("acc", "log_missed_flag", 1)</p>
<p>modparam("acc", "aaa_url", "radius:/etc/radiusclient-ng/radiusclient.conf")<br>modparam("acc", "aaa_extra", ".......<br> Billing-Info=$avp(bill_info);<br> .......")<br>
modparam("acc", "aaa_flag", 2) <br>modparam("acc", "aaa_missed_flag", 2)</p><p>....<br>$avp(bill_info)="set init value";<br>setflag(1); setflag(2);<br>t_relay(); </p><p>.....</p>
<div>onreply_route {<br> .....<br> $avp(bill_info)="new bill value";<br> ...<br>}</div><div> </div><div>Best regards,</div><div>PlayMen</div><div> </div><div> </div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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><span class="HOEnZb"><font color="#888888"><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: <a href="tel:%2B92%20334%20422%2040%2088" target="_blank" value="+923344224088">+92 334 422 40 88</a><br>MSN: <a href="mailto:shari_786pk@hotmail.com" target="_blank">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a><br>
</font></span></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>