Not sure then. Don’t think I ever saw this error anyways…
You can make a issue on github. TECH7Fox/sip-hass-card
Btw, there is also a discord server. Maybe someone will come up with the same problem. HA-SIP
Not sure then. Don’t think I ever saw this error anyways…
You can make a issue on github. TECH7Fox/sip-hass-card
Btw, there is also a discord server. Maybe someone will come up with the same problem. HA-SIP
Hi everyone, I’m trying to start using this sip card, but I can’t figure out why it doesn’t work. I’m getting these errors in the console, I’m using issabel pbx with asterisk 16. I tried to connect using jssip and sipml5 from my localhost and with both the same sip account works correctly. Any help is greatly appreciated. Thank you!
**Developer console in HA : **
[2022-08-25 21:34:54] ERROR[11689]: iostream.c:633 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2022-08-25 21:34:54] ERROR[11689]: tcptls.c:157 handle_tcptls_connection: Unable to set up ssl connection with peer '192.168.0.98:58594’
[2022-08-25 21:34:54] ERROR[11689]: iostream.c:538 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2022-08-25 21:34:54] ERROR[11690]: chan_sip.c:4321 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
Make sure you are using valid SSL certificates and also use a public hostname as your server address on the sip card config, like duckdns as example
Open 8089 in your router as well the RTP ports
Hi @Brainjay I’m having the exact same symptoms as you describe here. Did you manage to figure out what was the issue?
Same setup
From some reason, there is no action here. I encounter a problem with the SIP card over iOS devices.
I have several Android devices with HA companion, each is having its own person setup and it is logged in as this person.
Only under iOS, the SIP-Card does not recognize the person in use and I get the following notification:
" Person and backup not configured! There is no extension configured for this person, and no backup extension configured. Please configure one of them."
The card contains the proper person, the login is OK and different for each person.
Any one got this issue?
Weird. iOS shouldn’t have be any different about users. You sure your logged in with a configured person? Try logging in with the same person as your other device.
Goodmorning all! @pergola.fabio threw me inside the black hole of Asterisk and SIP card, to get Hikvision intercom 2-way audio working…
So as I am reading the hundreds of posts in the topic, I thought I should thank him and the creator @TECHFox and say hi, before I hit you with questions!
Eventually I have found the problem. You have to set a person 1st and than give him login rights so a proper user is being created.
Nevertheless, I am still stuck with all definitions as per your instruction yet no dialing takes place.
I have no idea but did not have time yet to look it up or ask for help.
My goal is to hook things up to my Hikvision 8003 intercom to a SIP system. I am not sure if this can take place by using a SIp extension to the main panel or the hole Hikvision must be used with a SIP server.
I will be happy to answers to this issue or link to the discussion around this idea.
Hi, welcome!
There is a Discord server if you need help. Also people with a Hikvision there. HA-SIP
Good luck!
Could you post your asterisk and browser logs in the Discord server?
Easiest would probably be to connect it directly to Asterisk.
At the moment the Asterisk odd on refuses to load (it was working and I did not touch it for a while).
I will have to fix this 1st but I am busy in another issue with HA (faulty geo-location and groups behavior). I will fix this and return to the HA-SIP.
Update - I have rebooted and now it works. I have no idea why it behaves like this but it happens from time to time.
I have a huge setup with about 100 KNX device and another 100 IoT devices installed around the house.
Hi all, really amazing project! It will make everything that everyone looks for an intercom as a reality.
I have one question, does it only works with wss: ? Does not work with native sip (udp 5060?) cos this will restrict the sip servers to be used (dahua internal for me).
Thanks
Only wss works. Browsers don’t support sip directly. You can however use trunks to connect 2 pbx’s together.
Hi everyone
I got and issue adding the custom sip card to the dashboard. it appears and I can put all of the details in but when I saved and closed it. it doesn’t show up in the dashboard
thanks
hello, same problem here, I just installed a fresh version from HACS.
I have the same problem from time to time, usually the fix is to close that browser tab and open HA again in a new tab, OR press Ctrl+F5 to refresh. Also helps to press F12 to bring up the browser console to see the errors.
@TECHFox Thanks for this project, although I’ve been pulling my hair for about a week now and finally I got it to call between 2 browsers/users.
However, may I request that you add the error below into your Trouble Shooting section of the SIP Client Card? Even though its a real rookie mistake but I didn’t think I needed a microphone in order to test the connection/calling, but yeah it was all good once I realized and plugged in a USB Webcam (has microphone). Mama mia!! Hahahaa!
ERROR FROM BROWSER CONSOLE:
Call failed. Originator: local [sipjs-card.ts:805:24](webpack://ha-sip/src/sipjs-card.ts)
getUserMedia() failed: NotFoundError: The object can not be found here.
FIX: => This is because computer/browser has no MICROPHONE!!! And thats why getUserMedia()
failed, and all you see is the call screen flash really quickly like a split second.
Any idea how to create a SIP trunk between the add-on and a SIP PBX?