Module: kamailio
Branch: master
Commit: 3008874c1971d09cb71cf8560fc280cfc305dadc
URL:
https://github.com/kamailio/kamailio/commit/3008874c1971d09cb71cf8560fc280c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-26T19:01:28+01:00
rtimer: use kemi wrapper to execute routing functions
---
Modified: src/modules/rtimer/rtimer_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3008874c1971d09cb71cf8560fc280c…
Patch:
https://github.com/kamailio/kamailio/commit/3008874c1971d09cb71cf8560fc280c…
---
diff --git a/src/modules/rtimer/rtimer_mod.c b/src/modules/rtimer/rtimer_mod.c
index 22141905b6..018986b663 100644
--- a/src/modules/rtimer/rtimer_mod.c
+++ b/src/modules/rtimer/rtimer_mod.c
@@ -201,7 +201,7 @@ void stm_timer_exec(unsigned int ticks, void *param)
if(keng==NULL) {
run_top_route(main_rt.rlist[rt->route], fmsg, 0);
} else {
- if(keng->froute(fmsg, EVENT_ROUTE, &rt->route_name, &evname)<0) {
+ if(sr_kemi_route(keng, fmsg, EVENT_ROUTE, &rt->route_name, &evname)<0)
{
LM_ERR("error running event route kemi callback [%.*s]\n",
rt->route_name.len, rt->route_name.s);
}