Module: kamailio
Branch: master
Commit: f66bbf48d04fc94cb3849cc977990ded935dffff
URL:
https://github.com/kamailio/kamailio/commit/f66bbf48d04fc94cb3849cc977990de…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-27T09:27:03+01:00
timer: use kemi wrapper to execute routing functions
---
Modified: src/modules/timer/timer.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f66bbf48d04fc94cb3849cc977990de…
Patch:
https://github.com/kamailio/kamailio/commit/f66bbf48d04fc94cb3849cc977990de…
---
diff --git a/src/modules/timer/timer.c b/src/modules/timer/timer.c
index f3e4fa1f04..9880a8420b 100644
--- a/src/modules/timer/timer.c
+++ b/src/modules/timer/timer.c
@@ -215,7 +215,7 @@ static ticks_t timer_handler(ticks_t ticks, struct timer_ln* tl, void*
data)
if(keng==NULL) {
run_actions(&ra_ctx, main_rt.rlist[a->route_no], msg);
} else {
- if(keng->froute(msg, EVENT_ROUTE, &a->route_name, &evname)<0) {
+ if(sr_kemi_route(keng, msg, EVENT_ROUTE, &a->route_name, &evname)<0) {
LM_ERR("error running event route kemi callback\n");
}
}