Module: kamailio Branch: master Commit: 9e1c17d3c9e7c323bda8f99bfc27a8113ebd55ba URL: https://github.com/kamailio/kamailio/commit/9e1c17d3c9e7c323bda8f99bfc27a811...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2019-02-27T09:27:03+01:00
websocket: use kemi wrapper to execute routing functions
---
Modified: src/modules/websocket/ws_conn.c
---
Diff: https://github.com/kamailio/kamailio/commit/9e1c17d3c9e7c323bda8f99bfc27a811... Patch: https://github.com/kamailio/kamailio/commit/9e1c17d3c9e7c323bda8f99bfc27a811...
---
diff --git a/src/modules/websocket/ws_conn.c b/src/modules/websocket/ws_conn.c index 46cdf0986c..a4442ae0d8 100644 --- a/src/modules/websocket/ws_conn.c +++ b/src/modules/websocket/ws_conn.c @@ -300,10 +300,8 @@ static void wsconn_run_route(ws_connection_t *wsc) init_run_actions_ctx(&ctx); if(rt < 0) { /* kemi script event route callback */ - if(keng - && keng->froute( - fmsg, EVENT_ROUTE, &ws_event_callback, &evrtname) - < 0) { + if(keng && sr_kemi_route(keng,fmsg, EVENT_ROUTE, &ws_event_callback, + &evrtname) < 0) { LM_ERR("error running event route kemi callback\n"); } } else {