sdesalve
(Sdesalve)
August 10, 2019, 1:22pm
1
Hi!
I’ve started a thread in the Development section but I fear that is not correct place…
I’ve made my FIRST addon for Hassio: DSS VoIP Notifier,
This add-on allows you to make VoIP calls from Hassio ad provides a way to transform a text in a audio file, make a VoIP call to a SIP url and play them to the attendee.
Let me know what do you think about and if you will find it useful!
Bye
SDeSalve
25 Likes
sdesalve
(Sdesalve)
August 14, 2019, 9:17pm
3
Hi @fillwe ,
have you tested my add-on? Works well as expected?
Documentation is clear?
Let me know if I can help you.
Best regards
SDeSalve
This addon is great!
It’s perfect for alarm notification.
I used messagenet as voip provider. Here is my configuration_:
{
"sip_parameters": {
"caller_id_uri": "sip:[email protected] ",
"realm": "*",
"username": "XXXXX",
"password": "XXXXX",
"sip_server_uri": "sip:sip.messagenet.it:5061"
},
"pjsua_custom_options": "--outbound=sip:sip.messagenet.it:5061;lr"
}
and as automation:
script:
test_voip:
sequence:
- service: hassio.addon_stdin
data_template:
addon: 89275b70_dss_voip
input: {"call_sip_uri":"sip:[email protected] ","message_tts":"Prova messaggio"}
Great job @sdesalve
3 Likes
nickrout
(Nick Rout)
August 21, 2019, 8:05pm
5
I do not run hassio, just hass and docker. How would I run this in docker without hassio?
sdesalve
(Sdesalve)
August 21, 2019, 8:41pm
6
Sorry, I think that is not possible.
I don’t know if you can run an add-on from HomeAssistant…
You can download and edit my run.sh script, adapt to your system, run it as a shell_command and make a call passing parameters…
Let me know if you will be able to make it work as you want
Have a good day
SDeSalve
nickrout
(Nick Rout)
August 22, 2019, 6:29am
7
I should be able to run that dss software in docker though surely?
nickrout
(Nick Rout)
August 22, 2019, 8:02am
9
I know what a hassio addon is. What I am saying is that there must be a way to run the software in pure docker.
hijinx
(James)
August 22, 2019, 8:09am
10
You can copy/fork his repo the use the dockerfile in a github repo that dockerhub can build for you.
Or you can build the docker image directly from his dockerfile.
2 Likes
WOOOW
Ottimo addon!
Facilissimo da configurare e porta l’ultima funzione che mancava per diventare davvero una allarme in grado di sostituire la classica.
Sviluppatore sempre pronto ad aiutare e molto competente.
Great Job!
2 Likes
nickrout
(Nick Rout)
August 22, 2019, 8:12am
12
Yeah I am building up to that
Still learning docker!
sdesalve
(Sdesalve)
August 22, 2019, 8:38am
13
I must study docs, thanks. I don’t know how I can run a script in a docker from shell.
Thanks for your suggestions!
Klagio
(Klagio)
August 22, 2019, 8:46am
16
absolutely, can’t waitr to try it
nickrout
(Nick Rout)
August 22, 2019, 8:47am
17
No HACS is not for running separate applications or daemons, it is for custom components, lovelace cards, themes, python scripts and appdaemon apps.
Klagio
(Klagio)
August 22, 2019, 8:51am
18
LuTempesta:
“sip_parameters”: { “caller_id_uri”: “sip:[email protected] ”, “realm”: “*”, “username”: “XXXXX”, “password”: “XXXXX”,
Hi, I have a messagenet number (I forgot I had ) which is +3906zzzzz
Which are the sip_parameters (sip:[email protected] , what is xxx the username??)
Also the username is the "Numero interno: 53xxxx ? Or the username to access messagenet??
sdesalve
(Sdesalve)
August 22, 2019, 8:59am
19
See attached image for username and other parameters for messagenet
Ecco i parametri più comuni per la configurazione il vostro dispositivo VoIP, cioè il vostro telefono IP, l'adattatore, o il software VoIP o il centralino IP o il modem-router:
Display Name: il vos...
Klagio
(Klagio)
August 22, 2019, 9:01am
21
Thanks now its clear the username and password, but syill not sure about what to put after sip:
I check now with the username
EDIT: yes its the “Numero interno”
sdesalve
(Sdesalve)
August 22, 2019, 9:06am
22
{
"sip_parameters": {
"caller_id_uri": "sip:[email protected] ",
"realm": "*",
"username": "53XXX",
"password": "XxXXX",
"sip_server_uri": "sip:sip.messagenet.it:5061"
},
"pjsua_custom_options": "--outbound=sip:sip.messagenet.it:5061;lr"
}