is that ms ? God bless the poor callers !! Goodness. wait I&#39;ll be back.<br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 1:23 PM, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="SV" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">7 ms seems like a very short timeout to have?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">/Peter<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Från:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>För </b>SamyGo<br>
<b>Skickat:</b> den 10 augusti 2012 10:11<br>
<b>Till:</b> FreeSWITCH Users Help<br>
<b>Ämne:</b> Re: [Freeswitch-users] DTMF detection giving problems<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">No Ivan , I&#39;ve no issue at all with DTMFs ever. Like I said there is an Asterisk server which used torun the same IVRs and on same setup and never got such a problem.<u></u><u></u></p>
<div>
<p class="MsoNormal">But not I&#39;m relaying calls from Asterisk to FS and thus I&#39;ve a SIP peer in between. Calls are coming in OK, I intermittently face this issue where user presses DTMFs and those digits are not recognized by FS-PlayAndGetDigits() <u></u><u></u></p>

</div>
<div>
<p class="MsoNormal">I&#39;ve  lines like this in my LUA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> choice = session:playAndGetDigits(1, 1,1,7, &quot;#&quot;,sound_files[1], &quot;&quot;, &quot;[0-9]&quot;)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> freeswitch.consoleLog(&quot;INFO&quot;,&quot;User Entered &quot;..choice..&quot; for this Survey\n&quot;)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><b><u>Logs for the calls without dtmf here:</u></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/mymenu.gsm<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[INFO] switch_cpp.cpp:1227 <span style="background:red">User Entered  for this Survey</span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_rtp.c:3795 RTP RECV DTMF 1:1280<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">--------------------- Another Example---------------------<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_rtp.c:3594 Correct ip/port confirmed.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/mymenu.gsm<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[INFO] switch_cpp.cpp:1227 <span style="background:red">User Entered  for this Survey</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_rtp.c:3795 RTP RECV DTMF 0:960<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/thanks.gsm<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">--------------------- Another Example---------------------<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/mymenu.gsm<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">[INFO] switch_cpp.cpp:1227 <span style="background:red">User Entered  for this Survey</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_rtp.c:3795 RTP RECV DTMF 6:2560<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/thanks.gsm<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><b><u>Log for successful DTMF collected is as follows:</u></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">[DEBUG] switch_rtp.c:3594 Correct ip/port confirmed.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_rtp.c:3795 RTP RECV DTMF 1:8800<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/mymenu.gsm<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:2034 Test Regex [1][0-9]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[INFO] switch_cpp.cpp:1227 <span style="background:#009900">
User Entered 1 for this Survey</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[DEBUG] switch_ivr_play_say.c:1682 done playing file /sounds/thanks.gsm<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal">-------<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So I can see a pattern here. But I can&#39;t figure out this behavior. Is it because I&#39;ve 1 try only ! and after just once playing of file PAGD() breaks no matter it gets DTMF or not !?<u></u><u></u></p>

</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Sammy<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">On Fri, Aug 10, 2012 at 10:09 AM, ivan baydin &lt;<a href="mailto:runtwistedrat@gmail.com" target="_blank">runtwistedrat@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">Hello Sammy.</span><u></u><u></u></p>
<div>
<p class="MsoNormal">should check whether the operator is not blocking dtmf<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I had a situation - in the same statement it worked, on the other - not processed incoming dtmf <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2012/8/10 SamyGo &lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt;<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello All,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">I&#39;ve a small lua script which is just an IVR. Calls are landing on Asterisk and then they are relayed over to FS. The problem is that the IVR don&#39;t always detects what user pressed. What I&#39;ve observed is that the DTMF threshold is very
 high and some people just press slowly/quickly and the tone duration gets low and FS don&#39;t detect anything. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I&#39;ve rfc2833 set for the sip trunk between asterisk and freeswitch. I&#39;ve also liberal-dtmf set in my sofia external.xml profile file which somewhat got me better results but still DTMFs miss sometimes.<u></u><u></u></p>

</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Please note that the asterisk on which the calls are landing have never faced this issue before. Asterisk has PRI from which it receives the calls and then relay to desired FS server.<u></u><u></u></p>

</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Sammy<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div><p class="MsoNormal">!DSPAM:5024c05932762100017234! <u></u><u></u></p>
</div>
</div>

<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>
Join Us At ClueCon - Aug 7-9, 2012<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></blockquote></div><br>