From osas@voipembedded.com Mon Jun 14 15:18:43 2010 From: Ovidiu Sas To: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Dialog module: "CRITICAL bogus event 6 in state 2 Date: Mon, 14 Jun 2010 09:18:35 -0400 Message-ID: In-Reply-To: <20100614130145.51840@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1706859888==" --===============1706859888== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Klaus, It is a race between the 200ok being sent out and the update of the dialog state machine. The ACK is received while the dialog state machine was not updates for the previously sent 200ok. IIRC, in opensips this was fixed by introducing a new tm callback in order to update the dialog state machine as soon as the 200ok was sent out. For now, the only way to avoid this issue is to run with one single listener. This will keep the ACK into the received queue until the listener finishes the processing of received 200ok. Regards, Ovidiu Sas On Mon, Jun 14, 2010 at 9:01 AM, Klaus Feichtinger wrote: > Hello Ovidiu, > > I've been testing reproducablility of the described error and found that it= is reproducable in "standard" mode onyl. This should mean: forked applicatio= n with child processes. As soon as I start the application even as non-forked= or with only one child (children=3D1), the error was not reproducable until = now. I've fastened reproduction with SIPp the call generating tool and in sta= ndard mode this error messages are visible after about 1-2 minutes (the call = rate is one call per second with a pause of 1500ms between ACK and the follow= ing BYE). > > Under these test circumstances no subscription for presence or dialog state= was active; it was tested on a "isolated" server where no other UAs were act= ive; only SIPp and one other UA were active. > > I found that this problem is UserAgent-independent, too. Do you have an ide= a how to find out any more details about this problem? > > regards, > > Klaus Feichtinger > >> Datum: Thu, 10 Jun 2010 22:24:52 +0200 >> Von: Klaus Feichtinger >> An: Ovidiu Sas >> CC: sr-dev(a)lists.sip-router.org >> Betreff: Re: [sr-dev] Dialog module: "CRITICAL bogus event 6 in state 2 > >> Hello, >> >> according tcpdump-traces on the linux machine and log entries in syslog >> (see below) the 200 OK passed the SIP Router (this means - the call was >> accounted and afterwards the bogus event was noted): >> >> Jun 10 18:29:09 debian /usr/sbin/kamailio[20026]: INFO: