Module: kamailio Branch: master Commit: 4efe19f64d8bb787d2d620a833f5dd29619fa588 URL: https://github.com/kamailio/kamailio/commit/4efe19f64d8bb787d2d620a833f5dd29...
Author: Henning Westerholt hw@skalatan.de Committer: Henning Westerholt hw@skalatan.de Date: 2019-08-20T22:24:30+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
---
Modified: src/modules/dialog/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/4efe19f64d8bb787d2d620a833f5dd29... Patch: https://github.com/kamailio/kamailio/commit/4efe19f64d8bb787d2d620a833f5dd29...
---
diff --git a/src/modules/dialog/dlg_handlers.c b/src/modules/dialog/dlg_handlers.c index eebb1e502e..71f29e24fc 100644 --- a/src/modules/dialog/dlg_handlers.c +++ b/src/modules/dialog/dlg_handlers.c @@ -1472,7 +1472,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);