[New Addon] DSS VoIP Notifier: Hassio makes phone calls to you! ☎️

Aw bummer. I finally did get everything working, and it works a charm, none of the issues I ran into were in the docs and I suppose I was somewhat crippled by not having extensive VOIP protocol knowledge. It turned out my final stumbling block was in voice assist - not DSS VOIP. I will say my wife probably won’t be as thrilled as I am to have the intercoms get notifications - we’ll see :slight_smile:

In any case I certainly understand how difficult it can be to support a software product that integrates with a wide variety of products (I’ve done tech support and software development for 42 years now). This is especially the case when the software is not for profit. Thank you very much for the time spent developing this and your patience with those of us with less knowledge (and the vicissitudes of the various OTHER software that it needs to integrate with). I definitely learned a lot getting this up and running.

While I’m tempted to offer my development help - I also am trying to retire and don’t need another support job right now :smile: If anyone has 3cx pbx, local only, and HASS on a synology and wishes some help with configuring I could give them some pointers. Just ping me.

1 Like

This configuration works with telefonica movistar spain but not on the first call… That is to say, you have to call twice or more and it works… it’s a strange thing…

/homeassistant/configuration.yaml

########## Conversion de texto a audio para DSS VoIP Notifier
tts:
  - platform: google_translate
    service_name: google_translate_say
    language: 'es'

in the addon DSS VoIP Notifier configuration

sip_parameters:
  caller_id_uri: sip:[email protected]
  realm: "*"
  username: "987xxxxxx"
  password: "987xxxxxx"
pjsua_custom_options: "--outbound=sip:10.31.255.134:5070;lr --no-tcp --registrar=sip:telefonica.net"

for test the calls, Tools for developers → actions:

action: hassio.addon_stdin
data:
  addon: ebac278a_dss_voip
  input: {"call_sip_uri":"sip:[email protected]","message_tts":"Esto es una prueba"}

could it be arranged to work on the first call?

I’ve managed to get it more or less working, it’s a bit messy code, but it works every time in the tests I’m doing. It consists of launching a first call but indicating that its duration is of a second so it is cut fast. The first call is made to a dummy number that does not exist and the real call is made to our own number. I have also added a timer of 70 seconds so that if something goes after this script there is enough time to finish the real call that lasts a maximum of 50 seconds.

This is my Script:

alias: MS voip
sequence:
  - action: hassio.addon_stdin
    data:
      addon: 89275b70_dss_voip
    data_template:
      input:
        call_sip_uri: sip:[email protected]
        message_tts: Conexión...
        call_duration: 1
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - action: hassio.addon_stdin
    data:
      addon: 89275b70_dss_voip
    data_template:
      input:
        call_sip_uri: sip:[email protected]
        message_tts: Alarma en casa
        call_duration: 50
  - delay:
      hours: 0
      minutes: 1
      seconds: 10
      milliseconds: 0

I’ve been testing this for days and it works perfectly! :slight_smile:

Now that I have movistar up and running I wanted to try my other VOIP provider, which is netelip. I have tried this configuration:

sip_parameters:
  caller_id_uri: sip:[email protected]:9060
  realm: "*"
  username: "xxxxxxxxxxxxxx"
  password: "yyyyyyyyyyy"
pjsua_custom_options: '-–no-tcp --outbound=sip:sip-eu.netelip.com:9060;lr'

And with this option to perform dialing and calling:

action: hassio.addon_stdin
data:
  addon: 89275b70_dss_voip
  input: {"call_sip_uri":"sip:[email protected]:9060","message_tts":"Esto es una prueba"}

But it doesn’t work for me… Can anyone help me?

1 Like