Commit Graph

32 Commits

Author SHA1 Message Date
10cb94588d Add live log streaming via SSE
- Add /logs/stream SSE endpoint that spawns journalctl -f
- Stream new log lines to client in real-time
- Auto-scroll to bottom unless user has scrolled up
- Clean up process when client disconnects

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 00:51:16 +00:00
98c5d48846 Merge pull request 'dial-failed-handling' (#7) from dial-failed-handling into main
Reviewed-on: #7
2026-01-22 00:47:47 +00:00
c1ab9a4bb5 so many things 2026-01-21 16:47:23 -08:00
9493eb6e5e Merge pull request 'sip-error-handling' (#6) from sip-error-handling into main
Reviewed-on: #6
2026-01-21 23:09:07 +00:00
c80e595585 Merge pull request 'Upgrade robot3 to 1.3.0 for improved TypeScript support' (#5) from robot3-upgrade into main
Reviewed-on: #5
2026-01-21 23:08:19 +00:00
bed1fa0eb8 Handle dial failures with error tone and return to dial tone
When a dial command times out (e.g., due to SIP registration failure):
- Play an error tone (fast busy signal)
- Return to ready state (dial tone resumes)

This provides feedback to the user when calls can't be placed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 14:55:32 -08:00
2428afd3db Add SIP registration error handling with Twilio API
- 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>
2026-01-21 14:54:17 -08:00
b53a4197c6 Add .worktrees to gitignore
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 22:54:16 +00:00
27aa62f950 Upgrade robot3 to 1.3.0 for improved TypeScript support
- Bundle robot3 1.3.0 locally (not yet published to npm)
- Fix remaining type inference issues with `as any` casts for invoke() events

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 14:53:11 -08:00
953fb3aff1 wip 2025-11-24 09:41:49 -08:00
96d10c3df0 ok 2025-11-24 09:09:15 -08:00
616d4472d2 Merge pull request 'Getting this working probably took 1-3 years off my life.' (#4) from baresip into main
Reviewed-on: #4
2025-11-24 00:07:14 +00:00
8e8c884586 clean up 2025-11-23 16:05:02 -08:00
9ddb54d319 YES 2025-11-23 16:03:40 -08:00
61eb2bc895 wip 2025-11-23 15:40:22 -08:00
c07cb297e3 wip 2025-11-21 10:59:40 -08:00
28186bc0ce wip 2025-11-20 18:18:47 -08:00
bd9ab973b2 whatever 2025-11-20 16:16:47 -08:00
a5751b28f7 Merge pull request 'Move from polling to worker thread' (#3) from worker-test into main
Reviewed-on: #3
2025-11-19 21:21:05 +00:00
781ad51d9b cleanup 2025-11-19 13:19:18 -08:00
dc902565f3 yes 2025-11-19 13:00:39 -08:00
4ff9508933 wip 2025-11-19 10:47:57 -08:00
843f3680e1 wip 2025-11-18 17:43:12 -08:00
a0cc0c85cf Merge branch 'main' of 54.219.130.253:probablycorey/phone 2025-11-18 16:54:26 -08:00
1527ce7d13 wip 2025-11-18 16:53:41 -08:00
28164c2394 opk 2025-11-18 16:48:03 -08:00
1c717a5b47 Merge pull request 'libgpiod v2 for Bun!' (#2) from pins into main
Reviewed-on: #2
2025-11-19 00:46:08 +00:00
dc68c1d729 we got pins 2025-11-18 14:33:25 -08:00
1862956531 Merge pull request 'This work?' (#1) from test into main
Reviewed-on: #1
2025-11-17 22:12:35 +00:00
669d3d5ff8 this work? 2025-11-17 13:50:59 -08:00
4ecfd380c1 OMG, it works 2025-11-17 13:01:24 -08:00
962dd3fb70 Initial commit 2025-11-17 10:54:37 -08:00