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

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


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

Reply via email to