[OpenSIPS-Users] Accounting 200 ACKS with Radius

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Nov 22 15:33:51 CET 2011


Maybe switching:
     modparam("acc", "report_ack", 0)

to 1 will help you.

Regards,
Bogdan

On 11/20/2011 12:50 AM, discodog62 at aol.com wrote:
> Here is the entire config.
>
> http://pastebin.com/ZJRNJupn
>
>
> -----Original Message-----
> From: Nick Khamis <symack at gmail.com>
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Sent: Sat, Nov 19, 2011 1:34 am
> Subject: Re: [OpenSIPS-Users] Accounting 200 ACKS with Radius
>
> 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,<discodog62 at aol.com  <mailto:discodog62 at aol.com>>  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
> >  Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
> >  http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111122/d5d4fa41/attachment-0001.htm>


More information about the Users mailing list