VoiceGuide IVR Software Main Page
Jump to content

Tts Doesn't Play First Message Over Phone

Recommended Posts

I have voiceguide 5.2.5003 Ent Edition, and am having problems with the TTS. It answers the call, and then plays the first TTS message on the computer speaker, and not over the phone. Then I press 1 for the next menu, and it plays over the phone, and not over the computer. All TTS after first one plays over the phone. Here's a log I recorded:

 

 

 

182116.27 6 linedevstate 2048 0 0

182116.27 6 callstate OFFERING 66407 0 4

182116.27 6 rv clear

182116.27 6 Answer the call at 1/20/2006 6:21:16 PM

182116.28 6 lineAnswer(66407) => 65694

182116.28 6 ev Lev_CallerID [12545191000,NOBLE PHONE SER,2542471458]

182116.28 6 rv lg add [DNIS]{2542471458}

182116.28 6 ev Lev_CallerID [12545191000,NOBLE PHONE SER,2542471458]

182116.28 6 callinfo CALLEDID

182116.28 6 callinfo ORIGIN

182116.28 6 ring 0

182116.72 0 dial start any summary:|5:idx=0|6:hc>0|7:ivd<0|8:idx=0|

182116.81 6 callstate CONNECTED 66407 1 0

182116.81 6 callstate CONNECTED 66407,1,0

182116.81 6 WorkingModeTAPI@Connected=

182116.81 6 WorkingModeScript@Connected=

182116.83 6 Inband detection not enabled

182116.83 6 StartLoadedVgs at 1/20/2006 6:21:16 PM, script interpretor VgMulti v5.2.5003 3

182116.83 6 rv ns add [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\AutomatedSystem\}

182116.83 6 rv ns add [scriptPath]{C:\Program Files\VoiceGuide\Scripts\AutomatedSystem}

182116.84 6 rv lg add [$RV_STARTTIME]{1/20/2006 6:21:16 PM}

182116.84 6 rv lg add [$RV_DEVICEID]{6}

182116.84 6 rv lg add [$RV_CIDNAME]{NOBLE PHONE SER}

182116.84 6 rv ns add [PathApp]{C:\Program Files\VoiceGuide\}

182116.84 6 rv lg add [$RV_CIDNUMBER]{12545191000}

182116.84 6 rv lg add [$RV_DNIS]{2542471458}

182116.84 6 rv lg add [DNIS]{2542471458}

182116.86 6 tapi Reply (LineEvReply) ok 65694 0

182116.86 6 timer clear

182116.86 6 [TimeSwitch] Time Switch []

182116.86 6 [Friday, January 20, 2006 18:21] does not fall within [10:00-17:00 on MoTuWeThFr]

182116.86 6 callinfo MONITORMODES

182116.88 6 timer clear

182116.88 6 [MenuOptions] Number Input

182116.88 6 tts generate start[Thank you for calling Noble Phone Services. For existing customers, please press 1. To establish new service, please press 2. Press star to hear these options again. Thank you. ]

182116.88 6 tts generate wait

182130.05 6 tts generate finish. lineCallState=CONNECTED

182130.06 6 amchk test AMdet in TtsToWavFileFinished => False

182130.06 6 [MenuOptions] Playing (C:\Program Files\VoiceGuide\temp\tts_6_1.wav)

182130.06 6 play set playid=412515

182130.06 6 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>7,play pss EnsureWaveOutIsOpenAndReady=>play FileMmioOpenAndAscend failed in Play_EnsureWaveOutIsOpenAndReady] [C:\Program Files\VoiceGuide\temp\tts_6_1.wav]

182130.06 6 err wav file not ready to play. Header incomplete. Lets wait a little while and try again.

182130.08 6 timer set 0.2 EV_TIMEOUT_REPLAYMSG

182130.08 6 play end current play (playid=0)

182130.08 6 ScriptEventCode 8001 iLineState=1300

182130.08 6 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED

182130.08 6 eng set timer EV_TIMEOUT_REPLAYMSG time=5

182130.08 6 timer set 5 EV_TIMEOUT_REPLAYMSG

182133.80 6 dtmf 2 (66407,50,2)

182133.80 6 ScriptEventCode 50 iLineState=1301

182133.80 6 LsGetNbrsRxDigits 2

182133.81 6 [MenuOptions] Number Input 2

182133.81 6 rv lg add [MenuOptions]{2}

182133.81 6 rv ns add [MenuOptions_PathTaken]{2}

182133.81 6 timer clear

182133.83 6 [EstablishService] Number Input

