Hi Ashwini, if the flag 3 is for RADIUS accounting, it will not work, as there is support for automatic acc in local_route (yet). So, use acc_rad_request() from script directly.
Regards, Bogdan ASHWINI NAIDU wrote: > hi bogdan, > > I am referring to the stop time generated by radius which is > updated in radacct. Anyways i Have resolved the issue. > > > > On Mon, Apr 6, 2009 at 10:11 PM, Bogdan-Andrei Iancu > <[email protected] <mailto:[email protected]>> wrote: > > Hi Ashwini, > > What "stop" time are you refering to? > > Regards, > Bogdan > > ASHWINI NAIDU wrote: > > hi, > When the call controller sends a dlg_end_dlg to the 2 > end-points after the balance tends to nil. The internal bye is > entering the local_route but it is not updating the stop time. > > Below is the piece of code in local_route > > local_route { > > if ( method == "BYE") { > log(1,"\nInternal bye was generated\n"); > setflag(3); > unforce_rtp_proxy(); > acc_db_request("Internally generated BYE", "acc"); > }; > } > > > -- > Thanking You, > Ashwini BR Naidu > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > -- > Thanking You, > Ashwini BR Naidu _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
