[Freeswitch-users] Duplicate DTMF Issue

jhorsburgh jhorsburgh at gmail.com
Wed Apr 22 16:58:54 MSD 2015


Hello All,
            I am having some issues detecting DTMF tones and was hoping
someone could shed some light on the problem.

*Background*
I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and
process high-speed DTMF signal for use with Alarm Systems. Unfortunately the
standard inband DTMF detection is not quite up to the task but spandsp works
perfectly.

*Problem*
The problem I am having is that the standard inband DTMF detection remains
enabled when spandsp is enabled producing duplicates of each detected tone.

Is there a way of disabling DTMF detection with the exception of spandsp?

Any help would be greatly appreciated.

Kind regards,
Jeremy



2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit
[(nil)|37     ][DEBUG_GSMOPEN  919  ][interface1][-1, 5, 5]
gsmopen/interface1 CHANNEL got SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY
2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit
[(nil)|37     ][DEBUG_GSMOPEN  745  ][interface1][-1, 5, 5] DTMF DETECTED:
[5] new_dtmf_timestamp: 1652802529, delta_t: 515839955
2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [5]
2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[5], duration = 178 ms
2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000
2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit
[(nil)|37     ][DEBUG_GSMOPEN  745  ][interface1][-1, 5, 5] DTMF DETECTED:
[3] new_dtmf_timestamp: 1653282480, delta_t: 479951
2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [3]
2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000
2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[3], duration = 165 ms
2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit
[(nil)|37     ][DEBUG_GSMOPEN  745  ][interface1][-1, 5, 5] DTMF DETECTED:
[5] new_dtmf_timestamp: 1653762488, delta_t: 480008
2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [5]
2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[5], duration = 140 ms
2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000
2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit
[(nil)|37     ][DEBUG_GSMOPEN  745  ][interface1][-1, 5, 5] DTMF DETECTED:
[2] new_dtmf_timestamp: 1654262471, delta_t: 499983
2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [2]
2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000
2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[2], duration = 153 ms
2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit
[(nil)|37     ][DEBUG_GSMOPEN  745  ][interface1][-1, 5, 5] DTMF DETECTED:
[5] new_dtmf_timestamp: 1654722477, delta_t: 460006
2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN
DETECTED: [5]
2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000
2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED:
[5], duration = 153 ms
2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate
Checksum - '5533552255'






--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



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