[OpenSER-Devel] [ openser-Bugs-1791953 ] missing dialog callback for ACK (dialog module)

SourceForge.net noreply at sourceforge.net
Mon Sep 10 22:41:58 CEST 2007


Bugs item #1791953, was opened at 2007-09-10 16:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1791953&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing dialog callback for ACK (dialog module)

Initial Comment:
Dialog callback are not run for ACKs.
Here's a small patch (for dev version) that will fix the issue.  Same patch can be applied to 1.2.

# svn diff
Index: dlg_handlers.c
===================================================================
--- dlg_handlers.c	(revision 2733)
+++ dlg_handlers.c	(working copy)
@@ -613,7 +613,7 @@
 		return;
 	}
 
-	if (event==DLG_EVENT_REQ && new_state==DLG_STATE_CONFIRMED) {
+	if ((event==DLG_EVENT_REQ || event==DLG_EVENT_REQACK) && new_state==DLG_STATE_CONFIRMED) {
 		DBG("DEBUG:dialog:dlg_onroute: sequential request successfully "
 			"processed\n");
 		dlg->lifetime = get_dlg_timeout(req);


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1791953&group_id=139143



More information about the Devel mailing list