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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to