<div dir="ltr"><font color="#333333" face="verdana, sans-serif"><div>NOTE: I tested this on Centos and I wasn't able to reproduce it. So it looks like a windows problem or it might be that since I got one error when trying to compile FreeSWITCH on windows I tried to fix it with the fix on this jira bug report <a href="http://jira.freeswitch.org/browse/FSBUILD-296?focusedCommentId=20921&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel" target="_blank">http://jira.freeswitch.org/browse/FSBUILD-296?focusedCommentId=20921&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel</a> so maybe that is the problem.</div>
<div><br></div><div>(I am using Flite for TTS)</div><div><br></div><div>--</div>I have a macro (phrase) file that is set up like this.</font><div><font color="#333333" face="verdana, sans-serif"><br>
</font></div><div><font color="#333333" face="verdana, sans-serif"><div><div> <macro name="test_tts"></div><div> <input pattern="(.*)"></div><div> <match></div><div><span style="white-space:pre-wrap">        </span><action function="speak-text" data="<b>Please enter the extension then press the pound key.</b>"/></div>
<div><br></div><div><div> <action function="<b>play-file</b>" data="ivr/ivr-to_repeat_these_options.wav"/></div><div> <action function="play-file" data="ivr/ivr-please.wav"/></div>
<div> <action function="play-file" data="voicemail/vm-press.wav"/></div><div> <action function="play-file" data="digits/9.wav"/></div><div> <action function="play-file" data="silence_stream://2000"/></div>
</div><div> </match></div><div> </input></div><div> </macro></div></div><div><br></div><div>Then when I use this phrase file in the play_and_get_digits application, something like this.</div>
<div><br></div><div><div><action application="play_and_get_digits" data="1 4 3 7000 # phrase:test_tts phrase:test_play_file \d+"/></div>
</div><div><br></div><div>If I try to enter a number on the phone for example "234#" what happens here is that if it is in the middle of playing the <b>speak-text </b>part of the phrase file then it will just return "2" and stop right away (as if he is done) if "234#" is pressed when the <b>play-file</b> part of phrase file is playing then it will work as it should work (returning 234).</div>
<div><br></div><div>Yitzchok</div>
</font></div></div>