fix(asterisk): update telecom route and recording fallback
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user