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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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");
                        }


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to