Module: kamailio
Branch: master
Commit: 2ad6023432ae37b1709638ead2c77e1e4130678a
URL:
https://github.com/kamailio/kamailio/commit/2ad6023432ae37b1709638ead2c77e1…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2019-11-25T09:14:40+01:00
tm: initialize the context before running event route
---
Modified: src/modules/tm/uac.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2ad6023432ae37b1709638ead2c77e1…
Patch:
https://github.com/kamailio/kamailio/commit/2ad6023432ae37b1709638ead2c77e1…
---
diff --git a/src/modules/tm/uac.c b/src/modules/tm/uac.c
index 9af3da951a..1112d7758c 100644
--- a/src/modules/tm/uac.c
+++ b/src/modules/tm/uac.c
@@ -273,6 +273,9 @@ static inline int t_run_local_req(
tm_global_ctx_id.msgid=lreq.id;
tm_global_ctx_id.pid=lreq.pid;
set_t(new_cell, T_BR_UNDEFINED);
+
+ init_run_actions_ctx(&ra_ctx);
+
if(goto_on_local_req>=0) {
run_top_route(event_rt.rlist[goto_on_local_req], &lreq, &ra_ctx);
} else {