Module: kamailio
Branch: master
Commit: 2f421594c3d34a02f38283f64e739860acc142bc
URL: 
https://github.com/kamailio/kamailio/commit/2f421594c3d34a02f38283f64e739860acc142bc

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2019-02-27T09:27:03+01:00

topoh: use kemi wrapper to execute routing functions

---

Modified: src/modules/topoh/topoh_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/2f421594c3d34a02f38283f64e739860acc142bc.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2f421594c3d34a02f38283f64e739860acc142bc.patch

---

diff --git a/src/modules/topoh/topoh_mod.c b/src/modules/topoh/topoh_mod.c
index 911c7dfe6e..06f1bd9c41 100644
--- a/src/modules/topoh/topoh_mod.c
+++ b/src/modules/topoh/topoh_mod.c
@@ -554,7 +554,7 @@ int th_execute_event_route(sip_msg_t *msg, sr_event_param_t 
*evp)
                run_top_route(event_rt.rlist[_th_eventrt_outgoing], fmsg, &ctx);
        } else {
                if(keng!=NULL) {
-                       if(keng->froute(fmsg, EVENT_ROUTE,
+                       if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
                                                &_th_eventrt_callback, 
&_th_eventrt_name)<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