[Freeswitch-users] mod_pocketsphinx dialplan example

Avi Marcus avi at avimarcus.net
Tue Feb 12 23:47:42 MSK 2013


http://wiki.freeswitch.org/wiki/Mod_pocketsphinx describes the Pizza Demo a
bit.

-Avi

On Tue, Feb 12, 2013 at 10:42 PM, Chad Engler <Chad.Engler at patlive.com>wrote:

> I'm looking for a good example of doing speech detection in a dialplan,
> and I can't find one.****
>
> ** **
>
> Right now I am trying:****
>
> ** **
>
> <include>****
>
>   <extension name="dot_license">****
>
>     <condition field="destination_number" expression="^dot_license$"/>****
>
>     <condition field="${module_exists(mod_pocketsphinx)}"
> expression="true">****
>
>       <action application="answer"/>****
>
>       <action application="sleep" data="1000"/>****
>
>       <action application="speak" data="flite|kal|Say the license number"/>
> ****
>
>       <action application="detect_speech" data="pocketsphinx dot_license
> dot_license"/>****
>
>     </condition>****
>
>   </extension>****
>
> </include>****
>
> ** **
>
> But after enabling speech detection it just hangs up. How can I let the
> caller respond and collect/use the result from a dialplan?****
>
> ** **
>
> Thanks,****
>
> ** **
>
> *Chad Engler*****
>
> Telephony Programmer****
>
> PATLive****
>
> 1.800.775.7790 x746****
>
> chad.engler at patlive.com****
>
> ** **
>
> Hosted Communications | Friendly Service    www.patlive.com****
>
> ** **
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130212/f1338cb5/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list