[sr-dev] git:5.2:3300632c: htable: execute the kemi event route callbacks with context
Daniel-Constantin Mierla
miconda at gmail.com
Wed Apr 10 10:52:57 CEST 2019
Module: kamailio
Branch: 5.2
Commit: 3300632cb397d49725fcd702b56a56229ed21719
URL: https://github.com/kamailio/kamailio/commit/3300632cb397d49725fcd702b56a56229ed21719
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-04-10T10:50:30+02:00
htable: execute the kemi event route callbacks with context
(cherry picked from commit 9eafd82c3e29ec4480bc5be3e6aa1e9d66243dc5)
---
Modified: src/modules/htable/htable.c
---
Diff: https://github.com/kamailio/kamailio/commit/3300632cb397d49725fcd702b56a56229ed21719.diff
Patch: https://github.com/kamailio/kamailio/commit/3300632cb397d49725fcd702b56a56229ed21719.patch
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 264d04a593..8c4cdea09b 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -288,7 +288,7 @@ static int child_init(int rank)
run_top_route(event_rt.rlist[rt], fmsg, &ctx);
} else {
if(keng!=NULL) {
- if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
+ if(sr_kemi_ctx_route(keng, &ctx, fmsg, EVENT_ROUTE,
&ht_event_callback, &evname)<0) {
LM_ERR("error running event route kemi callback\n");
return -1;
More information about the sr-dev
mailing list