Installationsprobleme mit 96_SIP

Begonnen von Rampler, 27 November 2017, 16:29:42

Vorheriges Thema - Nächstes Thema

Rampler

Hallo zusammen,

habe versucht, mich an das WIKI für die Installation zu halten.
Habe also den T2S Server eingerichtet:
Internals:
   ALSADEVICE
   DEF        none
   MODE       SERVER
   NAME       T2S
   NR         568
   STATE      Initialized
   TYPE       Text2Speech
   READINGS:
     2017-11-27 16:17:40   lastFilename    cache/71f783ed67e131a66e252ec9b458daaf.mp3
     2017-11-27 16:17:40   playing         0
   helper:
     Text2Speech:
Attributes:
   room       ToDo


Dann das SIP Device:
Internals:
   AC         /usr/bin/sox
   CALL       SIP|0xxxxxxxxx|30|cache/71f783ed67e131a66e252ec9b458daaf.alaw|0|0
   NAME       SIP
   NOTIFYDEV  T2S
   NR         567
   NTFY_ORDER 50-SIP
   STATE      initialized
   TYPE       SIP
   VERSION    V1.61 / 30.10.17
   lastnr     0xxxxxxxx
   READINGS:
     2017-11-27 16:17:40   call            0xxxxxxxxx
     2017-11-27 16:17:40   call_state      invite
     2017-11-27 16:01:54   call_success    0
     2017-11-27 16:01:54   call_time       0
     2017-11-27 16:01:54   last_error      CallRegister: Failed with code 404
     2017-11-27 16:18:14   listen_alive    no
     2017-11-27 16:18:14   state           initialized
   helper:
     CALL_START 1511795860.89863
Attributes:
   T2S_Device T2S
   audio_converter sox
   room       ToDo
   sip_call_audio_delay 1.5
   sip_dtmf_loop once
   sip_dtmf_send audio
   sip_dtmf_size 2
   sip_elbc   yes
   sip_from   sip:FHEM-PHONE@fritz.box
   sip_ip     192.168.1.100
   sip_listen none
   sip_registrar fritz.box
   sip_ringtime 3
   sip_user   FHEM-PHONE
   verbose    4


Zusätzlich folgendes installiert:
sudo apt-get install libnet-sip-perl
udo apt-get install libsox-fmt-mp3
sudo apt-get install mplayer

Das Telefon in der Fritzbox als LAN/WLAN Gerät eingerichtet, mit set SIP password xxxx, das Passwort im SIP vergeben.

Jetzt fliegen mir bei einem "set call xxxxxx 30 !Test! meine UMUART Adapter um die Ohren und ich erhalte folgende Fehlermeldungen im Log:

2017.11.27 16:17:40 4: SIP, wait_for_t2s file : cache/71f783ed67e131a66e252ec9b458daaf.mp3
2017.11.27 16:17:40 4: SIP, new T2S file cache/71f783ed67e131a66e252ec9b458daaf.mp3
2017.11.27 16:17:40 4: SIP, audio file cache/71f783ed67e131a66e252ec9b458daaf.alaw found
2017.11.27 16:17:40 4: SIP, SIP|0972144174|30|cache/71f783ed67e131a66e252ec9b458daaf.alaw|0
2017.11.27 16:17:40 4: SIP, call -> SIP|0972144174|30|cache/71f783ed67e131a66e252ec9b458daaf.alaw|0|0
2017.11.27 16:17:40 4: SIP[2216], my parent is 1904
2017.11.27 16:17:40 4: SIP[2216], using random port 44434
2017.11.27 16:17:41 4: SIP[2216], register new expire : 2017-11-27 16:22:41
2017.11.27 16:17:41 4: SIP[2216], CallStart with 2 files - first file : CODE(0x41bfc68) - PCMA/8000 , repeat 0
2017.11.27 16:17:41 1: ERROR evaluating {Text2Speech_Done('T2S|1|cache/71f783ed67e131a66e252ec9b458daaf.mp3')}: Can't use string ("0xxxxxxxx") as a HASH ref while "strict refs" in use at /usr/share/perl5/Net/SIP/Simple.pm line 379.

2017.11.27 16:17:56 1: HMUARTLGW HMUART1 did not respond for the 1. time, resending
2017.11.27 16:17:59 1: HMUARTLGW HMUART1 did not respond for the 2. time, resending
2017.11.27 16:18:02 1: HMUARTLGW HMUART1 did not respond for the 3. time, resending
2017.11.27 16:18:05 1: HMUARTLGW HMUART1 did not respond after all, reopening
2017.11.27 16:18:05 3: HMUART1 device closed


Komm gerade nicht wirklich weiter, hat evtl. jemand einen Tipp für mich ?

VG Klaus
3 HMUART (2 via ESP8266), 1 DUOFERN, 12 ESP8266, SolvisBen, GoodWE WR, RPI2 (Bullseye), ZWAVE, HM-Classic, und hoch zufrieden ...
Danke an alle, die was dazu beigetragen haben !!

Wzut

Zitat von: Rampler am 27 November 2017, 16:29:42
Can't use string ("0xxxxxxxx") as a HASH ref while "strict refs" in use at /usr/share/perl5/Net/SIP/Simple.pm line 379.
Bekannter Fehler wenn eine uralte Net::SIP Version verwendet wird, hatten wir schon mehrfach im Modul Thread.
Abhilfe steht im Wiki ( https://wiki.fhem.de/wiki/SIP-Client )
Zitatsudo cpan install Net::SIP
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher