SIP client card, as intercom

Hi

How to add additional extensions for sip Android phone and sip doorbell and etc. I install asterisk add on only, I need too install HA-SIP card for additional extensions? There is 101 extensions for wss, it’s registering without problem but 201 extensions not registering , not from GSwave app, nor from Dahua VTO.

Thanks

The add-on creates extensions for every person. If you want to add another wss extension (like the 101) you need to make another person in HA.

This add-on is created to work with the a card inside HA itself. (That’s why it only creates a extension for every person)
The card doesn’t make any extensions, the card connects to a pbx server to make/receive calls.

For now the custom extensions is not really working. :frowning: In the next update it will be possible to access all the config files trough samba. Allowing you to configure much more (and add more/custom extensions). The update will probably come out next week.

Next update will also contain a detailed guide to set this up and explain the settings.

2 Likes

Can we also use the GitHub ass custom repository for hacs (for add-on) , easier for us for your upcoming updates :slight_smile:

@TECHFox
Is it possible by your extension to send commands to HA by dialing the phone,
For example, I called the PBX and dialed extension 500 and my air conditioner turned on?
Is it possible by your plugin?

I don’t know if that is possible for addons.
image
But if there is a way please tell me, because that would be much easier indeed.

I did think about getting the addon between the community addons in the add-on store.

Yes, that will be a in a future update. There will be a sensor which contains all calls, so you can then make a automation for that. :slight_smile:

1 Like

You are right , it’s indeed only for custom…
Ok, for now untill it’s on community, you can post it here :wink:

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