[sr-dev] git:5.2:a5713816: dialog: run dlg callbacks also for PRACK requests (as done for "other" requests)
Henning Westerholt
hw at skalatan.de
Tue Aug 20 22:28:51 CEST 2019
Module: kamailio
Branch: 5.2
Commit: a57138162a40390c245236a8ab693e62292d92ce
URL: https://github.com/kamailio/kamailio/commit/a57138162a40390c245236a8ab693e62292d92ce
Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-08-20T22:28:37+02:00
dialog: run dlg callbacks also for PRACK requests (as done for "other" requests)
- run dlg callbacks also for PRACK requests (as done for "other" requests)
- bugfix for uac module in auto mode with dialog storage for PRACK requests
(cherry picked from commit 4efe19f64d8bb787d2d620a833f5dd29619fa588)
---
Modified: src/modules/dialog/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/a57138162a40390c245236a8ab693e62292d92ce.diff
Patch: https://github.com/kamailio/kamailio/commit/a57138162a40390c245236a8ab693e62292d92ce.patch
---
diff --git a/src/modules/dialog/dlg_handlers.c b/src/modules/dialog/dlg_handlers.c
index 79a547aef1..ef36db8976 100644
--- a/src/modules/dialog/dlg_handlers.c
+++ b/src/modules/dialog/dlg_handlers.c
@@ -1451,7 +1451,7 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
goto done;
}
- if ( (event==DLG_EVENT_REQ || event==DLG_EVENT_REQACK)
+ if ( (event==DLG_EVENT_REQ || event==DLG_EVENT_REQACK || event==DLG_EVENT_REQPRACK)
&& (new_state==DLG_STATE_CONFIRMED || new_state==DLG_STATE_EARLY)) {
timeout = get_dlg_timeout(req);
More information about the sr-dev
mailing list