Initial commit: SIP Voice Notifier v2 - single add-on with integrated service

This commit is contained in:
2026-02-08 14:11:03 +01:00
commit 9e14cfce12
10 changed files with 825 additions and 0 deletions

16
sip-notifier/run.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bashio
bashio::log.info "Starting SIP Voice Notifier..."
# Get config from add-on options
SIP_SERVER=$(bashio::config 'sip_server')
SIP_USER=$(bashio::config 'sip_user')
SIP_PASSWORD=$(bashio::config 'sip_password')
DEFAULT_DURATION=$(bashio::config 'default_duration')
bashio::log.info "SIP Server: ${SIP_SERVER}"
bashio::log.info "SIP User: ${SIP_USER}"
bashio::log.info "Default Duration: ${DEFAULT_DURATION}s"
# Start the service
exec python3 /app/sip_service.py