есть Asterisk 1.8.20.1, DAHDI Version: 2.6.1, Openvox A400P и FXO-100, GSM-GateOne
до этого GSM-GateOne, был воткнут в Yeastar MyPBX 400 и DTMF там ходило отлично.
все бы ничего, только проблема с DTMF наблюдается. когда в IVR пытаешься ввести какие то символы, выпадает что то:
1. слышишь в обратку звук dtmf, не все, а как то выборочно.
2. приходит какая то не та последовательность введенных символов.
в dahdi-chanels.conf:
Код: Выделить всё
[trunk_1]
dahdichan = 1
channel = 1
group = 1
signalling=fxs_ks
callerid=asreceived
busydetect=yes
busycount = 4
busypattern =
busydetecttype = 0
busyfrequency =
cidstart = dtmf
cidsignalling = dtmf
;trunkstyle = analog
;hasexten = no
;hasiax = no
;hassip = no
echocancel=128
echocancelwhenbridged=no
echotraining=800
;answeronpolarityswitch = no
;hanguponpolarityswitch = no
usecallerid = yes
;flash = 750
;gui_volume = 5
context=from-pstn
channel => 1
;gui_fxooffset = 0
;rxgain = 0.0
;txgain = 0.0
;relaxdtmf=yes
;dtmfmode=rfc2833
какие еще параметры можно\нужно покрутить\показать чтобы решить задачу.
Код: Выделить всё
[2013-02-04 11:00:17] DEBUG[4264] channel.c: Set channel DAHDI/1-1 to write format ulaw
[2013-02-04 11:00:18] DEBUG[4264] dsp.c: DTMF Detected - Reset busydetector
[2013-02-04 11:00:18] DEBUG[4264] sig_analog.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:18] DEBUG[4264] chan_dahdi.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:20] DEBUG[4264] sig_analog.c: Begin DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:20] DEBUG[4264] chan_dahdi.c: Begin DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:20] DEBUG[4264] dsp.c: DTMF Detected - Reset busydetector
[2013-02-04 11:00:20] DEBUG[4264] sig_analog.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:20] DEBUG[4264] chan_dahdi.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] sig_analog.c: Begin DTMF digit: 0x32 '2' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] chan_dahdi.c: Begin DTMF digit: 0x32 '2' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] dsp.c: DTMF Detected - Reset busydetector
[2013-02-04 11:00:21] DEBUG[4264] sig_analog.c: End DTMF digit: 0x32 '2' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] chan_dahdi.c: End DTMF digit: 0x32 '2' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] sig_analog.c: Begin DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] chan_dahdi.c: Begin DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] dsp.c: DTMF Detected - Reset busydetector
[2013-02-04 11:00:21] DEBUG[4264] sig_analog.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] chan_dahdi.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] sig_analog.c: Begin DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:21] DEBUG[4264] chan_dahdi.c: Begin DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:22] DEBUG[4264] dsp.c: DTMF Detected - Reset busydetector
[2013-02-04 11:00:22] DEBUG[4264] sig_analog.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:22] DEBUG[4264] chan_dahdi.c: End DTMF digit: 0x30 '0' on DAHDI/1-1
[2013-02-04 11:00:22] DEBUG[4264] sig_analog.c: Begin DTMF digit: 0x33 '3' on DAHDI/1-1
[2013-02-04 11:00:22] DEBUG[4264] chan_dahdi.c: Begin DTMF digit: 0x33 '3' on DAHDI/1-1
[2013-02-04 11:00:22] DEBUG[4264] dsp.c: DTMF Detected - Reset busydetector
[2013-02-04 11:00:22] DEBUG[4264] sig_analog.c: End DTMF digit: 0x33 '3' on DAHDI/1-1
[2013-02-04 11:00:22] DEBUG[4264] chan_dahdi.c: End DTMF digit: 0x33 '3' on DAHDI/1-1
[2013-02-04 11:00:25] VERBOSE[4264] app_read.c: -- User entered '002003'