[sr-dev] git:master:6497efe1: xhttp: use kemi wrapper to execute routing functions

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


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

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

xhttp: use kemi wrapper to execute routing functions

---

Modified: src/modules/xhttp/xhttp_mod.c

---

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

---

diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c
index 7ccddba1ab..22815d82ab 100644
--- a/src/modules/xhttp/xhttp_mod.c
+++ b/src/modules/xhttp/xhttp_mod.c
@@ -302,7 +302,7 @@ static int xhttp_process_request(sip_msg_t* orig_msg,
 	} else {
 		keng = sr_kemi_eng_get();
 		if(keng!=NULL) {
-			if(keng->froute(msg, EVENT_ROUTE,
+			if(sr_kemi_route(keng, msg, EVENT_ROUTE,
 						&xhttp_event_callback, &evrtname)<0) {
 				LM_ERR("error running event route kemi callback\n");
 			}




More information about the sr-dev mailing list