[OpenSIPS-Users] log_next_state_dlg bogus events

Flavio Goncalves flavio at asteriskguide.com
Tue Mar 20 22:46:49 CET 2012


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>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<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
>> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.**com <http://www.opensips-solutions.com>
>
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120320/8501bfb2/attachment.htm>


More information about the Users mailing list