Module: kamailio
Branch: 5.2
Commit: 3300632cb397d49725fcd702b56a56229ed21719
URL:
https://github.com/kamailio/kamailio/commit/3300632cb397d49725fcd702b56a562…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/3300632cb397d49725fcd702b56a562…
Patch:
https://github.com/kamailio/kamailio/commit/3300632cb397d49725fcd702b56a562…
---
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;