[sr-dev] git:master:e5bffb30: htable: use kemi wrapper to execute routing functions
Daniel-Constantin Mierla
miconda at gmail.com
Tue Feb 26 19:12:05 CET 2019
Module: kamailio
Branch: master
Commit: e5bffb306c45f7a0f0f672368884f430d63c09ba
URL: https://github.com/kamailio/kamailio/commit/e5bffb306c45f7a0f0f672368884f430d63c09ba
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-26T19:09:44+01:00
htable: use kemi wrapper to execute routing functions
---
Modified: src/modules/htable/ht_api.c
Modified: src/modules/htable/htable.c
---
Diff: https://github.com/kamailio/kamailio/commit/e5bffb306c45f7a0f0f672368884f430d63c09ba.diff
Patch: https://github.com/kamailio/kamailio/commit/e5bffb306c45f7a0f0f672368884f430d63c09ba.patch
---
diff --git a/src/modules/htable/ht_api.c b/src/modules/htable/ht_api.c
index f129c5d48f..9809f107ea 100644
--- a/src/modules/htable/ht_api.c
+++ b/src/modules/htable/ht_api.c
@@ -1128,7 +1128,7 @@ void ht_handle_expired_record(ht_t *ht, ht_cell_t *cell)
run_top_route(event_rt.rlist[ht->evex_index], fmsg, 0);
} else {
if(keng!=NULL) {
- if(keng->froute(fmsg, EVENT_ROUTE,
+ if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
&ht_event_callback, &ht->evex_name)<0) {
LM_ERR("error running event route kemi callback\n");
}
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 580e3bc881..268241cf3c 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(keng->froute(fmsg, EVENT_ROUTE,
+ if(sr_kemi_route(keng, 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