Module: kamailio
Branch: master
Commit: 9eafd82c3e29ec4480bc5be3e6aa1e9d66243dc5
URL:
https://github.com/kamailio/kamailio/commit/9eafd82c3e29ec4480bc5be3e6aa1e9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-10T10:15:09+02:00
htable: execute the kemi event route callbacks with context
---
Modified: src/modules/htable/htable.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9eafd82c3e29ec4480bc5be3e6aa1e9…
Patch:
https://github.com/kamailio/kamailio/commit/9eafd82c3e29ec4480bc5be3e6aa1e9…
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 268241cf3c..4d70d6e317 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;