sip-error-handling #6

Merged
probablycorey merged 2 commits from sip-error-handling into main 2026-01-21 23:09:07 +00:00
No description provided.
probablycorey added 2 commits 2026-01-21 23:09:04 +00:00
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Catch all SIP error codes (not just 403) in registration failures
- Query Twilio API on error to get detailed account status
- Show helpful message like "Twilio account suspended - add funds"
- Retry registration after 2 minutes instead of exiting
- Add restart() method to Baresip for clean reconnection

Requires TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN env vars for
detailed error messages.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
probablycorey merged commit 9493eb6e5e into main 2026-01-21 23:09:07 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: probablycorey/phone#6
No description provided.