182133.86 6 tts generate start[Thank you for calling Noble Phone Services. Press 0 to reach customer services at any time. Please listen to the following menu options. Please listen to all menu items before making a selection. Press 1 for Phone Service. Press 2 for Internet service. Press 3 for Unlimited Long distance. Press 4 for Store hours. Press star to hear these choices again. Thank you. ]

182133.88 6 tts generate wait

182134.50 6 tts generate finish. lineCallState=CONNECTED

182134.52 6 amchk test AMdet in TtsToWavFileFinished => False

182134.52 6 [EstablishService] Playing (C:\Program Files\VoiceGuide\temp\tts_6_2.wav)

182134.52 6 play set playid=416968

182134.53 6 PlaySoundStart ok [C:\Program Files\VoiceGuide\temp\tts_6_2.wav]

182134.53 6 timer clear

182134.55 6 wa(27538,41696800)

182134.55 6 callinfo MONITORMODES

182202.08 6 wb(41696800)

182202.14 6 play end current play (playid=416968)

182202.14 6 ScriptEventCode 8001 iLineState=1300

182202.14 6 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED

182202.14 6 timer set 10 EV_TIMEOUT_HANGUP

182202.14 6 timer set 6 EV_TIMEOUT_ENTERDATA

182208.28 6 callstate DISCONNECTED 66407 0 0

182208.28 6 ScriptEventCode 9250 iLineState=1301

182208.28 6 LsGetNbrsRxDigits EV_REMOTEPARTY_DISCONNECT

182208.28 6 rv lg add [EstablishService]{}

182208.28 6 rv lg add [Hangup Time]{1/20/2006 6:22:08 PM}

182208.30 6 Hanging up call...

182208.30 6 RecSoundStop ok

182208.30 6 PlaySoundStop err=0

182208.30 6 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP

182208.30 6 fnHangupCall end

182208.34 6 linedevstate 2048 0 0

182208.34 6 callstate IDLE 66407 0 0

182208.34 6 WorkingMode@Idle=

182208.34 6 timer clear

182208.36 6 timer set 1 EV_TIMEOUT_TIMETOREINITLINE

182208.36 6 tapi Reply (LineEvReply) ok 65711 0

182209.36 6 timer fired EV_TIMEOUT_TIMETOREINITLINE

182209.36 6 ScriptEventCode 9008 iLineState=900

182209.36 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

182209.36 6 ReinitTelephony due to IDLE

182209.36 6 tapic lineDeallocateCall(MainCall:66407) 0

182209.42 6 lineOpen(6)=>

182209.42 6 Waiting for a call...

182209.42 6 LineHandle=65785

182209.42 6 amchk set AMdet=False in Reinit@idle

182209.42 6 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

182209.98 0 dial start any summary:|5:idx=0|6:rdy=0|7:ivd<0|8:idx=0|

182212.70 6 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

182212.70 6 ScriptEventCode 9013 iLineState=900

182213.02 0 dial start any summary:|5:idx=0|6:idx=0|7:ivd<0|8:idx=0|

 

 

I would appreciate any help. Thankyou.

Share this post


Link to post
and then plays the first TTS message on the computer speaker, and not over the phone.

These types of problems were resolved in past by re-installing the TTS.

 

Which TTS are you using?

Share this post


Link to post

I also noticed that I have to listen to the whole tts message even though the choice has been made (oh say, in the middle of the tts message). Then vg reads the input as the choice from the caller is executed and goes to the next script, but doesn't play the next module till after the tts message has finished playing in the previous module. Is this normal. If so, I would like to pregenerate all the tts messages to wave files, and just play them as a wave rather than a tts. I noticed in the process recorded (that I posted previously), it has a tts to wave generator. Is there a way that I can access that tts to wave generator to prerecord all of my tts? Or perhaps you can give me a snippit of the code to execute in Visual Basic to execute to automate the process. It's the only programming language that I know, but I don't know where to start. If I have the commands to execute the text to wave, I can create my own program based off of it. I would appreciate any help for this, if you are allowed too. Thank you.

Share this post


Link to post
If so, I would like to pregenerate all the tts messages to wave files, and just play them as a wave rather than a tts.

If what is TTS'd does not change from call to call then this is a much better way of doing this.

 

Some tools would have been installed by SAPI to let you do this.

Share this post


Link to post

I found that Microsoft includes a data folder along with the SAPI5.1 that includes code, and compiled programs for Visual Basic. TTSAPP is one of the included programs and does everything that I needed. It's free too. This is just for your information, in case someone else wants a text to wave program. Thanks for the lead in finding this tool in SAPI.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×