SIP client card, as intercom

There will be a public alpha test soon. Maybe even today :wink:

Just finishing some things for the add-on. And made a small start on the new card.

1 Like

I always used FreePBX, never asterisk… So modifying stuff now, must be all done trough terminal? Creating extensions, setting up NAT, firewall? Do you also open up 5060 / 5160 and RTP ports in docker?

I think we might wait till the adon is finished to jnow how to setup. lets wait a bit :slight_smile: i installed asterisk via addon now and wait for further instructions :slight_smile:

Indeed, probably possible with options in the add-on itself, to point to config file…

What add-on asterisk did you install? It’s not published yet on GitHub?

@TECHFox , maybe a request to create a sensor to obtain the callstatus? So if it goes to ringing , we can start automations to wake up an android tablet or send notifications …

this repo : Poeschl/Hassio-Addons: The repository for my Home Assistant Supervisor Add-ons. (github.com)

Ah ok, but that’s not needed, I think if I read correct, he will make asterisk server too, probably with extension already preconfigured with websocket

Yes indeed. Had to make my own to configure it right.

FreePBX is a GUI for Asterisk, so the settings are (almost) the same.

The sensor is a good idea, I will do that.

1 Like

The add-on is out for testing!

TECH7Fox/Asterisk-add-on: Asterisk add-on for Home Assistant (github.com)

Copy the Asterisk folder into the addons folder of your HA server and install via supervisor.

For now only chan_sip works, not chan_pjsip. There is a weird bug in Asterisk were the chan_pjsip.so module wont load. I hope this gets fixed soon.

If auto_add is true, the add-on will create a extension and entity for every person (not user)

The old card can be used for this, just change the ip to the local ip of your home assistant server and add the extensions manually.

This is still using a self signed certificate, meaning you still have to accept the certificate by going to https://<ip_of_HA_server>:8089/ws. I am still looking for a way to automaticly create a lets encrypt certificate so you dont have to do this, but I dont know if this is possible.

So test away! And let me know if you find any bugs or improvements I can make.

3 Likes

Cool, thnx for sharing, something to test out next week!!

Had a quick look, how do we mount the files to create extensions? Or to open up ports? Do we need to include that in the docker file?

For now you can only add sip extensions with the default ports (5060, 5061). Later i will open up all config files so you can edit them via samba.

For the ports, I will try to include all the standard ports. If you like one added, let me know. To add a non-standard port, you can change the docker file.

image
To add a standard sip extension, i tried to include a way to do this via the config like the picture above. I have not tested this function and I will replace it soon with the samba way. (dont even know if you can set multiple settings on one line)

1 Like

The main reason for this test is to see if the auto_add function works good.

I tried adding you repo in addon store… how exactly do we have to install it? I dont get it :stuck_out_tongue:

copy the folder “Asterisk” from the zip file:

into the addons folder and reload the supervisor,
then install it from your available addon store

OK got it … now i dunno how to add the card and what and were to make the config… sorry absolutenewcomer here :stuck_out_tongue:

users seem be created… i wanted to test a call. well for the moment i added lovelace card like t his:

type: custom:sipjs-client-card
server: wss://192.168.1.41:8089/ws
ringtone: /local/ringtone.mp3
clients:
  deviceID1:
    aor: sip:[email protected]
    username: 102
    pssword: 1234

and now? I went to the …/ws site to accept the cert bt how in fact can i call who? Which card and how is the entity called being created ? Sorry for dumb questions :stuck_out_tongue:

EDIT: found binary_sensor but it is off. If someone could make a short qrite up how to setup this up forthe beginning. the rest I can “learn” by myown :slight_smile:

here my asterisk logs:

 
[21:51:53] 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.
 
101/thorsten_frohlich     (Unspecified)                            D  Auto (No)  No             0        Unmonitored                                  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   475  100   376  100    99  49156  12942 --:--:-- --:--:-- --:--:-- 67857
102/emilie                (Unspecified)                            D  Auto (No)  No             0        Unmonitored                                  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   442  100   354  100    88  56128  13952 --:--:-- --:--:-- --:--:-- 73666
103/evan                  (Unspecified)                            D  Auto (No)  No             0        Unmonitored                                  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   436  100   350  100    86  47049  11560 --:--:-- --:--:-- --:--:-- 62285
104/rose                  (Unspecified)                            D  Auto (No)  No             0        Unmonitored                                  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   436  100   350  100    86  52742  12959 --:--:-- --:--:-- --:--:-- 72666
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   446  100   357  100    89  42785  10666 --:--:-- --:--:-- --:--:-- 55750
 
