Module: kamailio Branch: master Commit: d4f4a8ad572c0335ddc28231bf02cc65ede181f0 URL: https://github.com/kamailio/kamailio/commit/d4f4a8ad572c0335ddc28231bf02cc65ede181f0
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2019-02-27T09:27:03+01:00 dialog: use kemi wrapper to execute routing functions --- Modified: src/modules/dialog/dlg_handlers.c --- Diff: https://github.com/kamailio/kamailio/commit/d4f4a8ad572c0335ddc28231bf02cc65ede181f0.diff Patch: https://github.com/kamailio/kamailio/commit/d4f4a8ad572c0335ddc28231bf02cc65ede181f0.patch --- diff --git a/src/modules/dialog/dlg_handlers.c b/src/modules/dialog/dlg_handlers.c index c80ca7d59f..a52b62805b 100644 --- a/src/modules/dialog/dlg_handlers.c +++ b/src/modules/dialog/dlg_handlers.c @@ -1562,7 +1562,7 @@ void dlg_ontimeout(struct dlg_tl *tl) if(keng!=NULL) { evname.s = "dialog:timeout"; evname.len = sizeof("dialog:timeout") - 1; - if(keng->froute(fmsg, EVENT_ROUTE, + if(sr_kemi_route(keng, fmsg, EVENT_ROUTE, &dlg_event_callback, &evname)<0) { LM_ERR("error running event route kemi callback\n"); } @@ -1762,7 +1762,7 @@ int dlg_run_event_route(dlg_cell_t *dlg, sip_msg_t *msg, int ostate, int nstate) run_top_route(event_rt.rlist[rt], fmsg, 0); } else { if(keng!=NULL) { - if(keng->froute(fmsg, EVENT_ROUTE, + if(sr_kemi_route(keng, fmsg, EVENT_ROUTE, &dlg_event_callback, &evname)<0) { LM_ERR("error running event route kemi callback (%d %d)\n", ostate, nstate); _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
