Ha-sip und picotts: Anruf wird getätigt aber kein Text gelesen

Hallo zusammen,

ich habe folgende Aktion ausgeführt:

action: hassio.addon_stdin
data:
  addon: c7744bff_ha-sip
  input:
    command: dial
    number: sip:+491234567890@fritz.box
    ring_timeout: 20
    menu:
      message: Hallo, das ist eine Nachricht von Home Assistant.
      wait_for_audio_to_finish: true 
      post_action: hangup

Der Anruf wird getätigt, aber kein Text gesprochen.

audio_file: anstelle von message habe ich auch probiert, auch erfolglos.

Bei der Aktion:

action: tts.picotts_say
data:
  cache: false
  entity_id: media_player.browser_mod_aabbccdd_eeffgghh
  message: Hallo, das ist eine Nachricht von Home Assistant.

wird ein Text vorgelesen.

Im Log wird beim Anruf folgendes Ausgegeben:

| 18:20:01.663608 [ ] Got "dial" command for sip:+491234567890@fritz.box
| &id001
| id: null
| message: Hallo, das ist eine Nachricht von Home Assistant.
| handle_as_template: false
| audio_file: null
| language: en
| action: null
| choices_are_pin: false
| choices: {}
| default_choice:
|   id: null
|   message: Unknown option
|   handle_as_template: false
|   audio_file: null
|   language: en
|   action: null
|   choices_are_pin: false
|   choices: null
|   default_choice: null
|   timeout_choice: null
|   post_action:
|     action: return
|     level: 1
|   timeout: 300.0
|   parent_menu: *id001
|   cache_audio: false
|   wait_for_audio_to_finish: false
| timeout_choice:
|   id: null
|   message: null
|   handle_as_template: false
|   audio_file: null
|   language: en
|   action: null
|   choices_are_pin: false
|   choices: null
|   default_choice: null
|   timeout_choice: null
|   post_action:
|     action: hangup
|   timeout: 300.0
|   parent_menu: *id001
|   cache_audio: false
|   wait_for_audio_to_finish: false
| timeout: 300.0
| post_action:
|   action: hangup
| parent_menu: null
| cache_audio: false
| wait_for_audio_to_finish: true
| 
| 18:20:01.666876 [1] Registering call with id sip:+491234567890@fritz.box
| 18:20:01.666912 [ ] Add to state with IDs sip:+491234567890@fritz.box, +491234567890
18:20:01.666           pjsua_call.c  Making call with acc #0 to sip:+491234567890@fritz.box
18:20:01.666            pjsua_aud.c  .Set sound device: capture=-99, playback=-99, mode=0, use_default_settings=0
18:20:01.666            pjsua_aud.c  ..Null sound device, mode setting is ignored
18:20:01.666            pjsua_aud.c  ..Setting null sound device..
18:20:01.666            pjsua_aud.c  ...Opening null sound device..
18:20:01.667          pjsua_media.c  .Call 0: initializing media..
18:20:01.667                icetp00  ..Creating ICE stream transport with 2 component(s)
18:20:01.668                icetp00  ...Comp 1/0: host candidate ha.ip:4011 (tpid=64) added
18:20:01.668                icetp00  ...Comp 1/1: host candidate ha.ip.2:4011 (tpid=64) added
18:20:01.668                icetp00  ...Comp 1/2: host candidate 172.30.32.1:4011 (tpid=64) added
18:20:01.668                icetp00  ...Comp 1/3: host candidate 172.30.232.1:4011 (tpid=64) added
18:20:01.669                icetp00  ...Comp 2/0: host candidate ha.ip:4025 (tpid=64) added
18:20:01.669                icetp00  ...Comp 2/1: host candidate ha.ip.2:4025 (tpid=64) added
18:20:01.669                icetp00  ...Comp 2/2: host candidate 172.30.32.1:4025 (tpid=64) added
18:20:01.669                icetp00  ...Comp 2/3: host candidate 172.30.232.1:4025 (tpid=64) added
18:20:01.669                icetp00  ...ICE stream transport 0x2d41e528 created
18:20:01.669                icetp01  ..Creating ICE stream transport with 2 component(s)
18:20:01.670                icetp01  ...Comp 1/0: host candidate ha.ip:4038 (tpid=64) added
18:20:01.670                icetp01  ...Comp 1/1: host candidate ha.ip.2:4038 (tpid=64) added
18:20:01.670                icetp01  ...Comp 1/2: host candidate 172.30.32.1:4038 (tpid=64) added
18:20:01.670                icetp01  ...Comp 1/3: host candidate 172.30.232.1:4038 (tpid=64) added
18:20:01.671                icetp01  ...Comp 2/0: host candidate ha.ip:4015 (tpid=64) added
18:20:01.671                icetp01  ...Comp 2/1: host candidate ha.ip.2:4015 (tpid=64) added
18:20:01.671                icetp01  ...Comp 2/2: host candidate 172.30.32.1:4015 (tpid=64) added
18:20:01.671                icetp01  ...Comp 2/3: host candidate 172.30.232.1:4015 (tpid=64) added
18:20:01.671                icetp01  ...ICE stream transport 0x2d3138b8 created
18:20:01.671          pjsua_media.c  ..Media index 0 selected for audio call 0
| 18:20:01.672381 [ ] Calling webhook sip_call_webhook_id with data {'caller': 'unknown', 'called': 'unknown', 'parsed_caller': None, 'parsed_called': None, 'sip_account': 1, 'call_id': None, 'internal_id': 'sip:+491234567890@fritz.box', 'headers': {}, 'event': 'outgoing_call_initiated'}
| 18:20:01.680121 [ ] Webhook response 200 b''
18:20:01.680         srtp0x2d3ea8a0  SRTP transport created
18:20:01.680         srtp0x2d302760  SRTP transport created
18:20:01.681                icetp00  ICE session created, comp_cnt=2, role is Controlling agent
18:20:01.681                icetp00  ICE nomination type set to aggressive
18:20:01.681                icetp00  Candidate 0 added: comp_id=1, type=host, foundation=Hc0a86366, addr=ha.ip:4011, base=ha.ip:4011, prio=0x7effffff (2130706431)
18:20:01.681                icetp00  Candidate 1 added: comp_id=1, type=host, foundation=Hc0a83466, addr=ha.ip.2:4011, base=ha.ip.2:4011, prio=0x7efffeff (2130706175)
18:20:01.681                icetp00  Candidate 2 added: comp_id=1, type=host, foundation=Hac1e2001, addr=172.30.32.1:4011, base=172.30.32.1:4011, prio=0x7efffdff (2130705919)
18:20:01.681                icetp00  Candidate 3 added: comp_id=1, type=host, foundation=Hac1ee801, addr=172.30.232.1:4011, base=172.30.232.1:4011, prio=0x7efffcff (2130705663)
18:20:01.681                icetp00  Candidate 4 added: comp_id=2, type=host, foundation=Hc0a86366, addr=ha.ip:4025, base=ha.ip:4025, prio=0x7efffffe (2130706430)
18:20:01.681                icetp00  Candidate 5 added: comp_id=2, type=host, foundation=Hc0a83466, addr=ha.ip.2:4025, base=ha.ip.2:4025, prio=0x7efffefe (2130706174)
18:20:01.681                icetp00  Candidate 6 added: comp_id=2, type=host, foundation=Hac1e2001, addr=172.30.32.1:4025, base=172.30.32.1:4025, prio=0x7efffdfe (2130705918)
18:20:01.682                icetp00  Candidate 7 added: comp_id=2, type=host, foundation=Hac1ee801, addr=172.30.232.1:4025, base=172.30.232.1:4025, prio=0x7efffcfe (2130705662)
18:20:01.682                icetp01  ICE session created, comp_cnt=2, role is Controlling agent
18:20:01.682                icetp01  ICE nomination type set to aggressive
18:20:01.682                icetp01  Candidate 0 added: comp_id=1, type=host, foundation=Hc0a86366, addr=ha.ip:4038, base=ha.ip:4038, prio=0x7effffff (2130706431)
18:20:01.682                icetp01  Candidate 1 added: comp_id=1, type=host, foundation=Hc0a83466, addr=ha.ip.2:4038, base=ha.ip.2:4038, prio=0x7efffeff (2130706175)
18:20:01.682                icetp01  Candidate 2 added: comp_id=1, type=host, foundation=Hac1e2001, addr=172.30.32.1:4038, base=172.30.32.1:4038, prio=0x7efffdff (2130705919)
18:20:01.682                icetp01  Candidate 3 added: comp_id=1, type=host, foundation=Hac1ee801, addr=172.30.232.1:4038, base=172.30.232.1:4038, prio=0x7efffcff (2130705663)
18:20:01.682                icetp01  Candidate 4 added: comp_id=2, type=host, foundation=Hc0a86366, addr=ha.ip:4015, base=ha.ip:4015, prio=0x7efffffe (2130706430)
18:20:01.682                icetp01  Candidate 5 added: comp_id=2, type=host, foundation=Hc0a83466, addr=ha.ip.2:4015, base=ha.ip.2:4015, prio=0x7efffefe (2130706174)
18:20:01.682                icetp01  Candidate 6 added: comp_id=2, type=host, foundation=Hac1e2001, addr=172.30.32.1:4015, base=172.30.32.1:4015, prio=0x7efffdfe (2130705918)
18:20:01.682                icetp01  Candidate 7 added: comp_id=2, type=host, foundation=Hac1ee801, addr=172.30.232.1:4015, base=172.30.232.1:4015, prio=0x7efffcfe (2130705662)
18:20:01.682         tcpc0x2d322118  ...TCP client transport created
18:20:01.682         tcpc0x2d322118  ...TCP transport ha.ip:54641 is connecting to fritz.box:5060...
18:20:01.682           pjsua_core.c  ...TX 2805 bytes Request msg INVITE/cseq=24242 (tdta0x2d31c330) to TCP fritz.box:5060:
INVITE sip:+491234567890@fritz.box SIP/2.0
Via: SIP/2.0/TCP ha.ip:54641;rport;branch=z9hG4bKPjLaHaDLQBsjnCtXtpqWGb1Ytp.AVV20tu;alias
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: sip:+491234567890@fritz.box
Contact: <sip:homeassistant@opn.ext.ip:5060;ob>;+sip.ice
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24242 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, siprec, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length:  2158
v=0
o=- 3984222001 3984222001 IN IP4 ha.ip
s=pjmedia
b=AS:117
t=0 0
a=X-nat:0
m=audio 4011 RTP/AVP 96 97 98 99 3 0 8 9 100 120 121 122 123
c=IN IP4 ha.ip
b=TIAS:96000
a=rtcp:4025 IN IP4 ha.ip
a=sendrecv
a=rtpmap:96 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:98 speex/32000
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:100 opus/48000/2
a=fmtp:100 useinbandfec=1
a=rtpmap:120 telephone-event/16000
a=fmtp:120 0-16
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-16
a=rtpmap:122 telephone-event/32000
a=fmtp:122 0-16
a=rtpmap:123 telephone-event/48000
a=fmtp:123 0-16
a=ssrc:95661535 cname:5d025ef964013394
a=ice-ufrag:7923774c
a=ice-pwd:0f68c5db490513081cac6aa5
a=candidate:Hc0a86366 1 UDP 2130706431 ha.ip 4011 typ host
a=candidate:Hc0a83466 1 UDP 2130706175 ha.ip.2 4011 typ host
a=candidate:Hac1e2001 1 UDP 2130705919 172.30.32.1 4011 typ host
a=candidate:Hac1ee801 1 UDP 2130705663 172.30.232.1 4011 typ host
a=candidate:Hc0a86366 2 UDP 2130706430 ha.ip 4025 typ host
a=candidate:Hc0a83466 2 UDP 2130706174 ha.ip.2 4025 typ host
a=candidate:Hac1e2001 2 UDP 2130705918 172.30.32.1 4025 typ host
a=candidate:Hac1ee801 2 UDP 2130705662 172.30.232.1 4025 typ host
m=text 4038 RTP/AVP 100 98
c=IN IP4 ha.ip
a=rtcp:4015 IN IP4 ha.ip
a=sendrecv
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
a=rtpmap:98 t140/1000
a=ssrc:1298454730 cname:5d025ef964013394
a=ice-ufrag:10506f17
a=ice-pwd:4983bb0b71ffbfcd63d9d62e
a=candidate:Hc0a86366 1 UDP 2130706431 ha.ip 4038 typ host
a=candidate:Hc0a83466 1 UDP 2130706175 ha.ip.2 4038 typ host
a=candidate:Hac1e2001 1 UDP 2130705919 172.30.32.1 4038 typ host
a=candidate:Hac1ee801 1 UDP 2130705663 172.30.232.1 4038 typ host
a=candidate:Hc0a86366 2 UDP 2130706430 ha.ip 4015 typ host
a=candidate:Hc0a83466 2 UDP 2130706174 ha.ip.2 4015 typ host
a=candidate:Hac1e2001 2 UDP 2130705918 172.30.32.1 4015 typ host
a=candidate:Hac1ee801 2 UDP 2130705662 172.30.232.1 4015 typ host
--end msg--
| 18:20:01.682599 [1] Calling
18:20:01.684         tcpc0x2d322118  TCP transport ha.ip:54641 is connected to fritz.box:5060
18:20:01.707           pjsua_core.c  .RX 468 bytes Response msg 401/INVITE/cseq=24242 (rdata0x2d322408) from TCP fritz.box:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP ha.ip:54641;rport=54641;branch=z9hG4bKPjLaHaDLQBsjnCtXtpqWGb1Ytp.AVV20tu;alias;received=opn.ext.ip
From: <sip:homeassistant@fritz.box>;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: <sip:+491234567890@fritz.box>;tag=B106FD43C27DFDD5
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24242 INVITE
WWW-Authenticate: Digest realm="fritz.box", nonce="99774FBE3C6DA836"
User-Agent: FRITZ!OS
Content-Length: 0
--end msg--
18:20:01.707           pjsua_core.c  ..TX 379 bytes Request msg ACK/cseq=24242 (tdta0x2d3249c0) to TCP fritz.box:5060:
ACK sip:+491234567890@fritz.box SIP/2.0
Via: SIP/2.0/TCP ha.ip:54641;rport;branch=z9hG4bKPjLaHaDLQBsjnCtXtpqWGb1Ytp.AVV20tu;alias
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: sip:+491234567890@fritz.box;tag=B106FD43C27DFDD5
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24242 ACK
Content-Length:  0
--end msg--
18:20:01.709           pjsua_core.c  .......TX 2982 bytes Request msg INVITE/cseq=24243 (tdta0x2d31c330) to TCP fritz.box:5060:
INVITE sip:+491234567890@fritz.box SIP/2.0
Via: SIP/2.0/TCP ha.ip:54641;rport;branch=z9hG4bKPjKMCQBWZ2s8gJiWtnNl77BSSPK8dhrb.F;alias
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: sip:+491234567890@fritz.box
Contact: <sip:homeassistant@opn.ext.ip:5060;ob>;+sip.ice
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24243 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, siprec, norefersub
Session-Expires: 1800
Min-SE: 90
Authorization: Digest username="homeassistant", realm="fritz.box", nonce="99774FBE3C6DA836", uri="sip:+491234567890@fritz.box", response="0eae5606c8ad4720b0134273f4f4e039"
Content-Type: application/sdp
Content-Length:  2158
v=0
o=- 3984222001 3984222001 IN IP4 ha.ip
s=pjmedia
b=AS:117
t=0 0
a=X-nat:0
m=audio 4011 RTP/AVP 96 97 98 99 3 0 8 9 100 120 121 122 123
c=IN IP4 ha.ip
b=TIAS:96000
a=rtcp:4025 IN IP4 ha.ip
a=sendrecv
a=rtpmap:96 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:98 speex/32000
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:100 opus/48000/2
a=fmtp:100 useinbandfec=1
a=rtpmap:120 telephone-event/16000
a=fmtp:120 0-16
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-16
a=rtpmap:122 telephone-event/32000
a=fmtp:122 0-16
a=rtpmap:123 telephone-event/48000
a=fmtp:123 0-16
a=ssrc:95661535 cname:5d025ef964013394
a=ice-ufrag:7923774c
a=ice-pwd:0f68c5db490513081cac6aa5
a=candidate:Hc0a86366 1 UDP 2130706431 ha.ip 4011 typ host
a=candidate:Hc0a83466 1 UDP 2130706175 ha.ip.2 4011 typ host
a=candidate:Hac1e2001 1 UDP 2130705919 172.30.32.1 4011 typ host
a=candidate:Hac1ee801 1 UDP 2130705663 172.30.232.1 4011 typ host
a=candidate:Hc0a86366 2 UDP 2130706430 ha.ip 4025 typ host
a=candidate:Hc0a83466 2 UDP 2130706174 ha.ip.2 4025 typ host
a=candidate:Hac1e2001 2 UDP 2130705918 172.30.32.1 4025 typ host
a=candidate:Hac1ee801 2 UDP 2130705662 172.30.232.1 4025 typ host
m=text 4038 RTP/AVP 100 98
c=IN IP4 ha.ip
a=rtcp:4015 IN IP4 ha.ip
a=sendrecv
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
a=rtpmap:98 t140/1000
a=ssrc:1298454730 cname:5d025ef964013394
a=ice-ufrag:10506f17
a=ice-pwd:4983bb0b71ffbfcd63d9d62e
a=candidate:Hc0a86366 1 UDP 2130706431 ha.ip 4038 typ host
a=candidate:Hc0a83466 1 UDP 2130706175 ha.ip.2 4038 typ host
a=candidate:Hac1e2001 1 UDP 2130705919 172.30.32.1 4038 typ host
a=candidate:Hac1ee801 1 UDP 2130705663 172.30.232.1 4038 typ host
a=candidate:Hc0a86366 2 UDP 2130706430 ha.ip 4015 typ host
a=candidate:Hc0a83466 2 UDP 2130706174 ha.ip.2 4015 typ host
a=candidate:Hac1e2001 2 UDP 2130705918 172.30.32.1 4015 typ host
a=candidate:Hac1ee801 2 UDP 2130705662 172.30.232.1 4015 typ host
--end msg--
18:20:01.762           pjsua_core.c  .RX 405 bytes Response msg 100/INVITE/cseq=24243 (rdata0x2d322408) from TCP fritz.box:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/TCP ha.ip:54641;rport=54641;branch=z9hG4bKPjKMCQBWZ2s8gJiWtnNl77BSSPK8dhrb.F;alias;received=opn.ext.ip
From: <sip:homeassistant@fritz.box>;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: <sip:+491234567890@fritz.box>
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24243 INVITE
User-Agent: AVM FRITZ!Box 7590 154.08.21 (Sep 25 2025)
Content-Length: 0
--end msg--
18:20:01.819           pjsua_core.c  .RX 865 bytes Response msg 183/INVITE/cseq=24243 (rdata0x2d322408) from TCP fritz.box:5060:
SIP/2.0 183 Session Progress
Via: SIP/2.0/TCP ha.ip:54641;rport=54641;branch=z9hG4bKPjKMCQBWZ2s8gJiWtnNl77BSSPK8dhrb.F;alias;received=opn.ext.ip
From: <sip:homeassistant@fritz.box>;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: <sip:+491234567890@fritz.box>;tag=B164B9A03006CBF1
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24243 INVITE
Contact: <sip:0A06AFBFB848C9F7D0B2069805C0B30@fritz.box>
User-Agent: AVM FRITZ!Box 7590 154.08.21 (Sep 25 2025)
Content-Type: application/sdp
Content-Length:   332
v=0
o=user 566670 566670 IN IP4 fritz.box
s=pjmedia
c=IN IP4 fritz.box
t=0 0
m=audio 7268 RTP/AVP 9 99 0 8 121
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-15
a=sendrecv
a=rtcp:7269
m=text 0 RTP/AVP 100
--end msg--
| 18:20:01.819178 [1] Early
18:20:01.819          inv0x2d329110  ....SDP negotiation done: Success
18:20:01.819          pjsua_media.c  .....Call 0: updating media..
18:20:01.819          pjsua_media.c  .......Media stream call00:0 is destroyed
18:20:01.819                icetp00  ......Stopping ICE, reason=Remote answer doesn't support ICE
18:20:01.819                icetp00  ......Destroying ICE session 0x2d3081a8
18:20:01.819            pjsua_aud.c  ......Audio channel update for index 0 for call 0...
18:20:01.819         strm0x2d3f3558  .......VAD temporarily disabled
18:20:01.820         strm0x2d3f3558  .......Encoder stream started
18:20:01.820         strm0x2d3f3558  .......Decoder stream started
18:20:01.820           conference.c  ........Add port 1 (sip:+491234567890@fritz.box) queued
18:20:01.820          pjsua_media.c  ......audio updated, stream #0: G722 (sendrecv)
18:20:01.820          pjsua_media.c  .......Media stream call00:1 is destroyed
18:20:01.820          pjsua_media.c  ......text updated, stream #1:  (inactive)
18:20:01.820         srtp0x2d302760  ......Destroying SRTP transport
18:20:01.820                icetp01  ......Destroying ICE transport
18:20:01.820                icetp01  .......Destroying ICE session 0x2d417878
18:20:01.820                icetp01  ......ICE stream transport 0x2d3138b8 destroyed
18:20:01.820                icetp01  ......ICE transport destroyed
18:20:01.820         srtp0x2d302760  ......SRTP transport destroyed
18:20:01.820          ice_session.c  ......ICE session 0x2d417878 destroyed
| 18:20:01.820235 [1] onCallMediaState call info state 3
| 18:20:01.820294 [1] Connected media 1
18:20:01.826           conference.c !.Added port 1 (sip:+491234567890@fritz.box), port count=2
18:20:02.446         strm0x2d3f3558  VAD re-enabled
18:20:05.238           pjsua_core.c  .RX 1138 bytes Response msg 200/INVITE/cseq=24243 (rdata0x2d322408) from TCP fritz.box:5060:
SIP/2.0 200 OK
Via: SIP/2.0/TCP ha.ip:54641;rport=54641;branch=z9hG4bKPjKMCQBWZ2s8gJiWtnNl77BSSPK8dhrb.F;alias;received=opn.ext.ip
From: <sip:homeassistant@fritz.box>;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: <sip:+491234567890@fritz.box>;tag=B164B9A03006CBF1
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24243 INVITE
Contact: <sip:0A06AFBFB848C9F7D0B2069805C0B30@fritz.box>
Session-Expires: 600;refresher=uas
Min-SE: 90
User-Agent: AVM FRITZ!Box 7590 154.08.21 (Sep 25 2025)
Supported: 100rel,replaces,timer,199
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   332
v=0
o=user 566670 566670 IN IP4 fritz.box
s=pjmedia
c=IN IP4 fritz.box
t=0 0
m=audio 7268 RTP/AVP 9 99 0 8 121
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-15
a=sendrecv
a=rtcp:7269
m=text 0 RTP/AVP 100
--end msg--
| 18:20:05.238250 [1] Call connecting...
18:20:05.238          inv0x2d329110  ....Received final response after SDP negotiation has been done in early media. Renegotiating SDP..
18:20:05.238          inv0x2d329110  ....SDP negotiation done: Success
18:20:05.238          pjsua_media.c  .....Call 0: updating media..
18:20:05.238          pjsua_media.c  ......Call 0: stream #0 (audio) unchanged.
18:20:05.238          pjsua_media.c  ......audio updated, stream #0: G722 (sendrecv)
18:20:05.238          pjsua_media.c  .......Media stream call00:1 is destroyed
18:20:05.238          pjsua_media.c  ......text updated, stream #1:  (inactive)
| 18:20:05.238574 [1] onCallMediaState call info state 4
| 18:20:05.238626 [1] Connected media 1
18:20:05.238           pjsua_core.c  .....TX 388 bytes Request msg ACK/cseq=24243 (tdta0x2d325970) to UDP fritz.box:5060:
ACK sip:0A06AFBFB848C9F7D0B2069805C0B30@fritz.box SIP/2.0
Via: SIP/2.0/UDP opn.ext.ip:5060;rport;branch=z9hG4bKPjAmZsH21YkWvfTbqABBYHJnKi8zyIh8-M
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: sip:+491234567890@fritz.box;tag=B164B9A03006CBF1
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24243 ACK
Content-Length:  0
--end msg--
| 18:20:05.238834 [1] Call connected
18:20:05.238           pjsua_call.c  .Call 0 sending UPDATE for updating media session to use only one codec
18:20:05.239           pjsua_core.c  ....TX 965 bytes Request msg UPDATE/cseq=24244 (tdta0x2d305570) to UDP fritz.box:5060:
UPDATE sip:0A06AFBFB848C9F7D0B2069805C0B30@fritz.box SIP/2.0
Via: SIP/2.0/UDP opn.ext.ip:5060;rport;branch=z9hG4bKPjqnKbWef.XEGRz5aiNsXcPb8FoZmooqqW
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: sip:+491234567890@fritz.box;tag=B164B9A03006CBF1
Contact: <sip:homeassistant@opn.ext.ip:5060;ob>;+sip.ice
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24244 UPDATE
Supported: replaces, 100rel, timer, siprec, norefersub
Session-Expires: 600;refresher=uas
Min-SE: 90
Content-Type: application/sdp
Content-Length:   373
v=0
o=- 3984222001 3984222002 IN IP4 ha.ip
s=pjmedia
b=AS:117
t=0 0
a=X-nat:0
m=audio 4011 RTP/AVP 9 121
c=IN IP4 ha.ip
b=TIAS:96000
a=rtcp:4025 IN IP4 ha.ip
a=ssrc:95661535 cname:5d025ef964013394
a=rtpmap:9 G722/8000
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-16
a=sendrecv
m=text 0 RTP/AVP 0
c=IN IP4 127.0.0.1
a=inactive
--end msg--
18:20:05.255           pjsua_core.c  .RX 1011 bytes Response msg 200/UPDATE/cseq=24244 (rdata0x2d2fdf08) from UDP fritz.box:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP opn.ext.ip:5060;rport=5060;branch=z9hG4bKPjqnKbWef.XEGRz5aiNsXcPb8FoZmooqqW
From: <sip:homeassistant@fritz.box>;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: <sip:+491234567890@fritz.box>;tag=B164B9A03006CBF1
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24244 UPDATE
Contact: <sip:0A06AFBFB848C9F7D0B2069805C0B30@fritz.box>
Session-Expires: 600;refresher=uas
Min-SE: 90
User-Agent: AVM FRITZ!Box 7590 154.08.21 (Sep 25 2025)
Supported: 100rel,replaces,timer,199
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   237
v=0
o=user 566670 566671 IN IP4 fritz.box
s=pjmedia
c=IN IP4 fritz.box
t=0 0
m=audio 7268 RTP/AVP 9 121
a=rtpmap:9 G722/8000
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-15
a=sendrecv
a=rtcp:7269
m=text 0 RTP/AVP 0
--end msg--
18:20:05.255          inv0x2d329110  ....SDP negotiation done: Success
18:20:05.255          pjsua_media.c  .....Call 0: updating media..
18:20:05.255          pjsua_media.c  ......Call 0: stream #0 (audio) unchanged.
18:20:05.255          pjsua_media.c  ......audio updated, stream #0: G722 (sendrecv)
18:20:05.255          pjsua_media.c  .......Media stream call00:1 is destroyed
18:20:05.255          pjsua_media.c  ......text updated, stream #1:  (inactive)
| 18:20:05.255725 [1] onCallMediaState call info state 5
| 18:20:05.255814 [1] Connected media 1
| 18:20:06.242976 [1] Call is established.
| 18:20:06.243109 [ ] Calling webhook sip_call_webhook_id with data {'caller': 'sip:+491234567890@fritz.box', 'called': 'sip:homeassistant@fritz.box', 'parsed_caller': '+491234567890', 'parsed_called': 'homeassistant', 'sip_account': 1, 'call_id': 'AzZys3saxbt9-v98BTmd2NFGsdBYxH8H', 'internal_id': 'sip:+491234567890@fritz.box', 'headers': {}, 'event': 'call_established'}
| 18:20:06.252046 [ ] Webhook response 200 b''
| 18:20:06.252255 [1] Playing message: Hallo, das ist eine Nachricht von Home Assistant.
| 18:20:06.252315 [ ] TTS payload: {'message': 'Hallo, das ist eine Nachricht von Home Assistant.', 'language': 'en', 'engine_id': 'picotts'}
| 18:20:06.261478 [ ] Error getting tts file 500 b'500: Internal Server Error'
18:20:06.261            pjsua_aud.c  Creating file player: /ha-sip/sound/error.wav..
18:20:06.261           wav_player.c  .File player '/ha-sip/sound/error.wav' created: samp.rate=24000, ch=1, bufsize=4KB, filesize=132KB
18:20:06.261           conference.c  ..Add port 2 (/ha-sip/sound/error.wav) queued
18:20:06.261            pjsua_aud.c  .Player created, id=0, slot=2
18:20:06.261            pjsua_aud.c  Conf connect: 2 --> 1
18:20:06.261           conference.c  ..Connect ports 2->1 queued
| 18:20:06.261847 [1] No action supplied
18:20:06.266           conference.c !.Added port 2 (/ha-sip/sound/error.wav), port count=3
18:20:06.266           conference.c  .Port 2 (/ha-sip/sound/error.wav) transmitting to port 1 (sip:+491234567890@fritz.box)
| 18:20:09.027250 [1] Playback done.
| 18:20:09.027374 [ ] Calling webhook sip_call_webhook_id with data {'caller': 'sip:+491234567890@fritz.box', 'called': 'sip:homeassistant@fritz.box', 'parsed_caller': '+491234567890', 'parsed_called': 'homeassistant', 'sip_account': 1, 'call_id': 'AzZys3saxbt9-v98BTmd2NFGsdBYxH8H', 'internal_id': 'sip:+491234567890@fritz.box', 'headers': {}, 'event': 'playback_done', 'type': 'message', 'message': 'Hallo, das ist eine Nachricht von Home Assistant.'}
| 18:20:09.036913 [ ] Webhook response 200 b''
18:20:09.037           conference.c  .Remove port 2 queued
18:20:09.037            pjsua_aud.c  Destroying player 0..
18:20:09.037           conference.c  ..Remove port 2 queued
| 18:20:09.039923 [1] Scheduled post action: hangup
| 18:20:09.039974 [1] Hang-up.
18:20:09.040           pjsua_call.c !Call 0 hanging up: code=0..
18:20:09.040          pjsua_media.c  .Call 0: deinitializing media..
18:20:09.040          pjsua_media.c  ..
  [CONFIRMED] To: sip:+491234567890@fritz.box;tag=B164B9A03006CBF1
    Call time: 00h:00m:03s, 1st res in 152 ms, conn in 3571ms
    #0 audio G722 @16kHz, sendrecv, peer=-
       SRTP status: Not active Crypto-suite: 
       ICE role: Unknown, state: Candidate Gathering, comp_cnt: 2
       RX pt=9, last update:00h:00m:07.220s 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=9, ptime=20, last update:never
          total 204pkt 32.6KB (40.8KB +IP hdr) @avg=36.1Kbps/45.2Kbps
          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
    #1 text deactivated
