[sr-dev] CRITICAL:dialog:log_next_state_dlg: bogus event 7 in state 2 for dlg

Timo Reimann timo.reimann at 1und1.de
Thu Jul 8 19:03:33 CEST 2010


Hey Iñaki,


Iñaki Baz Castillo wrote:
> Hi, what that this error mean? which is event 7 in a dialog?
> 
>   CRITICAL:dialog:log_next_state_dlg: bogus event 7 in state 2 for dlg
> 0x7f1105c7e598 [2729:1042665525] with clid
> '3734640b7ab3a9e733456af9053c4c13 at XXX.XXX.XXX.XXX' and tags
> 'as61eee052' ''
> 
> I use Kamailio 1.5.4 in which AFAIK the race condition between the ACK
> and 200 is solved with a callback (now included in 3.X).

"Bogus event 7 in state 2" isn't the race condition (that should be
"bogus event 6 in state 2"). It means that the proxy received a BYE
request (event 7) for a call in the "early" state (state 2).

Of course, sending in-early-dialog BYE requests is perfectly fine, so
this log message about a bogus event is, in fact, bogus. :) It was fixed
by me last week or so in sr_3.0, kamailio_3.0, and just on last Monday
in Kamailio 1.5 SVN too. Check out the SVN log:


$ svn log -r 6014
------------------------------------------------------------------------
r6014 | mariuszbihlei | 2010-07-05 16:46:48 +0200 (Mo, 05 Jul 2010) | 4
lines

Do not consider in-early-dialog BYE requests to be bogus.
Patch from Timo Reimann (timo.reimann at 1und1  dot de )


Consequently, the wrong bogus message shouldn't show up in latest
Kamailio SVN anymore.


Cheers,

--Timo



More information about the sr-dev mailing list