Disable error ringing on registration failure

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Corey Johnson 2026-01-21 14:36:46 -08:00
parent 24a726b829
commit c463a7238e

View File

@ -137,10 +137,10 @@ const startBaresip = async (phoneService: PhoneService, hook: GPIO.Input, ringer
log.error("🐻 error:", errorMessage)
phoneService.send({ type: "error", message: errorMessage })
for (let i = 0; i < 4; i++) {
await ring(ringer, 500)
await sleep(250)
}
// for (let i = 0; i < 4; i++) {
// await ring(ringer, 500)
// await sleep(250)
// }
log("🔄 Retrying registration in 2 minutes...")
await sleep(2 * 60 * 1000)