[21:51:58] INFO: Name/username Host Dyn Forcerport Comedia ACL Port Status Description 101/thorsten_frohlich (Unspecified) D Auto (No) No 0 Unmonitored 102/emilie (Unspecified) D Auto (No) No 0 Unmonitored 103/evan (Unspecified) D Auto (No) No 0 Unmonitored 104/rose (Unspecified) D Auto (No) No 0 Unmonitored 4 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 4 offline]
 
[21:52:03] 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.

Here my logs from the console:

Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | Configuration:
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · allowLegacyNotifications: false
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · authorizationHa1: ""
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · authorizationPassword: NOT SHOWN
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · authorizationUsername: ""
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · autoStart: false
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · autoStop: true
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · delegate: {}
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · contactName: ""
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · contactParams: {"transport":"ws"}
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · displayName: ""
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · forceRport: false
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · hackAllowUnregisteredOptionTags: false
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · hackIpInContact: false
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · hackViaTcp: false
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · logBuiltinEnabled: true
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · logConfiguration: true
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · logConnector: undefined
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · logLevel: "log"
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · noAnswerTimeout: 60
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · preloadedRouteSet: []
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · reconnectionAttempts: 0
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · reconnectionDelay: 4
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sendInitialProvisionalResponse: true
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sessionDescriptionHandlerFactory: (session, options) => {
        // provide a default media stream factory if need be
        if (mediaStreamFactory === undefined) {
            mediaStreamFactory = (0,_media_stream_factory_default__WEBPACK_IMPORTED_MODULE_0__.defaultMediaStreamFactory)();
        }
        // make sure we allow `0` to be passed in so timeout can be disabled
        const iceGatheringTimeout = (options === null || options === void 0 ? void 0 : options.iceGatheringTimeout) !== undefined ? options === null || options === void 0 ? void 0 : options.iceGatheringTimeout : 5000;
        // merge passed factory options into default session description configuration
        const sessionDescriptionHandlerConfiguration = {
            iceGatheringTimeout,
            peerConnectionConfiguration: Object.assign(Object.assign({}, (0,_peer_connection_configuration_default__WEBPACK_IMPORTED_MODULE_1__.defaultPeerConnectionConfiguration)()), options === null || options === void 0 ? void 0 : options.peerConnectionConfiguration)
        };
        const logger = session.userAgent.getLogger("sip.SessionDescriptionHandler");
        return new _session_description_handler__WEBPACK_IMPORTED_MODULE_2__.SessionDescriptionHandler(logger, mediaStreamFactory, sessionDescriptionHandlerConfiguration);
    }
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sessionDescriptionHandlerFactoryOptions: {}
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sipExtension100rel: "Unsupported"
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sipExtensionReplaces: "Unsupported"
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sipExtensionExtraSupported: []
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · sipjsId: "u3lg3"
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · transportConstructor: Transport
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · transportOptions: {"server":"wss://192.168.1.41:8089/ws"}
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · uri: sip:[email protected]
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · userAgentString: "SIP.js/0.20.0"
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | · viaHost: "rdghj1qfeqct.invalid"
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.SimpleUser | [Anonymous] Connecting UserAgent...
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | Starting sip:[email protected]
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.UserAgent | Transitioned from Stopped to Started
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Connecting wss://192.168.1.41:8089/ws
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Transitioned from Disconnected to Connecting
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.SimpleUser | [Anonymous] Registering UserAgent...
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Configuration:
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · expires: 600
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · extraContactHeaderParams: []
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · extraHeaders: []
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · logConfiguration: true
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · instanceId: ""
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · params: {}
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · regId: 0
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · registrar: sip:anonymous.invalid
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | · refreshFrequency: 99
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Waiting toggled to true
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Sending WebSocket message:

REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS rdghj1qfeqct.invalid;branch=z9hG4bK770918
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=pnn0e32tt8
CSeq: 2 REGISTER
Call-ID: u3lg3eqi70fn18tv8bis
Max-Forwards: 70
Contact: <sip:[email protected];transport=ws>;expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0



