Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sip-hass-card SIP clients do not connect to Asterisk Add-on #128

Open
satnerd opened this issue Dec 5, 2024 · 1 comment
Open

sip-hass-card SIP clients do not connect to Asterisk Add-on #128

satnerd opened this issue Dec 5, 2024 · 1 comment

Comments

@satnerd
Copy link

satnerd commented Dec 5, 2024

I have two sip clients configured. Details attached: sip-hass-card-config-yaml.txt.txt

The clients do not connect to the Asterix addon.
I cannot see a connection when checking with pjsip list endpoints.

I successfully connected SIP clients to Asterix addon using various SIP User Agents.

I then checked for java script errors in the browser console and found: console-errors.txt

It seems like the java-script variable this.config.prefix is not defined in webpack://ha-sip/src/sipjs-card.ts:715

I have no idea where such prefix needs to be defined.

@satnerd
Copy link
Author

satnerd commented Dec 6, 2024

I found the problem: The entry prefix: "" was missing in sip-hass-card.
I did a lot of playing and changing in this config file.
Is there a way to start from zero with all the endpoints in asterisk?
The ones in asterisk are not the same as specified in sip-hass-card

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant