Browse code

xhttp: use kemi wrapper to execute routing functions

Daniel-Constantin Mierla authored on 27/02/2019 08:23:13
Showing 1 changed files
... ...
@@ -302,7 +302,7 @@ static int xhttp_process_request(sip_msg_t* orig_msg,
302 302
 	} else {
303 303
 		keng = sr_kemi_eng_get();
304 304
 		if(keng!=NULL) {
305
-			if(keng->froute(msg, EVENT_ROUTE,
305
+			if(sr_kemi_route(keng, msg, EVENT_ROUTE,
306 306
 						&xhttp_event_callback, &evrtname)<0) {
307 307
 				LM_ERR("error running event route kemi callback\n");
308 308
 			}