[sr-dev] git:master:01a02091: core: init actions context for running event_route[core:msg-received]

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 1 15:09:30 CET 2019


Module: kamailio
Branch: master
Commit: 01a02091835651d8eccdba05887a4f2e6f8af725
URL: https://github.com/kamailio/kamailio/commit/01a02091835651d8eccdba05887a4f2e6f8af725

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-03-01T15:05:36+01:00

core: init actions context for running event_route[core:msg-received]

---

Modified: src/core/receive.c

---

Diff:  https://github.com/kamailio/kamailio/commit/01a02091835651d8eccdba05887a4f2e6f8af725.diff
Patch: https://github.com/kamailio/kamailio/commit/01a02091835651d8eccdba05887a4f2e6f8af725.patch

---

diff --git a/src/core/receive.c b/src/core/receive.c
index 7f677865cd..dd9248c721 100644
--- a/src/core/receive.c
+++ b/src/core/receive.c
@@ -200,6 +200,7 @@ int ksr_evrt_received(char *buf, unsigned int len, receive_info_t *rcv_info)
 	ksr_evrt_rcvnetinfo = &netinfo;
 	set_route_type(REQUEST_ROUTE);
 	fmsg = faked_msg_get_next();
+	init_run_actions_ctx(&ra_ctx);
 	if(keng) {
 		bctx = sr_kemi_act_ctx_get();
 		sr_kemi_act_ctx_set(&ra_ctx);




More information about the sr-dev mailing list