Hello,

The prack is for the initial INVITE establishing the call. No re-INVITE messages are generated in the dialog.

--Olli

Message: 11
Date: Fri, 28 Jun 2019 08:35:09 +0200
From: Daniel-Constantin Mierla <miconda@gmail.com>
To: "Kamailio (SER) - Users Mailing List"
        <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] Kamailio next_state_dlg(): bogus event
Message-ID:
        <CAFRry4XAF5qYqRxgJA4tzsuUt-56ON1KnzzwvJnxeKOdTUaxSA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,
is the PRACK following a re-INVITE or is for the initial INVITE
establishing the call?

Cheers,
Daniel

On Fri, Jun 28, 2019 at 8:13 AM Olli Attila <attiolli@gmail.com> wrote:

> Hello,
>
> I'm getting this error in Kamailio log every now and then. Can anyone
> suggest methods to debug this further for root cause?
>
> Jun 27 10:04:09  /usr/sbin/kamailio[26341]: CRITICAL: dialog
> [dlg_hash.c:1098]: next_state_dlg(): bogus event 5 in state 4 for dlg
> 0x7fceeabf8d38 [749:3185] with clid
> 'SDceked01-e4d2e93d7f9ffe88907206a25ccdbcc2-v300g00030' and tags
> 'SDceked01-ecd4281b' '14001358846426'
>
> Behaviour in the call:
> When I look at the SIP flow from this call I can see that a PRACK
> message which is routed to Kamailio gets discarded (=the proxy does
> not route the PRACK onwards to the UA that requested the usage of the
> 100rel in 183 session progress message.) The PRACK message itself
> seems valid and when compared to a PRACK from a working call, there is
> no difference in the content.
>
> Cheers,
> Olli