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@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel

Reply via email to