I had given FusionPBX a try roughly one year ago, and to put it simply: I failed.
The prospect of using a preconfigured, tailored for home assistant build of asterisk is quite intriguing. Hence the question if the add-on can be run standalone.
I’ll give it a try…
Hi,
I found interesting issue, which prevent to use SIP card in together with push notification.
Does anyone saw, that push notifications are creating new instance of Companion App in Android? It means that if you will click push message, then system is opening another app, where sip card is not showing the incoming call. Only using a HA app “as usual” from the icon, showing the incoming call. It is a bit annoying. Have you seen this and maybe you found the workaround?
*EDIT
I couldn’t found how to solve this. The push message should be sent with flag Intent.FLAG_ACTIVITY_SINGLE_TOP or with parameter
launchMode=“singleTop” but I’m not sure how to pass those parameters. So I found some workaround by using push message like this:
It’s opening the HA android companion app when button in Doorbell will be pushed without creating new instance of the app. SIP card is working well and I see incomming call. In the example above I used Dahua integration https://github.com/myhomeiot/DahuaVTO
I am very interested in this topic and currently I am not succeeding in a working integration with SIP Intercom and DTMF interaction.
As a background, I have an outdoor Intercom which SIP call an interior tablet. After the call is established with a press of a button (Accept Call), I have a mapped button which sends a DTMF code for opening the door. I also have a button which disconnects the call.
So, I have my own PBX server integrated in tablet, which I want to integrate in HA, but I do not want to make it https, I need everything to be pure local.
I am pretty new at SIP communications and I don’t really know how I can make this work. I don’t specifically need the 2-way audio, I just need to receive the call and have 3 buttons mapped (1 - answer call, 2 - send DTMF for door opening, 3 - hang up the call) with the live video stream from the camera.
The only thing that works is using a softphone and make it pop-up when the outdoor post is calling but this is just a temporary solution.
If I understood correctly we have the Asterisk Addon which is a PBX server, the Asterisk Integration which only connects to Asterisk Addon and create entities, and the Custom SIP Card that is actually the intercom interface.
Let’s say that the actual tablet server has the ip “192.168.1.10”, and the user + password are both “3333”. The outdoor post has the user and pass “4444” and homeassistant has the ip “192.168.1.20”.
How and what to configure to make this thing work?
The help will be very much appreciated and may help others in the future.
Hi Cr4z33,
In my guide doorbell has been setup in the file /custom/pjsip_custom.conf as custom extension with number 8000. Depending which doorbell you are using, but in Dahua settings looks like below:
and sip server settings where you put your custom extension number and password defined in file pjsip_custom.conf for your doorbell.
Please note that my doorbell is calling to extension: 1000 what is not a number of SIP Card (100 in the guide), but it is related to Group. In that group one of the numbers is assigned to SIP card, others to Softphones. If you will be interested in how my Asterisk configuration related to group calling looks like then please let me know.
Please start with establishing htpps connection for HA. It is possible without configuring domain. If you will do this, then all steps will be very similar to what I wrote in my guide, only you need to change domain name to your local IP address. SIP card will not work without https connection so this should be your first step.
Hello
Please could you explain?
From Terminal (in home assistant) e try ssh ip_address_IPPBX but connection refused on port 22.
I don't undestrand
could you help me?
tks
In this case, I followed the Dahua VTO and Doorbell guides. According to the logs, it successfully registered, although its not found for the asterisk devices.
Log:
Added contact 'sip:[email protected]:5060' to AOR '8001' with expiration of 60 seconds
Endpoint 8001 is now Reachable
Is there any guide how to add this doorbell to the card?
Is it possible to make assigned villa call number (which the doorbell will call) accessible to every user in HA?
After configuration, can I initate a call towards the doorbell (without pressing the doorbell button)?
Not sure if Dahua has an auto answer button…
But you can make indeed calls from your doorbell to the card, just setup persona with the Lovelace card, and then you can call them from your doorbell
Sorry if I worded it poorly. The goal is to centrally manage all calls from the doorbell (so not just one user, but any user). The question is, how should the Lovelace card be created? Currently, I’m attempting it like this:
I’m currently diving into a project to integrate a Bas-IP multi-apartment doorbell system with Home Assistant, and I’ve hit a bit of a roadblock. I’m pretty new at HA and SIP, but I’m good at following instructions.
The system setup includes an outdoor Bas-IP doorbell unit and an indoor client used for answering calls, video feed access, and door control. Interestingly, there’s also an iOS app provided by Bas-IP that replicates the functionality of the indoor unit, allowing for remote operation including call answering, video feed access, and door unlocking, which uses their domain, login and password for authentication. I have to mention that I don’t have access to the outdoor unit, because it’s a multi-apartment unit and all I have is indoor unit and credentials provided to me to connect iOS app, which duplicates the indoor unit.
Here’s the crux of the issue: I need a way to integrate this system with Home Assistant. Specifically, I’m looking for a SIP client that can be integrated into Home Assistant. This client would need to connect to a remote server using a domain, login, and password for authentication, essentially replicating the functionality of the Bas-IP system’s iOS app within Home Assistant. This would include the ability to answer calls from the doorbell, access the video feed, and unlock the door.
I’ve tried to use Asterisk add-on + this card, but can’t find a way to connect to a remote domain to receive calls in HA from outdoor unit directly, the same way I’m doing on my iOS app right now. So basically I want to connect to bas-ip domain with login and password in HA and when it will be working use my other devices (like voice assistant) to open the door remotely.
Any advice, suggestions, or pointers towards relevant resources would be greatly appreciated. I’m eager to get this integration working smoothly to enhance the smart capabilities of my home setup.
Hi , on bas-ip domain you can create numbers right? Those are for your apps like iphone/android… What you can do, setup a new extra number on that domain, and then use asterisk to register as a trunk on it… When there is a call, asterisk trunk will receive it, and then you can initiate your dialplan to call whatever you want todo
I can not create anything there. Because it is a multi-apartment system, all I have is the domain, login and password that were provided to me, so I don’t have access to the creating new numbers. I cannot login to the domain with these credentials, but I can login to any SIP-client app (like Softphone, Zoiper, Linhome).
So that’s exactly what I want to do in Home Assistant. Just enter domain, login and password to some kind of “SIP-client” and be able to receive calls in HA.