Narrowing down the problem, I see the PlayandGetDTMF starting the intended audio file. Then user presses any DTMF and the PAGD breaks saying the user pressed &quot; &quot; , yes and empty space :S.The variable which is supposed to hold the DTMF has some space in it which it proudly logs to the console w/o giving any errors !!<div>
<div><br></div><div><br><div><br></div><div><br></div><div><div class="gmail_quote">On Fri, Aug 10, 2012 at 9:55 AM, SamyGo <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<div><br><div>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. </div>

<div><br></div><div>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.</div>

<div><br></div><div>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.</div><div><br></div>

<div><br></div><div>Regards.</div><div>Sammy</div><div><br></div></div>
</blockquote></div><br></div></div></div>