[OpenSIPS-Users] radius acc in local_route on dialog timeout

Dani Popa dani.popa at gmail.com
Mon Jun 24 20:49:25 CEST 2013


Ok,

Thanks,
Dani


On Mon, Jun 24, 2013 at 5:36 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:

> **
> 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 Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Dani Popa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130624/ea10f43c/attachment.htm>


More information about the Users mailing list