[Serusers] BYE's not accounted

Enrique Vadillo evadillo at millicom.net.pe
Thu Sep 1 20:19:16 CEST 2005


Some SIP Agents don't send the BYEs, are you sure this is not the case?
it happened to me a while ago with the infamous X-Pro 2.0 which never
sent BYEs..

try to trace your accounting packets, use any debug features you have.

Enrique Vadillo.

Ashutosh Kumar <ashutoshk at chetu.com> escribió:

> HI,
> 
>             My BYE's are not getting accounted in the mysql DB, though
> all
> other messages are getting reflected. I have put setflag for all
> messages,
> at the beginning of cfg.
> 
> My relevant ser.cfg code is following.
> 
>  
> 
> .....
> 
> .....
> 
>         if (loose_route()) {
> 
>  
> 
>                 if (has_totag() && (method=="INVITE" || method=="ACK"))
> {
> 
>  
> 
>                         if (client_nat_test("3") ||
> search("^Route:.*;nat=yes")) {
> 
>                                 setflag(6);
> 
>                                 use_media_proxy();
> 
>                         };
> 
>                 };
> 
>  
> 
>                 route(1);
> 
>                 break;
> 
>         };
> 
>  
> 
>                 setflag(1);
> 
> .....
> 
> .....
> 
>  
> 
> Please guide.
> 
>  
> 
>  
> 
> Regards,
> 
> Ashutosh Kumar
> 
> 




More information about the sr-users mailing list