[Freeswitch-users] spandsp_start_dtmf detecting first digit 2 times

Babak Yakhchali babak.freeswitch at gmail.com
Sat Jan 24 11:26:43 MSK 2015


Hi
I upgraded from 1.2.12 to 1.4.15+git~20150106T122408Z~f5145540b3~64bit and
now with no change to configs ,after spandsp_start_dtmf  in
playAndGetDigits I see the first digit is detected twice:
2015-01-24 11:51:05.083629 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [3]
2015-01-24 11:51:05.083629 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_play_say.c:1747 done playing
file
/usr/local/freeswitch/sounds/fa/ir/callie/applications/2/yazd_2030_long.wav
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_menu.c:410 digits '3'
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_menu.c:561 IVR action on menu
'ivr_10' matched '3' param 'lua lua/applications/call_script.lua 48 '
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_menu.c:565
switch_ivr_menu_execute todo=[2]
EXECUTE sofia/internal/87654321 at 172.16.90.3:5060
lua(lua/applications/call_script.lua 48 )
2015-01-24 11:51:05.083629 [DEBUG] freeswitch_lua.cpp:360 DBH handle
0x7f36b80d0630 Connected.
EXECUTE sofia/internal/87654321 at 172.16.90.3:5060
lua(/usr/local/freeswitch/scripts/gui/lua/yazd/yzd_phone_activation.lua )
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_play_say.c:70 No language
specified - Using [fa]
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[applications/11/yzd_act_cid_notice.wav] (fa:fa)
2015-01-24 11:51:05.083629 [DEBUG] switch_ivr_play_say.c:1314 Codec
Activated L16 at 8000hz 1 channels 20ms
2015-01-24 11:51:05.123638 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[3], duration = 38 ms
2015-01-24 11:51:05.163633 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [3]
2015-01-24 11:51:05.163633 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000
2015-01-24 11:51:05.343664 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[3], duration = 178 ms
2015-01-24 11:51:05.863613 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [5]
2015-01-24 11:51:05.863613 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-01-24 11:51:06.123594 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[5], duration = 255 ms
2015-01-24 11:51:06.403613 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [6]
2015-01-24 11:51:06.403613 [DEBUG] switch_channel.c:488 RECV DTMF 6:2000
2015-01-24 11:51:06.643596 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[6], duration = 242 ms
2015-01-24 11:51:07.083609 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [9]
2015-01-24 11:51:07.083609 [DEBUG] switch_channel.c:488 RECV DTMF 9:2000
....
the digit 3 is detected twice!
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150124/91d3be4f/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list