183 in accounting radius

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

183 in accounting radius

chamo
hello
i have little problem accounting
in Records in CDRTool, i see lines with status 183, which i suppose i
don't need to see
so i've tried to filter theses messages, but without sucess
i am using t_check_status , can i use this function only in
subfunctions? (ex. onreply_route..)
<pre>
route{
....
       if (is_method("INVITE") && t_check_status("200")) {
                setflag(1); # do accounting
                setflag(4); # acc radius
                $avp(s:can_uri) = $ru;
        }
....
</pre>

       
thanks a lot


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: 183 in accounting radius

Bogdan-Andrei Iancu
Hi,

Disable early_media accounting:
    http://www.opensips.org/html/docs/modules/1.4.x/acc.html#id270973

Be sure it is set to 0.

Regards,
Bogdan

chamo wrote:

> hello
> i have little problem accounting
> in Records in CDRTool, i see lines with status 183, which i suppose i
> don't need to see
> so i've tried to filter theses messages, but without sucess
> i am using t_check_status , can i use this function only in
> subfunctions? (ex. onreply_route..)
> <pre>
> route{
> ....
>        if (is_method("INVITE") && t_check_status("200")) {
>                 setflag(1); # do accounting
>                 setflag(4); # acc radius
>                 $avp(s:can_uri) = $ru;
>         }
> ....
> </pre>
>
>
> thanks a lot
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users