<font color='black' size='2' face='arial'>
<div style="background-color: white; font-family: Arial, sans-serif; font-size: 10pt; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
<div id="AOLMsgPart_1_b0e5bf39-cdca-4986-bb5b-bc2fc7dc24d6"><font color="black" size="2" face="arial"><font class="Apple-style-span" face="arial" size="2">Hello all,</font>
<div><font class="Apple-style-span" face="arial" size="2">I have opensips 1.6 and I am using the radius accounting. Everything is working great. What I am trying to do is also account the 200 ACK on a call connect. When I was using the database to log CDR's it was working. Now that I </font><font class="Apple-style-span" face="arial">moved</font><font class="Apple-style-span" face="arial" size="2"> to Radius for accounting my additional setflag does not seem to create a request to my radius server.</font></div>
<div><font class="Apple-style-span" face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="arial" size="2">I only get a start and a stop in my radius log. I am looking for my 200 ACK.</font></div>
<div><font class="Apple-style-span" face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="arial" size="2">Here is my on reply route.</font></div>
<div><font class="Apple-style-span" face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="arial" size="2">
<div>onreply_route[2] {</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>xlog("ACK with rs= $rs/ rb= $rb / fd= $fd / fu= $fu / rr= $rr / rs= $rs / Ri= $Ri / si= $si");</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>if ($rs == "200" && $si == "xx.x.x.xx") {</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span> xlog("==ACC== $si | $rs ");<span class="Apple-tab-span" style="white-space: pre; ">        </span></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">                </span>setflag(1); # do accounting</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>}</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>if (has_body("application/sdp")) {</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span> xlog("Onreply 2 turn on rtp");</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">                </span>rtpproxy_answer();</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>}</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span></div>
<div>}</div>
<div><br>
</div>
<div><br>
</div>
<div>Is there a flag that I am missing? Or syntax that I am not aware of?</div>
</font></div>
</font></div>
</div>
</font>