Disable error ringing on registration failure
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
24a726b829
commit
c463a7238e
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user