HA-SIP
A SIP client inside home assistant!
With this card you can make and receive calls to other HA clients and other sip devices, so you can use it as for example an intercom.
The card supports video, DTMF signals, custom icons, custom names, status entities and camera entities.
Roadmap
This is very much still work in progress, and these are the things i want to add in the near future.
- Include default ringtones
- Fix video on android companion app
- Translations
- Better errror logging
- Audio visualizer when there is no video
Asterisk add-on This card works with the Asterisk add-on, which is very easy to set up, with just some clicks!
Requirements
For this to work you will need the following:
- A sip/pbx server. (I use the Asterisk add-on)
- Extension for every device. (The add-on auto-generates extensions for every person in HA)
- HACS on your HA. (Home assistant)
Go to https://github.com/TECH7Fox/HA-SIP/wiki/Setup-FreePBX to see how to setup FreePBX for this card.
Installation
Download using HACS
- Go to HACS
- Click on
Frontend
- Click on the 3 points in the upper right corner and click on
Custom repositories
- Paste https://github.com/TECH7Fox/HA-SIP/ into
Add custom repository URL
and by category choose Lovelace - Click on add and check if the repository is there.
- You should now see SIP.js Client. Click
INSTALL
Usage
Click on add card and scroll down to and choose Custom: SIP Card
.
The entire card is configurable from the editor.
Set Ringtones
set your ringtones to play when calling/being called.
/local
is your www
folder in config. Example: /local/ringtone.mp3
= /config/www/ringtone.mp3
.
Auto call
You can put ?call=<number>
behind the URL to auto call that number when the card loads. Useful for notifications.
Troubleshooting
Most problems is because your PBX server is not configured correct, or your certificate is not accepted.
To accept the certificate for Asterisk/FreePBX go to https://<host>:8089/ws
and click continue.
To see how to configure FreePBX go to: https://github.com/TECH7Fox/HA-SIP/wiki/Setup-FreePBX
Android companion app 2022.2 required for speaker + audio permissions.
If you are still having problems you can make an issue or ask on the discord server.