Module: kamailio
Branch: 5.1
Commit: 144a49451387eee0cc75725af121348596184a7d
URL:
https://github.com/kamailio/kamailio/commit/144a49451387eee0cc75725af121348…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-20T22:28:41+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/144a49451387eee0cc75725af121348…
Patch:
https://github.com/kamailio/kamailio/commit/144a49451387eee0cc75725af121348…
---
diff --git a/src/modules/dialog/dlg_handlers.c b/src/modules/dialog/dlg_handlers.c
index 8d45d7818f..cb156e0f9d 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);