What is happening is that for some reason all of a sudden the agent will begin speaking the same phrase over and over and at will say things without saying anything to it. For example I may say hello and the response back would be hello and that will work. But for some reason it will begin cycling through its phrases and talking without anything being said to it. Here is a snip it of the code I am using.
Private Sub DirectSR1_PhraseFinish(ByVal flags As Long, _ ByVal beginhi As Long, ByVal beginlo As Long, ByVal endhi As Long, _ ByVal endlo As Long, ByVal Phrase As String, ByVal parsed As String, _ ByVal results As Long) Dim replyfiletext As String Case "How are you" 'SendKeys "How are you" lblReply.Caption = "How are you" Open App.Path & "\okreply.txt" For Input As #1 Input #1, replyfiletext lblReply.Caption = replyfiletext AC.Speak replyfiletext AC.Speak "How are you,, today" On Error Resume Next Close #1 End Select End Sub
This same action is done for several other voice commands.
Can someone please help.
This post has been edited by andrewsw: 03 August 2013 - 05:50 AM
Reason for edit:: Code indents