Hi, thanks for this add-on.
I am trying to make it work.
I managed to configure it as described in the info provided.
The call is triggered and I get my mobile phone ringing.
But there is no audio when i answer.
I use the following config.
Thanks for your help
sip_parameters:
caller_id_uri: ‘sip:[email protected]:5060’
realm: ‘*’
username: homeassistant
password: xxxxxx
pjsua_custom_options: ‘–ip-addr=192.168.188.38’
the messaggio.mp3 file is locally saved under Cassio www folder and I can successfully play it from a browser.
and the log after the call is
Add-on: DSS VoIP Notifier
VoIP Notifier for HomeAssistant
Add-on version: 3.3.3
You are running the latest version of this add-on.
System: HassOS 4.13 (amd64 / qemux86-64)
Home Assistant Core: 0.114.4
Home Assistant Supervisor: 243
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[Info] Starting addon…
[Info] Listening for messages via stdin service call…
[Info] Received messages {“audio_file_url”: “https://“myserver”.fritz.box:8123/local/messaggio.mp3”, “call_sip_uri”: “sip:+“mymobile”@fritz.box”}
Converting audio file ‘https://“myserver”.fritz.box:8123/local/messaggio.mp3’…
Audio succesfully converted…
Starting SIP Client and calling ‘sip:+“mymobile”@fritz.box’…
This call will be terminated after ‘50’ seconds.
00:17:12.204 os_core_unix.c !pjlib 2.9 for POSIX initialized
00:17:12.205 sip_endpoint.c .Creating endpoint instance…
00:17:12.205 pjlib .select() I/O Queue created (0x55805ea12c90)
00:17:12.205 sip_endpoint.c .Module “mod-msg-print” registered
00:17:12.205 sip_transport.c .Transport manager created.
00:17:12.205 pjsua_core.c .PJSUA state changed: NULL --> CREATED
00:17:12.229 pjsua_core.c .pjsua version 2.9 for Linux-5.4.63/x86_64 initialized
00:17:12.232 pjsua_app.c .Turning sound device -99 -99 ON
00:17:12.232 main.c Ready: Success
00:17:12.335 pjsua_app.c …Call 0 state changed to CALLING
Account list:
[ 0] sip:172.30.33.7:5060: does not register
Online status: Online
[ 1] sip:172.30.33.7:5060;transport=TCP: does not register
Online status: Online
*[ 2] sip:[email protected]:5060: does not register
Online status: Online
Buddy list:
[ 1] <?> sip:+“mymobile”@fritz.box
+=============================================================================+
| Call Commands: | Buddy, IM & Presence: | Account: |
| | | |
| m Make new call | +b Add new buddy .| +a Add new accnt |
| M Make multiple calls | -b Delete buddy | -a Delete accnt. |
| a Answer call | i Send IM | !a Modify accnt. |
| h Hangup call (ha=all) | s Subscribe presence | rr (Re-)register |
| H Hold call | u Unsubscribe presence | ru Unregister |
| v re-inVite (release hold) | t ToGgle Online status | > Cycle next ac.|
| U send UPDATE | T Set online status | < Cycle prev ac.|
| ],[ Select next/prev call ±-------------------------±------------------+
| x Xfer call | Media Commands: | Status & Config: |
| X Xfer with Replaces | | |
| # Send RFC 2833 DTMF | cl List ports | d Dump status |
| * Send DTMF with INFO | cc Connect port | dd Dump detailed |
| dq Dump curr. call quality | cd Disconnect port | dc Dump config |
| | V Adjust audio Volume | f Save config |
| S Send arbitrary REQUEST | Cp Codec priorities | |
±----------------------------------------------------------------------------+
| q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type |
+=============================================================================+
You have 1 active call
Current call id=0 to sip:+“mymobile”@fritz.box [CALLING]
00:17:12.343 pjsua_app.c SIP TCP transport is connected to 192.168.188.1:5060
00:17:12.372 pjsua_app.c …Call 0 state changed to EARLY (183 Session Progress)
00:17:23.356 pjsua_app.c …Call 0 state changed to CONNECTING
00:17:23.361 pjsua_app.c …Call 0 state changed to CONFIRMED
00:17:44.356 pjsua_app.c SIP TCP transport is disconnected from 192.168.188.1:5060: End of file (PJ_EEOF) [status=70016]
00:18:02.188 pjsua_app.c …Call 0 is DISCONNECTED [reason=200 (Normal call clearing)]
00:18:02.188 pjsua_app_common.c …
[DISCONNCTD] To: sip:+“mymobile”@fritz.box;tag=8AAB8194A39959A9
Call time: 00h:00m:38s, 1st res in 140 ms, conn in 11129ms
#0 audio iLBC @8kHz, sendrecv, peer=-
SRTP status: Not active Crypto-suite:
RX pt=104, last update:00h:00m:01.629s ago
total 0pkt 0B (0B +IP hdr) @avg=0bps/0bps
pkt loss=0 (0.0%), discrd=0 (0.0%), dup=0 (0.0%), reord=0 (0.0%)
(msec) min avg max last dev
loss period: 0.000 0.000 0.000 0.000 0.000
jitter : 0.000 0.000 0.000 0.000 0.000
TX pt=104, ptime=30, last update:never
total 602pkt 30.1KB (54.1KB +IP hdr) @avg=6.2Kbps/11.1Kbps
pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%)
(msec) min avg max last dev
loss period: 0.000 0.000 0.000 0.000 0.000
jitter : 0.000 0.000 0.000 0.000 0.000
RTT msec : 0.000 0.000 0.000 0.000 0.000
00:18:03.189 pjsua_app.c …Turning sound device -99 -99 OFF
[Info] Call ended…
[Info] Listening for messages via stdin service call…