[sr-dev] git:master:8c930c09: evapi: use kemi wrapper to execute routing functions

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


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-27T09:27:03+01:00

evapi: use kemi wrapper to execute routing functions

---

Modified: src/modules/evapi/evapi_dispatch.c

---

Diff:  https://github.com/kamailio/kamailio/commit/8c930c09dcf20263fa34cd2568f2600785440da2.diff
Patch: https://github.com/kamailio/kamailio/commit/8c930c09dcf20263fa34cd2568f2600785440da2.patch

---

diff --git a/src/modules/evapi/evapi_dispatch.c b/src/modules/evapi/evapi_dispatch.c
index 5b7d534d09..b6997e2295 100644
--- a/src/modules/evapi/evapi_dispatch.c
+++ b/src/modules/evapi/evapi_dispatch.c
@@ -162,7 +162,7 @@ int evapi_run_cfg_route(evapi_env_t *evenv, int rt, str *rtname)
 	} else {
 		keng = sr_kemi_eng_get();
 		if(keng!=NULL) {
-			if(keng->froute(fmsg, EVENT_ROUTE,
+			if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
 						&_evapi_event_callback, rtname)<0) {
 				LM_ERR("error running event route kemi callback\n");
 			}




More information about the sr-dev mailing list