logger-factory.ts:101 
        
       Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.user-agent-client | Not connected.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onTransportError @ user-agent-client.ts:296
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonym) @ transaction.ts:130
Promise.catch (asynchron)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
register @ registerer.ts:358
register @ simple-user.ts:341
set hass @ demo-1.ts:106
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
i @ typography.js:181
(anonym) @ hui-state-label-badge.ts:14
Promise.then (asynchron)
(anonym) @ hui-state-label-badge.ts:14
d @ hui-state-label-badge.ts:14
c @ hui-state-label-badge.ts:14
g @ hui-state-label-badge.ts:14
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
t @ card-mod.js:1
(anonym) @ card-mod.js:5
logger-factory.ts:101 
        
       Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.user-agent-client | User agent client request transport error. Generating internal 503 Service Unavailable.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onTransportError @ user-agent-client.ts:297
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonym) @ transaction.ts:130
Promise.catch (asynchron)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
register @ registerer.ts:358
register @ simple-user.ts:341
set hass @ demo-1.ts:106
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
i @ typography.js:181
(anonym) @ hui-state-label-badge.ts:14
Promise.then (asynchron)
(anonym) @ hui-state-label-badge.ts:14
d @ hui-state-label-badge.ts:14
c @ hui-state-label-badge.ts:14
g @ hui-state-label-badge.ts:14
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
t @ card-mod.js:1
(anonym) @ card-mod.js:5
logger-factory.ts:105 
        
       Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Failed to register, status code 503
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
onReject @ registerer.ts:500
receiveResponse @ user-agent-client.ts:341
onTransportError @ user-agent-client.ts:301
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonym) @ transaction.ts:130
Promise.catch (asynchron)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
register @ registerer.ts:358
register @ simple-user.ts:341
set hass @ demo-1.ts:106
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
i @ typography.js:181
(anonym) @ hui-state-label-badge.ts:14
Promise.then (asynchron)
(anonym) @ hui-state-label-badge.ts:14
d @ hui-state-label-badge.ts:14
c @ hui-state-label-badge.ts:14
g @ hui-state-label-badge.ts:14
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
t @ card-mod.js:1
(anonym) @ card-mod.js:5
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Registration transitioned to state Unregistered
logger-factory.ts:109 Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Waiting toggled to false
logger-factory.ts:101 
        
       Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.transaction.nict | Not connected.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:104
(anonym) @ non-invite-client-transaction.ts:43
Promise.catch (asynchron)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
register @ registerer.ts:358
register @ simple-user.ts:341
set hass @ demo-1.ts:106
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
i @ typography.js:181
(anonym) @ hui-state-label-badge.ts:14
Promise.then (asynchron)
(anonym) @ hui-state-label-badge.ts:14
d @ hui-state-label-badge.ts:14
c @ hui-state-label-badge.ts:14
g @ hui-state-label-badge.ts:14
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
t @ card-mod.js:1
(anonym) @ card-mod.js:5
logger-factory.ts:101 
        
       Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.transaction.nict | Transport error occurred in non-INVITE client transaction with id z9hG4bK770918.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:105
(anonym) @ non-invite-client-transaction.ts:43
Promise.catch (asynchron)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
register @ registerer.ts:358
register @ simple-user.ts:341
set hass @ demo-1.ts:106
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
i @ typography.js:181
(anonym) @ hui-state-label-badge.ts:14
Promise.then (asynchron)
(anonym) @ hui-state-label-badge.ts:14
d @ hui-state-label-badge.ts:14
c @ hui-state-label-badge.ts:14
g @ hui-state-label-badge.ts:14
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
t @ card-mod.js:1
(anonym) @ card-mod.js:5
logger-factory.ts:101 
        
       Sat Oct 23 2021 21:59:46 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.transaction.nict | Failed to send initial outgoing request.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:106
