<font color='black' size='2' face='arial'><font class="Apple-style-span" face="Arial, Helvetica, sans-serif">Okay<font class="Apple-style-span" size="2"> So I am just thinking out loud here. Would I be able to use the dialog mod with this. </font></font>
<div style="color: black; font-size: 10pt; "><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><font class="Apple-style-span" size="2">I am accounting a fax call so I am getting 2 ACKS. One on </font>the<font class="Apple-style-span" size="2"> 200 connect and the second on the T38 re-invite. </font></font></div>
<div style="color: black; font-size: 10pt; "><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><font class="Apple-style-span" size="2">Would I be able to set some value in the dialog mod so that if ACK = 1 the I </font>don't<font class="Apple-style-span" size="2"> account for the second T38 ACK?</font></font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><font class="Apple-style-span" size="2"><br>
</font></font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><font class="Apple-style-span" size="2">Thanks again.</font></font></div>
<div><br>
<br>
<div style="font-family: arial, helvetica; font-size: 10pt; color: black; ">-----Original Message-----<br>
From: discodog62 <discodog62@aol.com><br>
To: users <users@lists.opensips.org><br>
Sent: Thu, Dec 8, 2011 9:17 am<br>
Subject: Re: [OpenSIPS-Users] Accounting 200 ACKS with Radius<br>
<br>
<div id="AOLMsgPart_2_37f79f15-82c4-4d87-a54e-136b2eb462b5">
<font color="black" size="2" face="arial"><font class="Apple-style-span" face="arial" size="2">I just moved updated to 1.7</font>
<div style="color: black; font-family: arial; font-size: 10pt; "><br>
</div>
<div><font class="Apple-style-span" face="arial" size="2">Can anyone point me in the right </font><font class="Apple-style-span" face="arial">direction</font><font class="Apple-style-span" face="arial" size="2"> so that I can do accounting on the 200 connect? I believe the documentation says that you can only set the accounting flag on a request route or failure route. I was hoping that I could account on a reply route. If I am not mistaken the rely route would be from my gateway and If I try to account the ACK I might get multiple ACKs.</font></div>
<div><font class="Apple-style-span" face="arial" size="2"><br>
</font></div>
<div>My goal is to only bill if the call actually connects. I would also like to be able to see the invite and the bye. </div>
<div><br>
</div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif">Any help would be appreciated.</font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif">Thanks,</font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif">James<br>
</font><br>
<div style="font-family: arial, helvetica; font-size: 10pt; color: black; ">-----Original Message-----<br>
From: Nick Khamis <<a href="mailto:symack@gmail.com">symack@gmail.com</a>><br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Sent: Sat, Nov 19, 2011 1:34 am<br>
Subject: Re: [OpenSIPS-Users] Accounting 200 ACKS with Radius<br>
<br>
<div id="AOLMsgPart_0_a8598edf-eb38-41b1-be51-6a749e66c907" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>Hard to say with just a route. Is it possible to post the rest of the config?
Nick.
On Fri, Nov 18, 2011 at 8:02 PM, <<a href="mailto:discodog62@aol.com">discodog62@aol.com</a>> wrote:
> Hello all,
> 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 moved to Radius for accounting my additional setflag does not seem to
> create a request to my radius server.
> I only get a start and a stop in my radius log. I am looking for my 200
> ACK.
> Here is my on reply route.
> onreply_route[2] {
> xlog("ACK with rs= $rs/ rb= $rb / fd= $fd / fu= $fu / rr= $rr / rs= $rs /
> Ri= $Ri / si= $si");
> if ($rs == "200" && $si == "xx.x.x.xx") {
> xlog("==ACC== $si | $rs ");
> setflag(1); # do accounting
> }
> if (has_body("application/sdp")) {
> xlog("Onreply 2 turn on rtp");
> rtpproxy_answer();
> }
> }
>
> Is there a flag that I am missing? Or syntax that I am not aware of?
> _______________________________________________
> Users mailing list
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
> <a target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
>
>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</tt></pre>
</div>
</div>
</div>
</font>
</div>
<!-- end of AOLMsgPart_2_37f79f15-82c4-4d87-a54e-136b2eb462b5 -->
<div id="AOLMsgPart_3_37f79f15-82c4-4d87-a54e-136b2eb462b5" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_3_37f79f15-82c4-4d87-a54e-136b2eb462b5 -->
</div>
</div>
</font>