Die Einstellungen in der Fritzbox habe ich getestet und sie funktionieren.
Die Log-Datei bringt folgende Einträge:
Lese Daten von Miniserver:
Text: larm
/opt/loxberry/webfrontend/htmlauth/plugins/text2sip/bin/sipcmd -m "G.711*" -o /opt/loxberry/log/plugins/text2sip/Text2SIP_sipcmd.log -T 200 -P sip -u "********" -c "************" -a "test" -w "fritz.box" -x "c***********;w100;v/opt/loxberry/data/plugins/text2sip/wav/Text2SIP_cW5I_wav;w5000;h" 2>&1 |tee -a /opt/loxberry/log/plugins/text2sip/Text2SIP.log|while read DTMF_LINE; do echo $DTMF_LINE|grep -q "Exiting."; if [ $? -eq 0 ]; then wget -q -t 1 -T 10 -O /dev/null "http://******:**********@Miniserver:80/dev/sps/io/Text2SIP_1/0"; fi; DTMF_CODE=`echo $DTMF_LINE |grep "receive DTMF:"|cut -c16`; echo "DTMF: $DTMF_CODE"; wget -q -t 1 -T 10 -O /dev/null "http://******:********@Miniserver:80/dev/sps/io/Text2SIP_1/$DTMF_CODE"; echo $DTMF_LINE|grep -q "receive DTMF:"; if [ "$DTMF_CODE" == "0" ]; then echo "Confirmation code 0 detected. Exit!!" >> /opt/loxberry/log/plugins/text2sip/Text2SIP.log; sleep .5; killall -15 /opt/loxberry/webfrontend/htmlauth/plugins/text2sip/bin/sipcmd; else if [ ${#DTMF_CODE} -eq 1 ]; then echo "Confirmation code [$DTMF_CODE] detected but [0] expected. Continue..." >> /opt/loxberry/log/plugins/text2sip/Text2SIP.log; fi; fi; done
Add job for guide 1 to queue as #5
################################ Start job from /opt/loxberry/data/plugins/text2sip/wav/Text2SIP_gGHf.job.tsp @ Thu Aug 16 20:35:08 2018
Thu Aug 16 20:35:08 2018 ## Generating voice
Thu Aug 16 20:35:08 2018 ## Converting voice
Thu Aug 16 20:35:08 2018 ## Calling 01605307456
/opt/loxberry/data/plugins/text2sip/wav/Text2SIP_gGHf.job.tsp: line 7: /opt/loxberry/webfrontend/htmlauth/plugins/text2sip/bin/sipcmd: cannot execute binary file: Exec format error
Thu Aug 16 20:35:08 2018 ## Deleting files
################################ End job from /opt/loxberry/data/plugins/text2sip/wav/Text2SIP_gGHf.job.tsp
Telefonnummer und Anmeldedaten habe ich mit "******" auskommentiert.
Hat jemand einen Tipp für mich?
Kommentar