[Freeswitch-users] DTMF delay when using FreeSWITCH

Ken Rice krice at freeswitch.org
Thu Sep 27 23:00:18 MSD 2012


There can be a delay of DTMF in and DTMF out if you are sending long DTMFs
using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates
it...

If you don't need to interpret the DTMF you can set a variable to make it
just pass the DTMF through untouched... But this has its own set of caveats
(ie: if whatever is sending you DTMF is broken it just pass broken 2833
DTMF)

See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833



On 9/27/12 1:49 PM, "Emrah" <lists at kavun.ch> wrote:

> MC, the issue does not happen with inband DTMF and there is no delay!
> 
> Any idea on how to debug this further? I can't use inband continuously.
> 
> Thanks!
> Emrah
> 
> On Sep 27, 2012, at 12:46 PM, Emrah <lists at kavun.ch> wrote:
> 
>> Never tried with inband DTMFs. Will check.
>> 
>> Thanks!
>> On Sep 27, 2012, at 12:34 PM, Michael Collins <msc at freeswitch.org> wrote:
>> 
>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious.
>>> -MC
>>> 
>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah <lists at kavun.ch> wrote:
>>> Yes I did.
>>> BTW, the example in the Wiki contradicts the inline documentation in
>>> switch.xml.
>>>    <!--
>>>         The min-dtmf-duration specifies the minimum DTMF duration to use on
>>>         outgoing events. Events shorter than this will be increased in
>>> duration
>>>         to match min_dtmf_duration. You cannot configure a dtmf duration on
>>> a
>>>         profile that is less than this setting. You may increase this value,
>>>         but cannot set it lower than 400. This value cannot exceed
>>>         max-dtmf-duration. -->
>>> The Wiki shows an example with the value at 100.
>>> 
>>> I tried increasing and decreasing it to no avail, it does not seem to
>>> interfere with anything I can measure with my ear. :P
>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez <cesar.bermudez at gmail.com>
>>> wrote:
>>> 
>>>> You tried this:
>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF
>>>> 
>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah <lists at kavun.ch> wrote:
>>>> Hi guys,
>>>> 
>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the
>>>> same route, same codecs, same carrier, same phones and same serversŠ :P
>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH.
>>>> I am estimating the delay to be around 500 ms.
>>>> 
>>>> What are the settings I can fine tune to avoid this?
>>>> 
>>>> All the best,
>>>> Emrah
>>>> _________________________________________________________________________
>>>> 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
>>>> 
>>>> _________________________________________________________________________
>>>> 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
>>> 
>>> 
>>> _________________________________________________________________________
>>> 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
>>> 
>>> 
>>> 
>>> -- 
>>> Michael S Collins
>>> Twitter: @mercutioviz
>>> http://www.FreeSWITCH.org
>>> http://www.ClueCon.com
>>> http://www.OSTAG.org
>>> 
>>> 
>>> _________________________________________________________________________
>>> 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
>> 
> 
> 
> _________________________________________________________________________
> 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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch





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