[sr-dev] git:5.1:a09a57cd: topoh: execute the kemi event route callbacks with context
Daniel-Constantin Mierla
miconda at gmail.com
Wed Apr 10 11:35:36 CEST 2019
Module: kamailio
Branch: 5.1
Commit: a09a57cd6fca6790c496435794fab02695782596
URL: https://github.com/kamailio/kamailio/commit/a09a57cd6fca6790c496435794fab02695782596
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-04-10T11:34:52+02:00
topoh: execute the kemi event route callbacks with context
- manual backport for:
121282ac4986d6389a6dd64c35b77337a4ca256b
---
Modified: src/modules/topoh/topoh_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/a09a57cd6fca6790c496435794fab02695782596.diff
Patch: https://github.com/kamailio/kamailio/commit/a09a57cd6fca6790c496435794fab02695782596.patch
---
diff --git a/src/modules/topoh/topoh_mod.c b/src/modules/topoh/topoh_mod.c
index 1362f4cd7a..853140ff21 100644
--- a/src/modules/topoh/topoh_mod.c
+++ b/src/modules/topoh/topoh_mod.c
@@ -556,7 +556,7 @@ int th_execute_event_route(sip_msg_t *msg, sr_event_param_t *evp)
run_top_route(event_rt.rlist[_th_eventrt_outgoing], fmsg, &ctx);
} else {
if(keng!=NULL) {
- if(keng->froute(fmsg, EVENT_ROUTE,
+ if(sr_kemi_ctx_route(keng, &ctx, fmsg, EVENT_ROUTE,
&_th_eventrt_callback, &_th_eventrt_name)<0) {
LM_ERR("error running event route kemi callback\n");
p_onsend=NULL;
More information about the sr-dev
mailing list