18:20:09.040           conference.c  ....Remove port 1 queued
18:20:09.040         strm0x2d3f3558  ...Stream destroying
18:20:09.040          pjsua_media.c  ...Media stream call00:0 is destroyed
18:20:09.040          pjsua_media.c  ...Media stream call00:1 is destroyed
18:20:09.040                icetp00  ..Stopping ICE, reason=media stop requested
18:20:09.040         srtp0x2d3ea8a0  ..Destroying SRTP transport
18:20:09.040                icetp00  ..Destroying ICE transport
| 18:20:09.040540 [1] Call disconnected
| 18:20:09.040593 [ ] Calling webhook sip_call_webhook_id with data {'caller': 'sip:+491234567890@fritz.box', 'called': 'sip:homeassistant@fritz.box', 'parsed_caller': '+491234567890', 'parsed_called': 'homeassistant', 'sip_account': 1, 'call_id': 'AzZys3saxbt9-v98BTmd2NFGsdBYxH8H', 'internal_id': 'sip:+491234567890@fritz.box', 'headers': {}, 'event': 'call_disconnected'}
18:20:09.046           conference.c !.Stop any transmission to port 2 (/ha-sip/sound/error.wav)
18:20:09.046           conference.c  .Stop any transmission from port 2 (/ha-sip/sound/error.wav)
18:20:09.046           conference.c  .Port 2 (/ha-sip/sound/error.wav) stop transmitting to port 1 (sip:+491234567890@fritz.box)
18:20:09.046           conference.c  .Removed port 2 (/ha-sip/sound/error.wav), port count=2
18:20:09.046           conference.c  .Remove port failed: Invalid value or argument (PJ_EINVAL)
18:20:09.046           conference.c  .Stop any transmission to port 1 (sip:+491234567890@fritz.box)
18:20:09.046           conference.c  .Stop any transmission from port 1 (sip:+491234567890@fritz.box)
18:20:09.046           conference.c  .Removed port 1 (sip:+491234567890@fritz.box), port count=1
18:20:09.046          ice_session.c  .ICE session 0x2d3081a8 destroyed
18:20:09.046                icetp00  .ICE stream transport 0x2d41e528 destroyed
18:20:09.046                icetp00  .ICE transport destroyed
18:20:09.047         srtp0x2d3ea8a0  .SRTP transport destroyed
18:20:09.047         strm0x2d3f3558  .Stream destroyed
| 18:20:09.050384 [ ] Webhook response 200 b''
| 18:20:09.050936 [ ] Remove from state: sip:+491234567890@fritz.box
18:20:09.051           pjsua_core.c  ....TX 388 bytes Request msg BYE/cseq=24245 (tdta0x2d41e5b0) to UDP fritz.box:5060:
BYE sip:0A06AFBFB848C9F7D0B2069805C0B30@fritz.box SIP/2.0
Via: SIP/2.0/UDP opn.ext.ip:5060;rport;branch=z9hG4bKPjpZEh5cXmVCYcg6qwK6q7It3FnVHK.cyl
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: sip:+491234567890@fritz.box;tag=B164B9A03006CBF1
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24245 BYE
Content-Length:  0
--end msg--
18:20:09.108           pjsua_core.c  .RX 722 bytes Response msg 200/BYE/cseq=24245 (rdata0x2d2fdf08) from UDP fritz.box:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP opn.ext.ip:5060;rport=5060;branch=z9hG4bKPjpZEh5cXmVCYcg6qwK6q7It3FnVHK.cyl
From: <sip:homeassistant@fritz.box>;tag=Eh1R0nRS.UroA8eq-h20f.b5jr3wAZ2w
To: <sip:+491234567890@fritz.box>;tag=B164B9A03006CBF1
Call-ID: AzZys3saxbt9-v98BTmd2NFGsdBYxH8H
CSeq: 24245 BYE
X-RTP-Stat: CS=0;PS=492;ES=365;OS=19840;SP=0/0;SO=0;QS=-;PR=0;ER=365;OR=0;CR=0;SR=0;QR=-;PL=0,0;BL=0;LS=0;RB=0/0;SB=0/0;EN=G722;DE=;JI=0,0;DL=0,0,0;IP=fritz.box:7268,ha.ip:4011
X-RTP-Stat-Add: DQ=0;DSS=0;DS=0;PLCS=0;JS=0
X-SIP-Stat: DRT=0;IR=0
User-Agent: AVM FRITZ!Box 7590 154.08.21 (Sep 25 2025)
Supported: 100rel,replaces,timer,199
Allow-Events: telephone-event,refer
Content-Length: 0
--end msg--
18:20:10.040            pjsua_aud.c  Closing sound device after idle for 1 second(s)
18:20:10.040            pjsua_aud.c  .Closing null sound device..
18:20:33.757         tcpc0x2d322118  TCP connection closed
18:20:33.757            pjsua_acc.c  Disconnected notification for transport tcpc0x2d322118
18:20:33.757        sip_transport.c  .Transport tcpc0x2d322118 shutting down, force=0
18:20:33.757        sip_transport.c  Transport tcpc0x2d322118 is being destroyed due to timeout in idle timer

Netzwerktechnisch ist HA hinter einer OPNsense, dahinter kommt die fritz.box.

ha-sip verbindet sich problemlos.

18:33:27.211            pjsua_acc.c  ....SIP outbound status for acc 0 is not active
18:33:27.211            pjsua_acc.c  ....Service-Route updated for acc 0 with 0 URI(s)
18:33:27.211            pjsua_acc.c  ....sip:homeassistant@fritz.box: registration success, status=200 (OK), will re-register in 300 seconds
18:33:27.211            pjsua_acc.c  ....Keep-alive timer started for acc 0, destination:fritz.box:5060, interval:14s
| 18:33:27.211868 [1] OnRegState: 200 OK
18:33:28.172            pjsua_aud.c  Closing sound device after idle for 1 second(s)
18:33:28.172            pjsua_aud.c  .Closing null sound device..

Hat jemand einen Tipp, wie ich einen Anruf inkl. vorgelesenem Text hinbekomme?

Salü

.g