@@ -661,6 +661,7 @@
and tee.enable = 1
and teea.enable = 1
and teea.finish_time > unix_timestamp(current_timestamp()) * 1000
+ and (t.client_websocket_status = 'OFF_LINE' or t.client_websocket_status is null)
and (t.status = 'FIRST_PREPARE' or t.status = 'ANSWERING' or t.status = 'BREAK_OFF' or t.status = 'RESUME_PREPARE')
</where> ) t
group by