<div dir="ltr"><a href="http://wiki.freeswitch.org/wiki/Mod_pocketsphinx">http://wiki.freeswitch.org/wiki/Mod_pocketsphinx</a> describes the Pizza Demo a bit.<div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>
</div><br><div class="gmail_quote">On Tue, Feb 12, 2013 at 10:42 PM, Chad Engler <span dir="ltr"><<a href="mailto:Chad.Engler@patlive.com" target="_blank">Chad.Engler@patlive.com</a>></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="purple"><div><p class="MsoNormal">I'm looking for a good example of doing speech detection in a dialplan, and I can't find one.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Right now I am trying:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:.5in"><include><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in">
<extension name="dot_license"><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"> <condition field="destination_number" expression="^dot_license$"/><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> <condition field="${module_exists(mod_pocketsphinx)}" expression="true"><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"> <action application="answer"/><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> <action application="sleep" data="1000"/><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"> <action application="speak" data="flite|kal|Say the license number"/><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> <action application="detect_speech" data="pocketsphinx dot_license dot_license"/><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in">
</condition><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"> </extension><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"></include><u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">But after enabling speech detection it just hangs up. How can I let the caller respond and collect/use the result from a dialplan?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy">Chad Engler</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Telephony Programmer</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Black","sans-serif";color:gray">PATLive</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray"><a href="tel:1.800.775.7790%20x746" value="+18007757790" target="_blank">1.800.775.7790 x746</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray"><a href="mailto:chad.engler@patlive.com" target="_blank"><span style="font-family:"Times New Roman","serif";color:gray">chad.engler@patlive.com</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Hosted Communications | Friendly Service </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#4067cd"><a href="http://www.patlive.com/" target="_blank"><span style="font-family:"Times New Roman","serif";color:#4067cd">www.patlive.com</span></a></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray"><u></u><u></u></span></p>
<p class="MsoNormal"><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>
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></div></div>