Hallo,
ich verwende das Modul Telefonansage in Verbindung mit AWS Polly. Der Call kommt immer zustande leider großteils ohne Audio. Ich kann ein Echo hören jedoch wird die Textansage nicht abgespielt. Ich habe den Eindruck als würde der Call bereits aufgebaut werden bevor das Soundfile vorliegt.
Wenn man im Telefonmodul „Anruf starten“ und nach dem Connect auf neben dem Text auf „Schalten“ klickt, dann hört man die Ansage.
Der Aufruf ist durch nachfolgende Funktion implementiert.
TA_StartCallEx(38002, $Rufnummer1, $Ansagetext1);
Fragen:
- Kann es sein, dass das Soundfile noch nicht fertig ist bevor der Anruf abgesetzt wird?
- Gibt es da ein Debug welches man aktivieren kann?
- Kann man für Polly ein Logging aktivieren?
IP-Symcon 6.2
Tinkerboard
09/30/22 19:43:34 | 18419 | DEBUG | ScriptEngine | Executing Event 23371 ~ Sender: Variable
09/30/22 19:43:34 | 00000 | DEBUG | VoIP | ua: using best effort AF: af=AF_INET
09/30/22 19:43:34 | 18419 | DEBUG | ScriptEngine | Executed Event 23371 ~ Sender: Variable ~ Duration: 2 ms
09/30/22 19:43:34 | 00000 | DEBUG | VoIP | call: alloc with params laddr=192.168.128.101, af=AF_INET, use_rtp=1
09/30/22 19:43:34 | 00000 | DEBUG | VoIP | call: use_video=0
09/30/22 19:43:34 | 00000 | DEBUG | VoIP | call: connecting to ‚sip:0043xxxxxx@replacedsipserver.at‘…
09/30/22 19:43:34 | 45106 | DEBUG | ScriptEngine | Executed Event 37255 ~ Sender: Variable ~ Duration: 66 ms
09/30/22 19:43:34 | 18639 | DEBUG | VariableManager | [Alarmanlage\UG\UG Heizraum Paniktaster\Value] = true
09/30/22 19:43:34 | 00000 | DEBUG | VoIP | call: SIP Progress: 100 Trying (/)
09/30/22 19:43:35 | 00000 | DEBUG | VoIP | call: SIP Progress: 180 Ringing (/)
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | call: got SDP answer (235 bytes)
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | sipuser@replacedsipserver.at: Call answered: sip:0043xxxxxx@replacedsipserver.at
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | call: update media
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | stream: update ‚audio‘
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | stream: audio: starting RTCP with remote xx.xx.xx.xx:21887
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: update
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: Set audio decoder: PCMA 8000Hz 1ch
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: start
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: create recv buffer [20 - 160 ms] [320 - 2560 bytes]
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | aubridge: created device ‚pseudo0‘
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: player started with sample format S16LE
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: Set audio encoder: PCMA 8000Hz 1ch
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: start
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: source started with sample format S16LE
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio tx pipeline: aubridge —> PCMA
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio rx pipeline: aubridge <— PCMA
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | aubridge: thread start: 8000 Hz, 1 channels, format=S16LE
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | call: stream start (active=1)
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | audio: start
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | sipuser@replacedsipserver.at: Call established: sip:0043xxxxxx@replacedsipserver.at
09/30/22 19:43:39 | 00000 | DEBUG | VoIP | stream: incoming rtp for ‚audio‘ established, receiving from xx.xx.xx.xx:21886