This is a fork of TECH7Fox/asterisk-hass-integration with additional features and bug fixes.
This integration finds and adds all SIP and PJSIP devices to your Home Assistant.
- Device state tracking (Not in use, In use, Ringing, etc.)
- Connected line information with extra attributes
- DTMF event tracking
- Debug logging toggle in integration options
- A SIP/PBX server (e.g., FreePBX, Asterisk)
- HACS on your Home Assistant
- AMI manager configured with your Home Assistant IP allowed
Download using HACS
- Go to HACS
- Click on the 3 dots in the upper right corner and click on
Custom repositories - Paste
https://github.com/robsonfelix/asterisk-hass-integrationintoAdd custom repository URLand select Integration as the category - Click Add and verify the repository appears
- Find Asterisk integration and click
INSTALL - Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration → Asterisk
- Fill in the AMI connection details and click Add
To enable debug logging:
- Go to Settings → Devices & Services → Asterisk
- Click Configure
- Enable "Enable debug logging"
- Check logs in Settings → System → Logs
Most problems are due to PBX server configuration.
- For DTMF signaling to work in FreePBX, change the DTMF signaling mode. For intercom purposes, "SIP-INFO DTMF-Relay" is needed.
If you are still having problems, please open an issue.
Original integration by TECH7Fox