Browse code

dispatcher: use kemi wrapper to execute routing functions

Daniel-Constantin Mierla authored on 27/02/2019 08:26:38
Showing 1 changed files
... ...
@@ -2752,7 +2752,7 @@ static void ds_run_route(sip_msg_t *msg, str *uri, char *route)
2752 2752
 			if(keng!=NULL) {
2753 2753
 				evname.s = route;
2754 2754
 				evname.len = strlen(evname.s);
2755
-				if(keng->froute(fmsg, EVENT_ROUTE,
2755
+				if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
2756 2756
 							&ds_event_callback, &evname)<0) {
2757 2757
 					LM_ERR("error running event route kemi callback\n");
2758 2758
 				}