Closed kangaroo72 closed 1 year ago
Do you have parameters for your provider? Have you tried to use them successfully with other sip clients?
What kind of error do you get? Could you please post here
Your config Full addon logs
Hi and thanks for reply. Yeah - the data are working. I'm not an expert with these configs, so I think that's the problem...
Here my config
Here my automation (not sure if right at all...)
Here my log.
Thanks so much,
-Tom-
...
- service: hassio.addon_stdin
data_template:
addon: 89275b70_dss_voip
input: {"call_sip_uri":"sip:+393334455667@sipserver.com","message_tts":"Write here your message"}
...
Disable Fritz box sip firewall
what's 192.168.178.136 in your setup? Home Assistant?
This is my actual log-file... it seems to be calling, but it's not ringing on my phone...
what's 192.168.178.136 in your setup? Home Assistant?
Yes
Disable Fritz box sip firewall
It's already disabled...
Full logs?
[Info] Starting addon...
PJSUA_CUSTOM_OPTIONS = '--no-tcp --ip-addr=192.168.200.6'
[Info] Listening for messages via stdin service call...
[Info] Received messages {"call_sip_uri":"sip:+xxxxxxxxxxx@fritz.box:5060","message_tts":"Write here your message"}
Converting audio file 'http://192.168.200.6:8123/api/tts_proxy/3bb4cd06a7898fc0a33665f241cb48f2f2a192ac_en_-_google_translate.mp3'...
Audio succesfully converted...
Starting SIP Client and calling 'sip:+4916097627100@fritz.box:5060'...
This call will be terminated after '50' seconds.
06:06:38.262 os_core_unix.c !pjlib 2.11.1 for POSIX initialized
12:34:54.263 sip_endpoint.c .Creating endpoint instance...
19:03:10.264 pjlib .select() I/O Queue created (0xb66f30c8)
19:03:10.264 sip_endpoint.c .Module "mod-msg-print" registered
19:03:10.264 sip_transport. .Transport manager created.
19:03:10.264 pjsua_core.c .PJSUA state changed: NULL --> CREATED
20:18:06.290 pjsua_core.c .pjsua version 2.11.1 for Linux-5.15.84/armv7l initialized
13:00:46.300 pjsua_app.c .Turning sound device -99 -99 ON
19:29:02.301 main.c Ready: Success
10:18:38.307 pjsua_app.c .......Call 0 state changed to CALLING
>>>>
Account list:
[ 0] <sip:192.168.200.6:5060>: does not register
Online status: Online
*[ 1] sip:hass-ipp@fritz.box:5060: does not register
Online status: Online
Buddy list:
[ 1] <?> sip:+xxxxxxxxxxx@fritz.box:5060
+=============================================================================+
| 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:+xxxxxxxxxxx@fritz.box:5060 [CALLING]```
After that?
That's all logging
You have 1 active call Current call id=0 to sip:+xxxxxxxxxxx@fritz.box:5060 [CALLING]```
after this must be call logs and then
[Info] Listening for messages via stdin service call...
or addon crash logs
username: hass-ipp-user password: hass-ipp-pass
this are login data for a IP phone created in Telephony > Phone devices > add ip phone?
I will test other credentials....
tried credentials and name w/o special-characters - same problem - no further log.
post a screenshot of this page of your fritz
is this >
+49xxxxxxxxxx100 another phone number? or your fritz mobile number?
the number xxx100 is my smartphone
if you install microsip.org on your computer, could successfully place a call with same credential and same config?
Will try later - thanks for now - I'll update later
here I have my Voip phone landline number because it's my fritz that will register on my provider and act as a PBX. Is your fritz configured to allow call?
Yeah - I'm using the C6's below for outgoing Call's and the Yealink T54W
ok. please install microsip.org and use same log in data to place a call
Below my working config for FRITZ!Box 7590 with latest FRITZ!OS 7.50, HA on Debian Bullseye virtual machine, tts via google translate and Node-RED
FRITZ!Box
HA > /config/configuration.yaml
DSS VoIP Notifier Add-On
Node-RED
data > call service JSON-Editor
{ "addon": "89275b70_dss_voip", "input": { "call_sip_uri": "sip:+49358@fritz.box:5060", "message_tts": "Thanks for this great add-on" } }
Holy... it works!! Woohooooo. The usual thing... RTFM... Read the f*** manual....
I had caller_id_uri: 'sip:username@sipserver.com' But not with the username as mentioned, but the title of the virtual device... FACEPALM
Thanks so much for your patience.
Hi all,
it's an amazing addon, but sadly I'm unable to get it working. Does anyone has a config with Provider "Deutsche Telekom / Germany" to dial? Thanks a lot