[Freeswitch-users] how to Ignore DTMF shorter than Fixed duration ?

Michael Collins msc at freeswitch.org
Sat Dec 8 01:09:10 MSK 2012


On Thu, Dec 6, 2012 at 11:08 PM, Olle E. Johansson <oej at edvina.net> wrote:

>
> 6 dec 2012 kl. 22:52 skrev Michael Collins <msc at freeswitch.org>:
>
> Bummer. I'm not aware of any way to ignore those. Anyone else have ideas?
>
>
> The problem with ignoring DTMF in RTP is that it will delay audio, always.
> Let's say you want to delete all DTMF shorter than 1200 ms.
> We receive a DTMF begin packet, then will have to wait to 1220 ms to see
> if the DTMF CONTINUE packets continue or if we actually get a DTMF END
> packet arriving in time. If it does, we'll delete the DTMF - but that
> will produce a gap in the audio we will have to fill. If it is longer than
> 1200 ms we will start playing it out on the other side of the call bridge.
>
> You seriously do not want to delay audio 1200 ms. Not even 100 ms.
>
> There no simple solution to this. We've had issues with GENBAND servers
> and their DSPs that send short DTMF in calls with
> female voices.
>
> In short. When we receive the start of the DTMF we have no idea about the
> duration. We can't make a decision until it's too late to make a
> decision... If you just focus on delaying DTMF, you will start playing DTMF
> on top of audio, cancelling out parts of the conversation.
>
> /O
>
>
OEJ,
+1
Many thanks for taking the time to explain that! That was an extremely well
written paragraph, easily understood by all.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121207/8a2f884d/attachment.html 


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