Post new topic Reply to topic  [ 7 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Wed Oct 18, 2006 7:29 am 
Offline

Joined: Wed Jan 25, 2006 2:43 pm
Posts: 6
We are having a problem getting the record step to work correctly. The program goes through the record step so quickly that the beep is not played, and goes on to follow the success path. You can see from the log portion below that the touch-tone buffer is cleared, and that the record step is instantaneous. An empty wave file is created from the step. <br> <br>2006/10/18 09:50:01.006: [324] Play <br> <br>2006/10/18 09:50:01.006: Script code is '12557_21' <br> <br>2006/10/18 09:50:01.006: Script code '12557_21' corresponds to file 'Vox\Eng\Scripts\12557_21.vce' <br> <br>2006/10/18 09:50:01.006: Playing 'C:\Program Files\TeleFlow\Applications\12557\Vox\Eng\Scripts\12557_21.vce' <br> <br>2006/10/18 09:50:01.127: Event: ADIEVN_DIGIT_END <br> <br>2006/10/18 09:50:12.132: Event: VCEEVN_PLAY_DONE, Finished , msec=11060 <br> <br>2006/10/18 09:50:12.132: Play completed. <br> <br>2006/10/18 09:50:12.132: [437] Run Flowchart <br> <br>2006/10/18 09:50:12.132: Flowchart is 'MenuSet' <br> <br>2006/10/18 09:50:12.132: Phomni2==>MenuSet <br> <br>2006/10/18 09:50:12.132: [100] START <br> <br>2006/10/18 09:50:12.132: [102] Set Global Variable <br> <br>2006/10/18 09:50:12.132: Setting global variable '@COUNTER' to '4' <br> <br>2006/10/18 09:50:12.132: [104] Clear TT <br> <br>2006/10/18 09:50:12.132: [105] SR Clear Audio <br> <br>2006/10/18 09:50:12.132: [101] FINISH <br> <br>2006/10/18 09:50:12.132: Phomni2<==MenuSet <br> <br>2006/10/18 09:50:12.132: [319] Record <br> <br>2006/10/18 09:50:12.132: Maximum record time is '0' <br> <br>2006/10/18 09:50:12.132: Silence TIMEOUT is '' <br> <br>2006/10/18 09:50:12.132: Empty Silence TIMEOUT defaults to '@TIMEOUT', and evaluates to '3000' <br> <br>2006/10/18 09:50:12.132: Voice file is 'c:\temp\test1.wav' <br> <br>2006/10/18 09:50:12.132: Recording 'c:\temp\test1.wav' <br> <br>2006/10/18 09:50:12.132: Event: ADIEVN_RECORD_DONE, Stopped , nbytes=0 <br> <br>2006/10/18 09:50:12.132: Setting system variable '@RECORD_RESULT' to 'STOPPED' <br> <br>2006/10/18 09:50:12.132: [337] Set Global Variable <br> <br>2006/10/18 09:50:12.132: Setting global variable '@D10A' to '1' <br> <br>2006/10/18 09:50:12.132: [313] Play <br> <br>2006/10/18 09:50:12.132: Script code is '12557_23' <br> <br>2006/10/18 09:50:12.132: Script code '12557_23' corresponds to file 'Vox\Eng\Scripts\12557_23.vce' <br> <br>2006/10/18 09:50:12.132: Playing 'C:\Program Files\TeleFlow\Applications\12557\Vox\Eng\Scripts\12557_23.vce' <br> <br>2006/10/18 09:50:32.582: Event: VCEEVN_PLAY_DONE, Released , msec=20460 <br> <br>2006/10/18 09:50:32.582: Hanging up


Back to top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 18, 2006 1:46 pm 
Offline
Site Admin

Joined: Wed Dec 31, 1969 5:00 pm
Posts: 329
Location: Vancouver, BC
The problem with your record step is indicated in this line from your log: <br> <br>2006/10/18 09:50:12.132: Maximum record time is '0' <br> <br>You have asked it to record a zero-length file, and therefore it immediately returns with a code of success. You need to supply a "Maximum time recordable" in milliseconds in the properties of the record step. <br> <br>The "Silence Timeout (ms)" field is optional. If you want the recording to terminate when the caller stops speaking. A good figure to use here is 3000 ms (3 seconds). Anything shorter may interpret natural pauses in human speech as an end-of-speech.


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Wed Oct 18, 2006 2:02 pm 
Offline

Joined: Wed Jan 25, 2006 2:43 pm
Posts: 6
Thanks, that took care of the problem. <br> <br>You might want to change the manual though. It states that a setting of '0' means there is no time limit.


Back to top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 18, 2006 2:20 pm 
Offline
Site Admin

Joined: Wed Dec 31, 1969 5:00 pm
Posts: 329
Location: Vancouver, BC
Thank-you! You are quite right; the manual entry is incorrect. It should state that leaving the "Maximum time recordable" field empty results in no time limit.


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Thu Oct 19, 2006 1:05 pm 
Offline

Joined: Wed Jan 25, 2006 2:43 pm
Posts: 6
I am having more difficulty with this step. If the caller does not speak before time runs out, it is not following the timeout path. The program follows the success path. <br> <br>2006/10/19 15:48:02.733: [319] Record <br> <br>2006/10/19 15:48:02.733: Maximum record time is '180000' <br> <br>2006/10/19 15:48:02.733: Silence TIMEOUT is '4000' <br> <br>2006/10/19 15:48:02.733: Voice file '@VOXFILE' evaluates to 'C:\Program Files\TeleFlow\Applications\12557\Messages\1145411.wav' <br> <br>2006/10/19 15:48:02.733: Recording 'C:\Program Files\TeleFlow\Applications\12557\Messages\1145411.wav' <br> <br>2006/10/19 15:48:03.013: Event: ADIEVN_RECORD_STARTED <br> <br>2006/10/19 15:48:03.013: u-Event: ADIEVN_RECORD_STARTED <br> <br>2006/10/19 15:48:06.989: Record buffer full event: 0 <br> <br>2006/10/19 15:48:06.989: Event: ADIEVN_RECORD_DONE, No Voice , nbytes=63680 <br> <br>2006/10/19 15:48:06.989: No voice detected <br> <br>2006/10/19 15:48:06.989: Setting system variable '@RECORD_RESULT' to 'NO VOICE' <br> <br>2006/10/19 15:48:06.989: [337] Set Global Variable <br> <br>2006/10/19 15:48:06.989: Setting global variable '@D10A' to '1' <br> <br>2006/10/19 15:48:06.989: [445] Run Flowchart <br> <br>2006/10/19 15:48:06.989: Flowchart is 'MenuSet'


Back to top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 2:08 pm 
Offline
Site Admin

Joined: Wed Dec 31, 1969 5:00 pm
Posts: 329
Location: Vancouver, BC
I am not sure why this is like this. There may be a good reason why is succeeded instead of resulting in Timeout, but I can't think of what that could be. I will get someone to investigate to determine if it is desired (albiet weird) functionality or a bug. <br> <br>In the meantime, check the @RECORD_RESULT variable. As you can see in this line, TeleFlow supplies you with more information about why a recording terminated in this system variable. After your record step, you can use a compare to check for the 'NO VOICE' value.


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Fri Oct 20, 2006 6:58 am 
Offline

Joined: Wed Jan 25, 2006 2:43 pm
Posts: 6
That works, thanks for your help.


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.