Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/ai/voice/agents/breeze_buddy/managers/calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,9 @@ async def process_backlog_leads():
await _release_number(number_to_use.id, number_to_use.provider)
await release_lock_on_lead_by_id(locked_lead.id)
continue
if locked_lead.execution_mode == ExecutionMode.TELEPHONY:
if locked_lead.execution_mode == ExecutionMode.TELEPHONY and (
template is None or template.is_active
):
Comment on lines +579 to +581
rate_limit_allowed, defer_seconds = (
await check_outbound_rate_limit_and_alert(
customer_phone=customer_mobile,
Expand Down
Loading