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

Browser not asking for microphone using sip card #119

Open
Dronedale opened this issue Feb 29, 2024 · 2 comments
Open

Browser not asking for microphone using sip card #119

Dronedale opened this issue Feb 29, 2024 · 2 comments

Comments

@Dronedale
Copy link

Dronedale commented Feb 29, 2024

Hi everyone,

i am trying the past couple of days getting the SIP card to work. I´m using duckdns for https. After configuration of my SIP card and start making a call, nothing happens (it just says 'calling' and i cannot hang up)
As far as I know I should be asked by the browser for mic access, but this is not happening in my case.

the browser log says:

'Connecting to wss://:8089undefined/ws', which fails (invalid arg exception)

I think 'undefined' shouldn´t be there?

here my config:

`type: custom:sipjs-card
server: 192.168.178.2
port: '8089'
video: false
ringtone: /local/asterisk/ringtone.mp3
button_size: '62'
custom: []
dtmfs:

  • name: Door
    signal: '1'
    icon: mdi:door
    extensions:
  • person: person.daniel_schroder
    name: Daniel HA
    extension: '100'
    secret: 123456
    icon: mdi:monitor
  • person: person.doorbell
    name: Doorbell
    extension: '101'
    secret: 123456
    icon: mdi:tablet
  • person: person.test
    name: fritz
    extension: '102'
    secret: 123456
    icon: mdi:tablet
    state_color: false
    ringbacktone: /local/asterisk/backtone.mp3
    auto_answer: false
    custom_title: ''
    hide_me: true
    `

Any suggestions?

@TECH7Fox
Copy link
Owner

TECH7Fox commented Mar 1, 2024

Looks like your missing the prefix option. Try adding prefix: '' to the card config.

@Dronedale
Copy link
Author

Thanks for your quick response! Tried it and it is working.
Why do I need to set this parameter in the config while your default config does not contain it?

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

2 participants