diff --git a/res/ari/ari_websockets.c b/res/ari/ari_websockets.c index 683f00e19e..f3b764bf15 100644 --- a/res/ari/ari_websockets.c +++ b/res/ari/ari_websockets.c @@ -104,12 +104,6 @@ struct ast_json *ast_ari_websocket_session_read( return NULL; } - - if (ast_websocket_fd(session->ws_session) <= 0) { - return NULL; - } - - while (!message) { int res; char *payload;