[Freeswitch-users] mod_spandsp: Inband DTMF not processed

Christopher Rienzo cmrienzo at gmail.com
Fri Jun 20 00:54:46 MSD 2014


RTP RECV DTMF means the DTMF was received as a telephone-event (not inband
audio).  You don't need to use the spandsp DTMF detector.



On Thu, Jun 19, 2014 at 4:44 PM, Nagalenoj H. <nagalenoj at gmail.com> wrote:

> Hi,
>
> I am facing an issue with using Inband DTMFs.
>
> Inband DTMFs are getting detected in switch_rtp.c but then it is not
> processed further by mod_spandsp_dsp.c. This issue is inconsistent, for few
> calls it is working and not working for few other calls.
>
> For a working call, I'm getting the logs as below,
>
> 2014-06-19 21:24:40.334513 [DEBUG] switch_ivr_play_say.c:1682 done playing
> file
> file_string:///usr/local/freeswitch/sounds/music/switch/2539_SB_welcome_switch.wav!/usr/local/freeswitch/sounds/music/switch/1sec_silence.wav!/usr/local/freeswitch/sounds/music/switch/SB_landing_IVR.wav
> 2014-06-19 21:24:44.114522 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 3:1280
> 2014-06-19 21:24:44.694512 [DEBUG] mod_spandsp_dsp.c:372 DTMF BEGIN
> DETECTED: [3]
> 2014-06-19 21:24:44.854513 [DEBUG] mod_spandsp_dsp.c:384 DTMF END
> DETECTED: [3], duration = 165 ms
> 2014-06-19 21:24:45.434531 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 9:1280
> 2014-06-19 21:24:45.994513 [DEBUG] mod_spandsp_dsp.c:372 DTMF BEGIN
> DETECTED: [9]
> 2014-06-19 21:24:46.154514 [DEBUG] mod_spandsp_dsp.c:384 DTMF END
> DETECTED: [9], duration = 165 ms
> 2014-06-19 21:24:47.434530 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 2:1280
> 2014-06-19 21:24:48.034523 [DEBUG] mod_spandsp_dsp.c:372 DTMF BEGIN
> DETECTED: [2]
> 2014-06-19 21:24:48.034523 [CRIT] sb_main.js:390 digits pressed after
> collect input: 392
>
> On the failure calls, I'm getting only the RTP RECV DTMF log and not the
> DTMF BEGIN and DTMF END DETECTED log messages and because of this, dialplan
> application is not receiving any DTMFs.
>
> I've attached the pcap file and full fs log for failure call.
>
> What could be the cause of this inconsistent behavior? Kindly help me to
> rectify this.
>
> --
> Regards,
> Nagalenoj H.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140619/1924c8c6/attachment.html 


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