Here is a snippet from my lumenvox dialplan (works pretty much the same for Vestec) exten => s,n,Set(GRAM="/etc/asterisk/grammars/yesno_"+${CHANNEL(language)}+".gram") exten => s,n,SpeechLoadGrammar(yesno|${GRAM}) exten => s,n,SpeechActivateGrammar(yesno) exten => s,n,Set(SPEECH_DTMF_MAXLEN=1) exten => s,n,SpeechStart() exten => s,n,SpeechBackground(telbank/${ABA}/${CHANNEL(language)}/1-yes-2-no|10) exten => s,n,SpeechDeactivateGrammar(yesno) exten => s,n,SpeechUnloadGrammar(yesno) exten => s,n,Verbose(retry returned ${SPEECH(results)} you said ${SPEECH_TEXT(0)}) exten => s,n,Set(TEST=${SPEECH_TEXT(0)}) exten => s,n,GotoIf($["${TEST}" = "1"]?approved) exten => s,n,GotoIf($["${TEST}" = "2"]?bank_macro-speech-confirm_1) exten => s,n,GotoIf($["${SPEECH(results)}" = "0"]?bank_macro-speech-confirm_1) exten => s,n,Playback(telbank/${ABA}/${CHANNEL(language)}/pleasesayagain)
-----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Richard Kenner Sent: Tuesday, May 11, 2010 7:58 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Speech/DTMF mix? > Look at SpeechBackground() that comes with Asterisk. > > Look here: > http://www.lumenvox.com/help/speechEngineAsterisk/development/dtmf-and- > speech.htm > > "When you call SpeechBackground() to perform speech recognition, Asterisk > listens for both speech and DTMF entry. As soon as it detects a DTMF key > press, it immediately stops streaming audio to the Speech Engine and it > will then collect exclusively DTMF for that interaction." > > And yes, it also works in reality. :-) How do you pick up the DTMF in the dialplan? -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users