SIP client card, as intercom

nl! :hugs: You?

belgium :slight_smile:

Bit no french then ?

Perfect 15:00 meeting :wink:

No french sadly. :slight_smile: Only Dutch or English.

Nice, with the good waffles right? :slight_smile:

1 Like

Feeling so isolated here in Aus with all you euro people

1 Like

australia rocks :slight_smile: lets join disord!

If i am not wrong it seems u got it up and running. Do u want to explain maybe how u archieved that? we also have a discord channel now HA-SIP

Has someone got this running also for external access? I made port forwarding ā€¦ added stun google server in chan_sip settings but it won*t work :frowning: i am at the end of my ideas. If someone could give me a hint?

Hi together,

I have a Fritzbox over which my normal (SIP) telephony works.

My GDS3710 is also already integrated here.

It would be desirable now of course that I do not have to build a freePBX or an Astarix server.

has anyone already managed this configuration with the Fritzbox?

Unfortunately, Iā€™m getting desperate because I can not add the SIP card as a ā€œtelephony deviceā€.

Or better explained I can of course add a device in the Fritzbox but the card can not connect to the device in the Fritzboxā€¦

Can someone give me some help here?

Can you create websocket connection on your fritzbox, thatā€™s mandatory

Hey guys,

I am really interested in this project! Thanks for all the hard work!

Any chance you can repost the discord invite.
It expired :pensive:

Thanks again!

Here is a new one:

Very interesting work, thanks to all

Thanks for working on this. I must be doing something wrong, though, as I canā€™t seem to add the card?

Iā€™m in YAML mode, so unable to edit the dashboard from the UI.

Iā€™ve installed everything using HACS, and then referenced the JS file in my configuration.yaml:

{ url: /hacsfiles/HA-SIP/sipjs-card.js, type: module }, # SIP card

and then I have included it in one of my views with the various details defined:

- type: 'custom:sipjs-client-card'
  server: 'wss://[ADDRESS OF MY ASTERISK SERVER]:8089/ws'
      clients:
        device1:
          aor: sip:[EXTENSION]@[SIP SERVER]
          username: [EXTN]
          password: !secret asterisk_password         

but all I get is the error message in the UI saying:

image

What am I doing wrong? Iā€™m sure it will be something super-simple and obvious, so Iā€™m chalking this up to ā€˜holiday brainā€™. :man_facepalming:

Tried clearing cache from your browser? Thatā€™s a most common issue when using custom cards

Yep - tried that and tried a fresh browser and still no go.

I wondered if it was because I had the wrong card name in the ā€˜customā€™ definition? But this is what I see others using as well, hence my confusion.

Try using the UI mode?

The config has changed for the new card versions.

Here is a example:

type: custom:sipjs-card
server: 192.168.178.2
autoAnswer: false
video: false
camera: camera.driveway
ringtone: /local/asterisk/ringtone.mp3
button_size: '67'
custom:
  - name: doorbell
    number: '555'
    icon: mdi:doorbell-video
    entity: ''
    camera: camera.frontdoor
  - name: Phone
    number: '444'
    icon: mdi:phone-classic
    entity: binary_sensor.button_1
    camera: ''
  - name: park
    number: '700'
    icon: mdi:parking
dtmfs:
  - name: Voicemail
    signal: '#'
    icon: mdi:voicemail
  - name: Door
    signal: '5'
    icon: mdi:door
  - name: Gate
    signal: '6'
    icon: mdi:gate
port: '8089'
extensions:
  - person: person.tablet
    name: Dashboard
    extension: '100'
    secret: 1234abcd
    icon: mdi:tablet-dashboard
    entity: ''
    camera: ''
  - person: person.jordy
    name: Jordy
    extension: '101'
    secret: 1234abcd
    icon: mdi:account
    entity: ''
    camera: ''
state_color: true
ringbacktone: /local/asterisk/backtone.mp3
auto_answer: true