Integration (optional)
info
The integration is optional, and is not required for the card or add-on.
If you don't want to use it, you can skip this section for now.
With the integration you can build automations with your SIP devices as triggers. And call services like hangup
and originate
.
Installation
- HACS
- Manual
- Go to HACS
- Click on the 3 points in the upper right corner and click on
Custom repositories
- Paste
https://github.com/TECH7Fox/Asterisk-integration/
intoAdd custom repository URL
and by category choose Integration - Click on add and check if the repository is there.
- You should now see Asterisk integration. Click INSTALL.
- Restart Home Assistant.
- Go to integrations and find Asterisk.
- Fill in the fields and click add.
- Check if the card loads succesfully.
Download the latest version, set it in /custom_components/
and add it to resources.
Configuration
When restarted, you can configure the integration.
Integration options
host: localhost
port: 5038
username: admin
password: my-password # The password you set in the add-on configuration
After a couple seconds, click on devices
and you should see the server, and the PJSIP and SIP devices.
That's it! Now you got sensors and services you can use for automations.