[Kamailio-Devel] dialog:log_next_state_dlg: bogus event 2 in state 3

Ovidiu Sas osas at voipembedded.com
Thu Mar 12 14:07:50 CET 2009


I am testing a backport from opensips.  If everything goes well, I
will do the backport.

Regards,
Ovidiu Sas

On Thu, Mar 12, 2009 at 9:02 AM, Alex Hermann <alex at speakup.nl> wrote:
> On Thursday 05 March 2009, Ovidiu Sas wrote:
>> This is a known bug in the dialog state machine: a race between 200ok and
>> ack. It has not been fixed yet.
>
> Is the fix Bogdan created for opensips also usable on Kamailio, or is the
> dialog handling too much different between Kamailio and opensips?
>
>
> Index: kamailio-1.4/modules/dialog/dlg_handlers.c
> ===================================================================
> --- kamailio-1.4.orig/modules/dialog/dlg_handlers.c     2009-03-12 13:53:57.000000000 +0100
> +++ kamailio-1.4/modules/dialog/dlg_handlers.c  2009-03-12 13:55:07.000000000 +0100
> @@ -477,7 +477,7 @@
>        }
>
>        if ( d_tmb.register_tmcb( 0, t,
> -                                 TMCB_RESPONSE_OUT|TMCB_TRANS_DELETED|TMCB_RESPONSE_FWDED,
> +                                 TMCB_RESPONSE_PRE_OUT|TMCB_TRANS_DELETED|TMCB_RESPONSE_FWDED,
>                                  dlg_onreply, (void*)dlg)<0 ) {
>                LM_ERR("failed to register TMCB\n");
>                goto error;
>
>
>
> --
> Greetings,
>
> Alex Hermann
>
>
> _______________________________________________
> Kamailio (OpenSER) - Devel mailing list
> Devel at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list