From 45136d556698fe065c8e8592a2da3fdece971719 Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Tue, 22 Apr 2025 15:40:10 +0700 Subject: [PATCH] =?UTF-8?q?Revert=20"=D0=A1=D1=82=D1=80=D0=BE=D0=B3=D0=BE?= =?UTF-8?q?=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BE=D0=B2=D0=B0=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1318ebfc821ea4bc9b560f4f9e7eb2475181b799. --- apps/workerslocation/commands/radiusip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/workerslocation/commands/radiusip.py b/apps/workerslocation/commands/radiusip.py index 122730d..f5344db 100644 --- a/apps/workerslocation/commands/radiusip.py +++ b/apps/workerslocation/commands/radiusip.py @@ -109,8 +109,6 @@ async def handle_channel_transmission(channel, voice_call, websocket, auth_dict, elif state == "faulted": log(f"[{channel}] Promise faulted. Ретрай...") break - elif state == "finished": - return True elif identifier == "call:1/participant_state_broadcast": if payload.get("state") == "own_tx" and "65280" in payload.get("source", ""): @@ -125,6 +123,7 @@ async def handle_channel_transmission(channel, voice_call, websocket, auth_dict, ssrc ) await send_messages(websocket, get_promise_cancel_command(promise_id)) + return True except asyncio.TimeoutError: log(f"[{channel}] Timeout ожидания. Ретрай...")