[Freeswitch-users] DTMF detection in the core & spandsp

Peter Olsson peter.olsson at visionutveckling.se
Wed Jul 18 23:29:30 MSD 2012


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 at null.net<mailto:mi.ke at 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 at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list