DTMF detection in the core & spandsp
Hi All, Do I need to disable DTMF detection in the core when I use spandsp for the same? Calling stop_dtmf before spandsp_start_dtmf didn't work for me and when I dial e.g. 0 I get: 2012-07-18 18:47:25.155435 [DEBUG] mod_spandsp_dsp.c:61 DTMF BEGIN DETECTED: [0] 2012-07-18 18:47:25.155435 [DEBUG] mod_spandsp_dsp.c:73 DTMF END DETECTED: [0], duration = 89 ms 2012-07-18 18:47:25.295432 [DEBUG] switch_rtp.c:3457 RTP RECV DTMF 0:2400 which comes to 00 after digit collection completes. Setting dtmf-type to none in sofia profile didn't help either. What's the right way of switching to spandsp's DTMF ? Thanks in advance for all yours hints. Mike
You probably get both inband and RFC2833 DTMF. So don't enable DTMF tone detection at all, and let FS parse out the RFC2833 DTMF events. /Peter 18 jul 2012 kl. 21:23 skrev "Mi Ke" <mi.ke@null.net<mailto:mi.ke@null.net>>: Hi All, Do I need to disable DTMF detection in the core when I use spandsp for the same? Calling stop_dtmf before spandsp_start_dtmf didn't work for me and when I dial e.g. 0 I get: 2012-07-18 18:47:25.155435 [DEBUG] mod_spandsp_dsp.c:61 DTMF BEGIN DETECTED: [0] 2012-07-18 18:47:25.155435 [DEBUG] mod_spandsp_dsp.c:73 DTMF END DETECTED: [0], duration = 89 ms 2012-07-18 18:47:25.295432 [DEBUG] switch_rtp.c:3457 RTP RECV DTMF 0:2400 which comes to 00 after digit collection completes. Setting dtmf-type to none in sofia profile didn't help either. What's the right way of switching to spandsp's DTMF ? Thanks in advance for all yours hints. Mike !DSPAM:500709e632761477125784! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org !DSPAM:500709e632761477125784!
participants (2)
-
Mi Ke
-
Peter Olsson