nuecho / rivr

Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.
http://rivr.nuecho.com
Other
61 stars 23 forks source link

Speech and DTMF recognition together #26

Closed D41138761 closed 2 years ago

D41138761 commented 2 years ago

We have requirement to ask user to provide zipcode by playing audio "Please say or enter the zip code of your service address." User can either say or type zipcode. Is there any way common recognition logic to receive user input instead of using Speech and DTMF recognition separately or one after another ?

gawi commented 2 years ago

For Interaction.Builder.build() and Interaction.Builder.addPrompt() methods, there are some signatures accepting both DtmfRecognition and SpeechRecognition objects.

D41138761 commented 2 years ago

thanks. it worked