asterisk-hass-addons
asterisk-hass-addons copied to clipboard
Addon watchdog
Hello, I've been using this addon for six months and it works great. Sometimes when homeassistant machine restarts, asterisk addon remains stopped. But, I've configured:
This watchdog setting makes me go and read Home Assistant add-on configuration, and I've detected that this entry is not configured in asterisk/config.yaml
. May be I'm wrong, but it may be helpful to add something like:
watchdog: tcp://[HOST]:5060
Thanks in advance
That's a great idea. Feel free to contribute as a PR. The most difficult part is testing, I suppose.
I don't know why it doesn't say it on the docs already, but the watchdog option is obsolete.
The watchdog option in the GUI (should) simply restarts the add-on when it crashes and stops. No idea why you are having problems though. Do you see any related errors / warnings in the supervisor logs?
@TECH7Fox we could still add a HEALTHCHECK though, to detect situations where the add-on is stuck.
Example:
- https://github.com/hassio-addons/addon-vscode/pull/665