I’ve created my first home assistant plugin. It’s a HA/SIP gateway which allows to call a phone number in an automation and interact with HA through dial tones in a mailbox like system.
I use it to get a call on my home phone if the door bell rings and then can open the door from the phone itself. It’s based on pjsip2 and written in python.
Currently I only tested it with my fritz.box so I don’t know how compatible it is to other SIP providers.
You can find it here: GitHub - arnonym/ha-plugins: Home-Assistant SIP Gateway