dtmf is enabled in my configuration, but not working properly.
some times it will work but some time not. should I increase the
waiting time of key tone
The bellow is the result when the dtmf works.
-- Playing 'path/to/file' (escape_digits=#) (sample_offset 0)
-- Playing '/var/spool/asterisk/tmp//text2wav_b61c4b39708e5fc19f5a138e8b0eb43a' (escape_digits=#) (sample_offset 0)
-- Playing 'beep' (language 'en')
[Feb 11 19:14:12] NOTICE[4138]: chan_celliax.c:983 celliax_read: rev exported[0x95c1800|b7533b90][NOTICE 983 ][line0 ][ 6, 6,300] delta_usec=1486370161, inband audio DTMF: 3
-- Playing '/var/spool/asterisk/tmp//text2wav_bc1baddca7b7309bad9a0626f0854a28' (escape_digits=) (sample_offset 0)
-- AGI Script Executing Application: (Record) Options: (/var/www/html/record/recmsg.gsm|1|60)
-- Playing 'beep' (language 'en')
[Feb 11 19:14:25] NOTICE[4138]: chan_celliax.c:543 celliax_indicate: rev exported[0x95c1800|b7533b90][NOTICE 543 ][line0 ][ 6, 6,300] Let's NOT INDICATE 18
-- Playing '/var/spool/asterisk/tmp//text2wav_13100d559177a97436e05b77822d13aa' (escape_digits=) (sample_offset 0)
-- Playing '/var/www/html/record/recmsg' (escape_digits=#) (sample_offset 0)
== Spawn extension (default, s, 5) exited non-zero on 'Celliax/line0'
celliax.conf:
link- http://www.pagebin.com/34ff4
I have connected 2 more devices. dtmf is works for first one but very rarely
my testagi.php for dtmf:
link- http://www.pagebin.com/34f83
please help me out.
DTMF problems and capture volume
check the capture volume for each audio device with alsamixer -Vcapt -c , and have it the lowest possible to assure maximum dtmf detection.
eg:
alsamixer -Vcapt -c1
alsamixer -Vcapt -c2
alsamixer -Vcapt -c0
etc