Module: kamailio
Branch: master
Commit: 6497efe137afb3da632eb278fc69079a7e77215d
URL:
https://github.com/kamailio/kamailio/commit/6497efe137afb3da632eb278fc69079…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/6497efe137afb3da632eb278fc69079…
Patch:
https://github.com/kamailio/kamailio/commit/6497efe137afb3da632eb278fc69079…
---
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");
}