[OpenSIPS-Users] log_next_state_dlg bogus events

Vlad Paiu vladpaiu at opensips.org
Wed Mar 21 11:10:48 CET 2012


Hi Flavio,

According to the RFC, the callee side must not send a BYE for a dialog 
in early state.
I have just edited the dialog state machine to no longer log BYEs from 
the caller's side for dialogs in early state as bogus.

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 03/20/2012 11:46 PM, Flavio Goncalves wrote:
> Hi Jan,
>
> I had the same issue recently, I have captured some packets at the 
> same exact time of the messages. In some cases, if your system becomes 
> unresponsive for a few seconds, CANCELs were not relayed by the proxy 
> (actually I saw several requests without any reply for some time). 
> Then, the other side sent a BYE (some sort of timeout I believe) in 
> early state because it didn't receive the CANCEL request. This 
> was happening because of a MYSQL stored procedure (billing) closing 
> records in a large database with millions of acc records, mysqld was 
> going to 100% and blocking the system. I stopped the stored procedure 
> and the system stopped presenting these messages. So, maybe this is 
> something to worry about. I hope you don't have the same issue, but I 
> believe it is worth to check.
>
> Flavio E. Goncalves
>
>
>
> On Wed, Mar 14, 2012 at 3:08 PM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Jan,
>
>     I was just saying to Max (see the other email) that BYE instead
>     CANCEL seems to be according to RFC; and as the dialog module has
>     nothing to do on a BYE in early state, we could simply remove the
>     error log and let the callee to decide if the BYE should be
>     accepted or not.
>
>     Regards,
>     Bogdan
>
>
>     On 03/14/2012 03:24 PM, Jan D. wrote:
>
>         Bogdan,
>
>         Thanks for the quick reply. I understand my programming at
>         least is OK. The
>         critical log entries are just inconvenient when reading the
>         log files.
>         Returning a 501 works for x-lite, it then comes back with a
>         Cancel. If not
>         returning a 501 strange things happen (INVITE to failover etc).
>
>         I only see the problem only with x-lite clients. Do you know
>         that sending a
>         BYE before a Cancel is 'wrong'? If so I can open a bug report
>         with X-lite.
>
>         Gr.
>
>         Jan
>
>
>         --
>         View this message in context:
>         http://opensips-open-sip-server.1449251.n2.nabble.com/log-next-state-dlg-bogus-events-tp7354379p7371762.html
>         Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>     -- 
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20120321/ceb6d2ac/attachment-0001.htm>


More information about the Users mailing list