[OpenSER-Devel] [ openser-Bugs-1791953 ] missing dialog callback
for ACK (dialog module)
SourceForge.net
noreply at sourceforge.net
Sat Oct 20 21:01:17 CEST 2007
Bugs item #1791953, was opened at 2007-09-10 23:41
Message generated for change (Settings changed) made by bogdan_iancu
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: Bogdan (bogdan_iancu)
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