<div>Set the following variable either per leg in dialplan or globally in vars.xml</div><div><br></div><div>rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION</div><div><br></div><div>This will pass the dtmf in 2833 on receipt of the first packet.</div>
<div><br></div><div>If that doesn't work, don't bother going further because we do not put emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on scalability. The suggestions you have seen pretty much cover your options.</div>
<div><br></div><div><br></div><div><br><div><br></div><div><br><div class="gmail_quote">On Wed, Oct 3, 2012 at 2:39 PM, Emrah <span dir="ltr"><<a href="mailto:lists@kavun.ch" target="_blank">lists@kavun.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am running out of ideas and would really appreciate some input on this.<br>
<br>
Can I optimize this in any way?<br>
<br>
Best,<br>
Emrah<br>
<div class="HOEnZb"><div class="h5"><br>
On Sep 30, 2012, at 12:05 AM, Emrah <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
<br>
> When I try this, the delay disappears but FS detects multiple DTMFs where I only send one…<br>
> <action application="export" data="dtmf_type=none" inline="true"/><br>
> <action application="start_dtmf" /><br>
><br>
> start_dtmf_generate adds the delay and so I'm stuck…<br>
><br>
> Any suggestion?<br>
> On Sep 29, 2012, at 2:29 PM, Emrah <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
><br>
>> Hi all,<br>
>><br>
>> I am now trying to force inband DTMF on my PSTN peers alone. I tried the following with no luck:<br>
>> <action application="start_dtmf" /><br>
>> <action application="export" data="dtmf_type=inband" /><br>
>><br>
>> The delay is still there and I get the following output in my console for a single DTMF:<br>
>><br>
>> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1040<br>
>> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal sofia/external/1234567890 [BREAK]<br>
>> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000<br>
>> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160<br>
>> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320<br>
>> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480<br>
>> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640<br>
>> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800<br>
>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800<br>
>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800<br>
>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800<br>
>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay of 40ms<br>
>><br>
>> Any idea would be greatly appreciated.<br>
>><br>
>> All the best,<br>
>> Emrah<br>
>> On Sep 27, 2012, at 3:54 PM, Emrah <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
>><br>
>>> Hey Ken,<br>
>>><br>
>>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed to have made it less accurate though, especially in fast speed sequences.<br>
>>><br>
>>> Can I debug this further and how?<br>
>>><br>
>>> Thanks!<br>
>>> On Sep 27, 2012, at 3:00 PM, Ken Rice <<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>> wrote:<br>
>>><br>
>>>> There can be a delay of DTMF in and DTMF out if you are sending long DTMFs<br>
>>>> using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates<br>
>>>> it...<br>
>>>><br>
>>>> If you don't need to interpret the DTMF you can set a variable to make it<br>
>>>> just pass the DTMF through untouched... But this has its own set of caveats<br>
>>>> (ie: if whatever is sending you DTMF is broken it just pass broken 2833<br>
>>>> DTMF)<br>
>>>><br>
>>>> See <a href="http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833" target="_blank">http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833</a><br>
>>>><br>
>>>><br>
>>>><br>
>>>> On 9/27/12 1:49 PM, "Emrah" <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
>>>><br>
>>>>> MC, the issue does not happen with inband DTMF and there is no delay!<br>
>>>>><br>
>>>>> Any idea on how to debug this further? I can't use inband continuously.<br>
>>>>><br>
>>>>> Thanks!<br>
>>>>> Emrah<br>
>>>>><br>
>>>>> On Sep 27, 2012, at 12:46 PM, Emrah <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
>>>>><br>
>>>>>> Never tried with inband DTMFs. Will check.<br>
>>>>>><br>
>>>>>> Thanks!<br>
>>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
>>>>>><br>
>>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious.<br>
>>>>>>> -MC<br>
>>>>>>><br>
>>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
>>>>>>> Yes I did.<br>
>>>>>>> BTW, the example in the Wiki contradicts the inline documentation in<br>
>>>>>>> switch.xml.<br>
>>>>>>> <!--<br>
>>>>>>> The min-dtmf-duration specifies the minimum DTMF duration to use on<br>
>>>>>>> outgoing events. Events shorter than this will be increased in<br>
>>>>>>> duration<br>
>>>>>>> to match min_dtmf_duration. You cannot configure a dtmf duration on<br>
>>>>>>> a<br>
>>>>>>> profile that is less than this setting. You may increase this value,<br>
>>>>>>> but cannot set it lower than 400. This value cannot exceed<br>
>>>>>>> max-dtmf-duration. --><br>
>>>>>>> The Wiki shows an example with the value at 100.<br>
>>>>>>><br>
>>>>>>> I tried increasing and decreasing it to no avail, it does not seem to<br>
>>>>>>> interfere with anything I can measure with my ear. :P<br>
>>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez <<a href="mailto:cesar.bermudez@gmail.com">cesar.bermudez@gmail.com</a>><br>
>>>>>>> wrote:<br>
>>>>>>><br>
>>>>>>>> You tried this:<br>
>>>>>>>> <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF" target="_blank">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF</a><br>
>>>>>>>><br>
>>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah <<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>> wrote:<br>
>>>>>>>> Hi guys,<br>
>>>>>>>><br>
>>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the<br>
>>>>>>>> same route, same codecs, same carrier, same phones and same serversŠ :P<br>
>>>>>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH.<br>
>>>>>>>> I am estimating the delay to be around 500 ms.<br>
>>>>>>>><br>
>>>>>>>> What are the settings I can fine tune to avoid this?<br>
>>>>>>>><br>
>>>>>>>> All the best,<br>
>>>>>>>> Emrah<br>
>>>>>>>> _________________________________________________________________________<br>
>>>>>>>> Professional FreeSWITCH Consulting Services:<br>
>>>>>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>>>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>>>>>>><br>
>>>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>>>>>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>>>>>>><br>
>>>>>>>> Official FreeSWITCH Sites<br>
>>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>>>>>>><br>
>>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>>><br>
>>>>>>>> _________________________________________________________________________<br>
>>>>>>>> Professional FreeSWITCH Consulting Services:<br>
>>>>>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>>>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>>>>>>><br>
>>>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>>>>>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>>>>>>><br>
>>>>>>>> Official FreeSWITCH Sites<br>
>>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>>>>>>><br>
>>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> _________________________________________________________________________<br>
>>>>>>> Professional FreeSWITCH Consulting Services:<br>
>>>>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>>>>>><br>
>>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>>>>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>>>>>><br>
>>>>>>> Official FreeSWITCH Sites<br>
>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>>>>>><br>
>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> --<br>
>>>>>>> Michael S Collins<br>
>>>>>>> Twitter: @mercutioviz<br>
>>>>>>> <a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
>>>>>>> <a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
>>>>>>> <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> _________________________________________________________________________<br>
>>>>>>> Professional FreeSWITCH Consulting Services:<br>
>>>>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>>>>>><br>
>>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>>>>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>>>>>><br>
>>>>>>> Official FreeSWITCH Sites<br>
>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>>>>>><br>
>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>> _________________________________________________________________________<br>
>>>>> Professional FreeSWITCH Consulting Services:<br>
>>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>>>><br>
>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>>>><br>
>>>>> Official FreeSWITCH Sites<br>
>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>>>><br>
>>>>> FreeSWITCH-users mailing list<br>
>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>><br>
>>>> --<br>
>>>> Ken<br>
>>>> <a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
>>>> <a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
>>>> <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
>>>> <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>>>><br>
>>>><br>
>>>><br>
>>>> _________________________________________________________________________<br>
>>>> Professional FreeSWITCH Consulting Services:<br>
>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>>><br>
>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>>><br>
>>>> Official FreeSWITCH Sites<br>
>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>>><br>
>>>> FreeSWITCH-users mailing list<br>
>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>><br>
><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div>