MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
audio: /dev/dsp: No such file or directory
./rc.dtmfbox stop
./rc.dtmfbox foreground
wget -q -O - http://dsl.technobase.eu/listen-dsl.pls
Start dtmfbox ...
-------------------------------------------------------------------------------
dtmfbox 0.5.0-rc2
-------------------------------------------------------------------------------
23:20:09 dtmfbox 0.5.0-rc2
23:20:09 PJSIP 1.0
23:20:09 Init VoIP ...
23:20:09 Resolve local IP ...
23:20:09 Use IP: 192.168.2.254
23:20:09 UDP server listening on port 5061
23:20:09 Conference bridge created [8000/16/1]
23:20:09 Allocate 11 connections with 4 RTP/RTCP transports
23:20:09 RTP/RTCP: 192.168.2.254:4000-4001
23:20:09 RTP/RTCP: 192.168.2.254:4002-4003
23:20:09 RTP/RTCP: 192.168.2.254:4004-4005
23:20:09 RTP/RTCP: 192.168.2.254:4006-4007
23:20:09 RTP/RTCP media transport created
23:20:09 VoIP initialized!
23:20:09 Init CAPI ...
23:20:09 CAPI controller: 5
23:20:09 Found controller #1 with 2 B-channel(s)
23:20:09 Found controller #2 with 2 B-channel(s)
23:20:09 Found controller #3 with 2 B-channel(s)
23:20:09 Found controller #4 with 1 B-channel(s)
23:20:09 Found controller #5 with 3 B-channel(s)
23:20:09 CAPI registered (ApplID: 7, B-Channels: 10)
23:20:09 Build a-law/pcm table buffer
23:20:09 Start VoIP listen loop ...
23:20:11 CAPI initialized!
23:20:11 [plugin.menu] 29 entries loaded!
23:20:11 [plugin.menu] Initialized!
23:20:11 #1 - Plugin "libmenu.plugin.so" loaded!
23:20:11 (0x3ff) - Listen to CAPI controller 1 ...
23:20:11 (0x3ff) - Listen to CAPI controller 4 ...
23:20:11 (0x3ff) - Listen to CAPI controller 3 ...
23:20:11 (0x3ff) - Listen to CAPI controller 5 ...
23:20:11 Start CAPI listen loop ...
23:32:43 [plugin.menu] Menu: [script:misc_radio] (acc=1 con=0)
23:32:43 [plugin.menu] Script: /var/dtmfbox/script/misc_radio.sh(/var/dtmfbox/script/misc_radio.sh, "1", "0") (acc=1 con=0)
23:32:44 [type=capi/inc conid=0 accid=1] Stop playing (-2)
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
wget: bad port spec 'dsl.tb-stream.net:80 '
23:32:45 [type=capi/inc conid=0 accid=1] Play /var/tmp/0-radio_stream-1.3592 (0)
0 frames decoded (0:00:00.0), -inf dB peak amplitude, 0 clipped samples
MADPLAY_PATH="/var/dtmfbox/extras" # Pfad zu madplay [ONCHANGE:var str=document.getElementById('Programme & Pfade_MADPLAY_PATH').value; document.getElementById('Programme & Pfade_MADPLAY_PATH').value = str.replace(/\/madplay$/g, '/')]
#!/var/tmp/sh
. /var/dtmfbox/script/funcs.sh
set_cfg_value /var/dtmfbox/script.cfg "" "CALLBACK1" ".*12345/333322"
echo "Callback1 geändert!"
[script:change_callback]
cmd=/var/dtmfbox/script/change_callback.sh(/var/dtmfbox/script/change_callback.sh, "%type%", "%direction%", "%src_id%", "%dst_id%", "%src_no%", "%dst_no%", "%acc_id%", "%dtmf%")
[menu:dtmf_commands]
say=DTMF Befehle.
1=script:change_callback
2=lib:speak("Befehl 2")
....
16:30:17 dtmfbox 0.5.0 (rc3)
16:30:17 PJSIP 1.0.1
16:30:17 Init VoIP ...
16:30:17 Resolve local IP ...
16:30:17 Use IP: 192.168.178.1
16:30:17 UDP server listening on port 5061
16:30:17 Conference bridge created [8000/16/1]
16:30:17 Allocate 11 connections with 4 RTP/RTCP transports
16:30:17 RTP/RTCP: 192.168.178.1:4000-4001
16:30:17 RTP/RTCP: 192.168.178.1:4002-4003
16:30:17 RTP/RTCP: 192.168.178.1:4004-4005
16:30:17 RTP/RTCP: 192.168.178.1:4006-4007
16:30:17 RTP/RTCP media transport created
16:30:17 Start VoIP listen loop ...
16:30:17 VoIP initialized!
16:30:17 Init CAPI ...
16:30:17 CAPI controller: 5
16:30:17 Found controller #1 with 2 B-channel(s)
16:30:17 Found controller #2 with 2 B-channel(s)
16:30:17 Found controller #3 with 2 B-channel(s)
16:30:17 Found controller #4 with 1 B-channel(s)
16:30:17 Found controller #5 with 3 B-channel(s)
16:30:17 CAPI registered (ApplID: 7, B-Channels: 10)
16:30:17 Build a-law/pcm table buffer
16:30:18 CAPI initialized!
16:30:19 [plugin.menu] 29 entries loaded!
16:30:19 [plugin.menu] Initialized!
16:30:19 #1 - Plugin "libmenu.plugin.so" loaded!
16:30:19 (0x3ff) - Listen to CAPI controller 1 ...
16:30:19 (0x3ff) - Listen to CAPI controller 4 ...
16:30:19 (0x3ff) - Listen to CAPI controller 3 ...
16:30:19 (0x3ff) - Listen to CAPI controller 5 ...
16:30:19 Start CAPI listen loop ...
Der httpd wird dadurch neu gestartet und sollte immer funktionieren (bis zum Knopf "Speichern" bist du ja bereits gekommen). Bitte prüfe, ob es mit einem anderen Browser genauso ist.Sobald man den Button drückt um die Einstellungen zu übernehmen, sieht man eine leere Seite. Ruft man nach Einstellen der Skripteinstellungen "http://fritz.box:6767/" manuell auf, so sieht man auch hier eine leere Seite (soweit ja auch logisch). Der CGI-Teil der DTMFBOX ist also abgeschmiert.
...
Wichtig zu nennen ist auch, das es nichts bringt "./rc.dtmfbox stop_httpd" und dann "./rc.dtmfbox start_httpd" im entsprechenden Ordner auszuführen.