Error Condition Components
The next set of components handle error conditions such as the user remaining silent (ConsecutiveSilencesSpeechEvent) or saying something that isn’t valid for the question asked and isn’t in the grammar—for example, ConsecutiveNoRecognitionsSpeechEvent. The default logic for a SpeechQuestionAnswer activity is to simply loop and repeat the question, but these activities enable you to have more control. For example, you might determine that after three wrong replies that you want to send the caller to an operator. You can do this by using a ConsecutiveNoRecognitionsSpeechEvent activity and setting its MaximumNoRecognitions property to three. After the user has three wrong replies, ConsecutiveNoRecognitionsSpeechEvent ...
Get Microsoft® Lync Server 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.