Module: kamailio
Branch: master
Commit: ef9924495dd007a5a7b7ab36049200e78e7ab10d
URL:
https://github.com/kamailio/kamailio/commit/ef9924495dd007a5a7b7ab36049200e…
Author: Nuno Ferreira <nferreira(a)fuze.com>
Committer: Nuno Ferreira <nferreira(a)fuze.com>
Date: 2020-08-07T19:20:00+01:00
siptrace: fix run_top_route() call to set ctx
- fix drop() usage in siptrace:msg event route
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ef9924495dd007a5a7b7ab36049200e…
Patch:
https://github.com/kamailio/kamailio/commit/ef9924495dd007a5a7b7ab36049200e…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 1b7b014d0e..2e8e690ac0 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -2053,7 +2053,7 @@ static int siptrace_exec_evcb_msg(siptrace_data_t *sto)
init_run_actions_ctx(&ctx);
if(_siptrace_evrt_msg_idx>=0) {
- run_top_route(event_rt.rlist[_siptrace_evrt_msg_idx], &msg, 0);
+ run_top_route(event_rt.rlist[_siptrace_evrt_msg_idx], &msg, &ctx);
} else {
keng = sr_kemi_eng_get();
if (keng!=NULL) {