Skip to main content

Integration

info

The integration is optional, and is not required for the card or add-on.

With the integration you can build automations with your SIP devices as triggers. And call services like hangup and originate.

Installation

  1. Go to HACS
  2. Click on the 3 points in the upper right corner and click on Custom repositories
  3. Paste https://github.com/TECH7Fox/Asterisk-integration/ into Add custom repository URL and by category choose Integration
  4. Click on add and check if the repository is there.
  5. You should now see Asterisk integration. Click INSTALL.
  6. Restart Home Assistant.
  7. Go to integrations and find Asterisk.
  8. Fill in the fields and click add.
  9. Check if the card loads succesfully.

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.