[sr-dev] git:master:53786f52: topos: use kemi wrapper to execute routing functions

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


Module: kamailio
Branch: master
Commit: 53786f5223260c1a5c03685ca26ad73774c75bc0
URL: https://github.com/kamailio/kamailio/commit/53786f5223260c1a5c03685ca26ad73774c75bc0

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

topos: use kemi wrapper to execute routing functions

---

Modified: src/modules/topos/topos_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/53786f5223260c1a5c03685ca26ad73774c75bc0.diff
Patch: https://github.com/kamailio/kamailio/commit/53786f5223260c1a5c03685ca26ad73774c75bc0.patch

---

diff --git a/src/modules/topos/topos_mod.c b/src/modules/topos/topos_mod.c
index 0e9f16b493..e13029db54 100644
--- a/src/modules/topos/topos_mod.c
+++ b/src/modules/topos/topos_mod.c
@@ -521,7 +521,7 @@ static int tps_execute_event_route(sip_msg_t *msg, sr_event_param_t *evp,
 		run_top_route(event_rt.rlist[evidx], (msg)?msg:fmsg, &ctx);
 	} else {
 		if(keng!=NULL) {
-			if(keng->froute((msg)?msg:fmsg, EVENT_ROUTE,
+			if(sr_kemi_route(keng, (msg)?msg:fmsg, EVENT_ROUTE,
 						&_tps_eventrt_callback, evname)<0) {
 				LM_ERR("error running event route kemi callback\n");
 				p_onsend=NULL;




More information about the sr-dev mailing list