Module: kamailio
Branch: 5.1
Commit: a09a57cd6fca6790c496435794fab02695782596
URL: 
https://github.com/kamailio/kamailio/commit/a09a57cd6fca6790c496435794fab02695782596

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2019-04-10T11:34:52+02:00

topoh: execute the kemi event route callbacks with context

- manual backport for:
  121282ac4986d6389a6dd64c35b77337a4ca256b

---

Modified: src/modules/topoh/topoh_mod.c

---

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

---

diff --git a/src/modules/topoh/topoh_mod.c b/src/modules/topoh/topoh_mod.c
index 1362f4cd7a..853140ff21 100644
--- a/src/modules/topoh/topoh_mod.c
+++ b/src/modules/topoh/topoh_mod.c
@@ -556,7 +556,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_ctx_route(keng, &ctx, 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