SIP client card, as intercom

Iā€™m really looking forward to it,
I really hope it comes soon ā€¦
you are awesome

1 Like

Itā€™s already there :wink:

hi

maybe you can already add it for now as a custom repository? instead of the community? that way we can see also the updates if you publish a new version

i have also some other custom repositorys, like this for example : https://github.com/adamoutler/HassOSConfigurator

Good idea! Didnā€™t knew that was a thing.

I added the config for that, you can now add the repository.

Thx @pergola.fabio :slight_smile:

perfect , 0.1.1 is now visible :slight_smile:
much easier now to be updated with newer versions

btw, this one, we can ignore right?

we only need this card? or is it the other way around :slight_smile:

Yes, you can ignore the SIP-addon one, made that for testing with HACS. Once it works I will move it to HA-SIP.

1 Like

about companion app, reason why it doesnt work, is because you cant accept the ssl certficate, right?
isnt i possible to use websocket on http instead of https?

Yes because of the certificate. :frowning:
And yes, there is a http websocket. But Iā€™m not sure if it works if your HA is https, or if it even works with sip.js. Have to do some testing.

I tried using Lets Encrypt for a certificate, but you need a domain, and/or a open port and I donā€™t think it is possible sadly.

BUT, some good news. :slight_smile:
Asterisk 0.2 is out! With this update you can change all Asterisk configs in the /config/asterisk folder via Samba or ssh. So now you can not only add your own extensions, but do all kind of things with your Asterisk server!

Nextup, I will be working on the card. The card is taking longer then expected, mostly because I cant get Lit imported with typescript (I really hate typescript sometimesā€¦) and I dont have a lot of time due to school. Think it will be ready this weekend or next week.

2 Likes

Perfect, time to update, was waiting for this release, to have control over the config files , great jobā€¦
Gonna buy a Google domain, costs 12$ a year, already had a look, can be renewed, with Lets encrypt without port 80 to be open

Looking forward to updates with card

Nice, let me know if it works.

If you are going to use your own certificates with the add-on, make sure you dont call the cert and key files asterisk. And dont forget to set the file path in the config (sip.conf / pjsip.conf)

Yes, something for next week, or maybe tomorrow

Stange that I donā€™t see the update yet on the repository, still old version

Weird, I can see it on the repos in HA.

Try hitting the reload button in the upper-right corner.
image

Perfect , i see it now :+)

I donā€™t work with personā€™s in HA, all my tablets/phones are logged in with same user , so sip card is going to use same sip numberā€¦ In pjsip there is s max contact settingā€¦ Will it work also for chansip? So it can register multiple times? Or is now the add-on registering instead of sip card?
Eventually all sip cards on all HA clients will go in ringing state, first one who picks up should have the call, right?

Thank you again for all your great work. Should the Asterisk addon work behind a reverse Proxy. I use NGINX proxy manager. When I start the addon it starts, but after a minute or two it stops.
The log is below;

![image|596x500](upload://vLHdTugObSVgMomrytamLPZNjgB.png)

we dont see the logs

Sorry try again.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[17:25:22] INFO: Checking config files...
[17:25:22] INFO: Creating certificate...
Generating a RSA private key
...............................................................................................++++
........................................................................................++++
writing new private key to '/etc/asterisk/keys/asterisk.key'
-----
[17:25:27] INFO: Configuring Asterisk...
[17:25:27] INFO: Starting Asterisk...
Seeding global EID '02:42:ac:1e:21:05' from 'eth0' using 'siocgifhwaddr'
 
[17:25:37] INFO: Name/username Host Dyn Forcerport Comedia ACL Port Status Description 101/0d6b63bbd69b4f74a64e2 (Unspecified) D Auto (No) No 0 Unmonitored 102/andrew (Unspecified) D Auto (No) No 0 Unmonitored 2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]
 
[17:25:42] INFO: HTTP Server Status: Prefix: Server: Asterisk/18.2.2 Server Enabled and Bound to 0.0.0.0:8088 HTTPS Server Enabled and Bound to 0.0.0.0:8089 Enabled URI's: /httpstatus => Asterisk HTTP General Status /phoneprov/... => Asterisk HTTP Phone Provisioning Tool /ari/... => Asterisk RESTful API /ws => Asterisk HTTP WebSocket Enabled Redirects: None.
 
/run.sh: line 128: SECRET: unbound variable
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Hi everybody.

I am already trying to get this integration working with the FreePBX solution.

Although I was having issues at not being able to enable DTLS I would now just go on and use the new alpha Asterix add-on instead.

But first, thereā€™s some confusion in my mind about.

  1. I installed the browser-mod, but I get right now 4 device_ids instead of just 1 so which one to use?

  2. what IP to enter in the aor line? My Amcrest AD410 video doorbell IP or what?