fix(asterisk): update telecom route and recording fallback

This commit is contained in:
Yera All
2026-04-17 12:16:51 +05:00
parent 4adaf192fb
commit feb0ce01e2
5 changed files with 140 additions and 1 deletions
@@ -497,7 +497,7 @@ def upload_recording(
url=f"{bridge._recording_service_url()}/recordings/import-upload",
data=data,
files={"file": (file_name, handle, mime_type or "application/octet-stream")},
retry_reset=handle.seek(0),
retry_reset=lambda: handle.seek(0),
)
return response.json()
except httpx.HTTPStatusError as exc: