I told you what to do if you want to have the answer.<div>do I need to repost it or did you get the last email?</div><div><br><br><div class="gmail_quote">On Wed, Apr 28, 2010 at 5:08 AM, Frank @ Impact <span dir="ltr">&lt;<a href="mailto:frank@impactfax.com">frank@impactfax.com</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="EN-US" link="blue" vlink="blue">

<div>

<p class="MsoNormal"><font size="3" color="blue" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:blue">Yes. I understand your position of trying
to help people using old code. <span> </span>That is
why I tried to download the latest code to try to stay current.</span></font></p>

<p class="MsoNormal"><font size="3" color="blue" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:blue"> </span></font></p>

<p class="MsoNormal"><font size="3" color="blue" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:blue">But that is also when I found this problem
with the newer code.</span></font></p><div><div></div><div class="h5">

<p class="MsoNormal"><font size="3" color="blue" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:blue"> </span></font></p>

<p class="MsoNormal" style="margin-left:.5in"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">-----Original Message-----<br>
<b><span style="font-weight:bold">From:</span></b>
<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><span style="font-weight:bold">On Behalf Of </span></b>Anthony Minessale<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, April 27, 2010
11:40 AM<br>
<b><span style="font-weight:bold">To:</span></b>
<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users]
session.steamFile misses DTMF event forfirst few seconds</span></font></p>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">12XXX is so many years old, i wish users who want free
help would at least stay up to date with the code.<br>
<br>
FYI, our repo is on git now and the svn mirror is not updating at the moment.<br>
<br>
produce a complete minimal script that reproduces your problem and can be run
on git HEAD (see download instructions to learn how to build with git) 
Use existing sound files from the FS install so we can just run it in our lab
to reproduce the issue.<br>
<br>
Open an issue on <a href="http://jira.freeswitch.org" target="_blank">http://jira.freeswitch.org</a>
and attach the script.<br>
<br>
<br>
</span></font></p>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Tue, Apr 27, 2010 at 10:15 AM, Frank @ Impact &lt;<a href="mailto:frank@impactfax.com" target="_blank">frank@impactfax.com</a>&gt; wrote:</span></font></p>


<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">The calls are coming from land based lines.
 Traditional POTS (not cable<br>
company).  Caller is calling into FS and providing those DTMF.  I can<br>
reproduce on my POTS line (3000&#39; from CO) and there is no discernable<br>
noise on the line.<br>
<br>
The call comes into the media gateway and then goes sip to FS.<br>
<br>
I can reproduce the problem just by starting FS version from the latest<br>
trunk.  And then I can eliminate the problem by restarting the FS<br>
version 12790.  In both test cases, the media gateway remains constant.</span></font></p>

<div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
On Behalf Of<br>
Alberto Escudero<br>
Sent: Tuesday, April 27, 2010 9:08 AM<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] session.steamFile misses DTMF event for<br>
first few seconds<br>
<br>
How are you  receiving those DTMFs, inbound or outbound? Are those calls<br>
coming from a mobile network (GSM). We have experienced lots of problem<br>
with DTMF detection in noisy lines.<br>
<br>
/aep<br>
--<br>
Stopping junk mailers is good for the environment<br>
<br>
&gt; I recently upgraded from FS 12790M to svn 17188.  When I did, I<br>
noticed<br>
&gt; that session.streamFile behaved differently and I started having<br>
&gt; problems with my IVR app.<br>
&gt;<br>
&gt; With the upgraded FS, I have a problem with streamFile no firing on<br>
the<br>
&gt; DTMF and calling the callback function for the first few seconds of<br>
the<br>
&gt; wav file playback.  It behaves as though it does not hear the DTMFs.<br>
If<br>
&gt; I wait for 2 seconds or so of the wav file and then DTMF, streamFile<br>
&gt; catches the DTMF and all is well.  If I key as soon as I hear the wav<br>
&gt; file start, streamFile just keeps playing the wav and does not call<br>
the<br>
&gt; callback function.<br>
&gt;<br>
&gt; When I revert back to the previous version of FS, streamFile always<br>
&gt; fires the callback right away no matter how quickly I press the first<br>
&gt; DTMF as the wav file starts to stream out.<br>
&gt;<br>
&gt; The wave file is RIFF (little-endian) data, WAVE audio, Microsoft PCM,<br>
&gt; 16 bit, mono 8000 Hz<br>
&gt;<br>
&gt; The snippet of js code I am using is as follows.<br>
&gt;<br>
&gt; if(session.ready()) {<br>
&gt;     session.answer();<br>
&gt;     session.sleep(750);<br>
&gt;     while(session.ready()) {<br>
&gt;         session.sleep(500);<br>
&gt;         session.flushDigits(); // clear out input
buffers<br>
&gt;<br>
&gt;<br>
&gt;<br>
if((pin=session.streamFile(snd_prefix+&quot;/enter-acct-numbers.wav&quot;,onlyDigi<br>
&gt; ts_cb,&quot;&quot;))===false) {<br>
&gt;            
pin=session.getDigits(pinmax,pinterm,pinwait);<br>
&gt;         } else {<br>
&gt;            
pin+=session.getDigits(pinmax-1,pinterm,pinwait);<br>
&gt;         }<br>
&gt;         // more code here..<br>
&gt;     }<br>
&gt;<br>
&gt; Do I need to change the way I use streamFile in the later release?<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;<br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<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><br>
<br>
<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></span></font></p>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900</span></font></p>

</div></div></div>

</div>


<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><br clear="all"><br>-- <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>