[sr-dev] git:master:30533678: http_async_client: use kemi wrapper to execute routing functions

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


Module: kamailio
Branch: master
Commit: 30533678a1132951bc0e354c1503325b8325474f
URL: https://github.com/kamailio/kamailio/commit/30533678a1132951bc0e354c1503325b8325474f

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

http_async_client: use kemi wrapper to execute routing functions

---

Modified: src/modules/http_async_client/async_http.c

---

Diff:  https://github.com/kamailio/kamailio/commit/30533678a1132951bc0e354c1503325b8325474f.diff
Patch: https://github.com/kamailio/kamailio/commit/30533678a1132951bc0e354c1503325b8325474f.patch

---

diff --git a/src/modules/http_async_client/async_http.c b/src/modules/http_async_client/async_http.c
index 9117778bed..e468a955dc 100644
--- a/src/modules/http_async_client/async_http.c
+++ b/src/modules/http_async_client/async_http.c
@@ -260,7 +260,7 @@ void async_http_cb(struct http_m_reply *reply, void *param)
 		} else {
 			cbname.s = aq->cbname;
 			cbname.len = aq->cbname_len;
-			if(keng->froute(fmsg, EVENT_ROUTE, &cbname, &evname)<0) {
+			if(sr_kemi_route(keng, fmsg, EVENT_ROUTE, &cbname, &evname)<0) {
 				LM_ERR("error running event route kemi callback\n");
 			}
 		}




More information about the sr-dev mailing list