[sr-dev] git:master:f66bbf48: timer: use kemi wrapper to execute routing functions

Daniel-Constantin Mierla miconda at gmail.com
Wed Feb 27 09:27:31 CET 2019


Module: kamailio
Branch: master
Commit: f66bbf48d04fc94cb3849cc977990ded935dffff
URL: https://github.com/kamailio/kamailio/commit/f66bbf48d04fc94cb3849cc977990ded935dffff

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/f66bbf48d04fc94cb3849cc977990ded935dffff.diff
Patch: https://github.com/kamailio/kamailio/commit/f66bbf48d04fc94cb3849cc977990ded935dffff.patch

---

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");
 			}
 		}




More information about the sr-dev mailing list