(anonym) @ non-invite-client-transaction.ts:43
Promise.catch (asynchron)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
register @ registerer.ts:358
register @ simple-user.ts:341
set hass @ demo-1.ts:106
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
i @ typography.js:181
(anonym) @ hui-state-label-badge.ts:14
Promise.then (asynchron)
(anonym) @ hui-state-label-badge.ts:14
d @ hui-state-label-badge.ts:14
c @ hui-state-label-badge.ts:14
g @ hui-state-label-badge.ts:14
value @ hui-masonry-view.ts:44
(anonym) @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
value @ hui-masonry-view.ts:44
performUpdate @ styles.ts:367
scheduleUpdate @ styles.ts:367
_$EC @ styles.ts:367
async function (asynchron)
_$EC @ styles.ts:367
requestUpdate @ styles.ts:367
o @ styles.ts:367
y @ styles.ts:367
r @ hui-masonry-view.ts:44
value @ hui-root.ts:517
(anonym) @ ha-panel-lovelace.ts:144
(anonym) @ typography.js:181
setTimeout (asynchron)
(anonym) @ typography.js:181
handleEvent @ styles.ts:367
t @ card-mod.js:1
(anonym) @ card-mod.js:5
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | WebSocket opened wss://192.168.1.41:8089/ws
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Transitioned from Connecting to Connected
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.SimpleUser | [Anonymous] Connected
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.SimpleUser | [Anonymous] Registering...
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Waiting toggled to true
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Sending WebSocket message:

REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS rdghj1qfeqct.invalid;branch=z9hG4bK2212246
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=pnn0e32tt8
CSeq: 3 REGISTER
Call-ID: u3lg3eqi70fn18tv8bis
Max-Forwards: 70
Contact: <sip:[email protected];transport=ws>;expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0



logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Received WebSocket text message:

SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS rdghj1qfeqct.invalid;branch=z9hG4bK2212246;received=30.30.30.36
From: <sip:[email protected]>;tag=pnn0e32tt8
To: <sip:[email protected]>;tag=as07058f0b
Call-ID: u3lg3eqi70fn18tv8bis
CSeq: 3 REGISTER
Server: Asterisk PBX 18.2.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="127.0.0.1", nonce="3558c7ea"
Content-Length: 0



logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Sending WebSocket message:

REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS rdghj1qfeqct.invalid;branch=z9hG4bK2432484
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=pnn0e32tt8
CSeq: 4 REGISTER
Call-ID: u3lg3eqi70fn18tv8bis
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="anonymous.ciueda", realm="127.0.0.1", nonce="3558c7ea", uri="sip:anonymous.invalid", response="4ab5420ce267aaa1e150c7bce4ea9a62"
Contact: <sip:[email protected];transport=ws>;expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0



logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Transport | Received WebSocket text message:

SIP/2.0 403 Forbidden
Via: SIP/2.0/WSS rdghj1qfeqct.invalid;branch=z9hG4bK2432484;received=30.30.30.36
From: <sip:[email protected]>;tag=pnn0e32tt8
To: <sip:[email protected]>;tag=as07058f0b
Call-ID: u3lg3eqi70fn18tv8bis
CSeq: 4 REGISTER
Server: Asterisk PBX 18.2.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0



logger-factory.ts:105 
        
       Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Failed to register, status code 403
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
onReject @ registerer.ts:500
receiveResponse @ user-agent-client.ts:341
receiveResponse @ user-agent-client.ts:369
receiveResponse @ non-invite-client-transaction.ts:101
receiveResponseFromTransport @ user-agent-core.ts:898
receiveIncomingResponseFromTransport @ user-agent-core.ts:253
onTransportMessage @ user-agent.ts:972
transport.onMessage @ user-agent.ts:850
onWebSocketMessage @ transport.ts:488
(anonym) @ transport.ts:259
logger-factory.ts:109 Sat Oct 23 2021 21:59:47 GMT+0200 (Mitteleuropäische Sommerzeit) | sip.Registerer | Waiting toggled to false

Isn’t it better then to wait for you untill it’s out of alpha/beta ?

Good, the extensions and entities are being made. Looks like the add-on is working correctly!

For now I would recommend waiting for the new card.
I will make a detailed guide for installing and using the add-on and the new card (which is not working yet)

You could get this card working (look at HA-SIP/README.md at main · TECH7Fox/HA-SIP (github.com) for hints) But again, the new card will be much easier to setup.

I hope to have the new card working next week.

Sorry wrong link, meant this one HA-SIP/README.md at main · TECH7Fox/HA-SIP (github.com)

will it be possible to have custom naems for the extensions?

Yes, it will be possible to change the display name via the entity.