[OpenSIPS-Users] Stop time is not Updated by the internal bye in Local_route

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 8 14:59:44 CEST 2009


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 
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> 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
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>          
>
>
>
>
>
> -- 
> Thanking You,
> Ashwini BR Naidu




More information about the Users mailing list