[sr-dev] git:master:ea9c1f5d: dispatcher: use kemi wrapper to execute routing functions

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


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

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

dispatcher: use kemi wrapper to execute routing functions

---

Modified: src/modules/dispatcher/dispatch.c

---

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

---

diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index fb213b47b3..5631a92e7a 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -2752,7 +2752,7 @@ static void ds_run_route(sip_msg_t *msg, str *uri, char *route)
 			if(keng!=NULL) {
 				evname.s = route;
 				evname.len = strlen(evname.s);
-				if(keng->froute(fmsg, EVENT_ROUTE,
+				if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
 							&ds_event_callback, &evname)<0) {
 					LM_ERR("error running event route kemi callback\n");
 				}




More information about the sr-dev mailing list