[OpenSIPS-Users] radius acc in local_route on dialog timeout
    Bogdan-Andrei Iancu 
    bogdan at opensips.org
       
    Mon Jun 24 16:36:49 CEST 2013
    
    
  
Hi Dani,
Unfortunately the flag-based acc does not work for local route; the
flag-based acc is designed for proxies transactions, not for UAC-like
transactions (generated by OpenSIPS).
I suggest you to use the manual accounting in this case.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 06/18/2013 07:10 PM, Dani Popa wrote:
> Hi all,
> I use acc with radius and  when i set accountig flag in local_route  i
> dont receive any accountig request on radius server.  As I see
> local_route was hit twice on "dialog timeout" and i dont understand
> when and how many request should i receive on accounting if should i
> receive accounting request. Or should i user radius_send_acc in this case.
>
>
>
> this is my local_route
>
> local_route {
>        xlog"local route");
>         if (is_method("BYE")) {
>                 xlog("acc 1");
>                 setflag(ACCOUNTING_FLAG);
>                 #acc_db_request("200 Dialog Timeout", "acc");
>
>         }
> }
>
>
> Thanks,
> -- 
> Dani Popa
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130624/4202f730/attachment.htm>
    
    
More information about the Users
mailing list