Guest Dave Report post Posted 09/05/2005 05:51 PM I'm new to this...I have a script which works fine when I dial the number. But if it tries to call I get invalid format? Its not using any wav files. Share this post Link to post
SupportTeam Report post Posted 09/06/2005 05:06 AM Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what happened. When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call. You can enable the automatic saving of the logs to files in \log\ directory as well. Share this post Link to post
Guest Guest Report post Posted 09/06/2005 11:50 PM This is the message I get. There has been an error playing this file. Pleaser check the file format. ResetWavOutAndContinuePlay=>2,play pss EnsureWaveOutIsOpenAndReady=>play FileMmioOpenAndAscend failed in Play_EnsureWaveOutIsOpenAndReady] [C:\Documents and Settings\Dovid\My Documents\TVR\TVR.vgs] 194926.38 0 play set playid=275906 194926.50 0 timer clear 194926.50 0 play end old playid returned=0 (current=275906) 194926.52 0 wa(4425,27590600) 194930.92 0 play end current play (playid=275906) 194930.94 0 ScriptEventCode 8001 iLineState=1150 194930.94 0 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED 194930.95 0 Replay 7/10 (see VG.INI section [VGDialer] entry AnnReplay) 194930.95 0 play set playid=280515 194930.98 0 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>2,play pss EnsureWaveOutIsOpenAndReady=>play FileMmioOpenAndAscend failed in Play_EnsureWaveOutIsOpenAndReady] [C:\Documents and Settings\Dovid\My Documents\TVR\TVR.vgs] 194930.98 0 play set playid=280515 194931.11 0 timer clear 194931.11 0 play end old playid returned=0 (current=280515) 194931.13 0 wa(4425,28051500) Share this post Link to post
SupportTeam Report post Posted 09/07/2005 12:08 AM Please post the script which you are using and the trace log excerpt capturing the entire call. Share this post Link to post
Guest dVE Report post Posted 09/07/2005 10:50 PM Version=5.0 DefaultModuleDisplayHeight= StartModule=GetClientRecord RunAtHangup= StartWithoutAnswer=0 CtmAsiName= [GetClientRecord] Type=Database Query DispSize=69 Txt=Retrieve info from database for this client using Caller ID (or the phone number dialed) DbDatabase=C:\Documents and Settings\Dovid\My Documents\TVR\TVR.mdb DbUser= DbConnectString= DbSql=SELECT Company, OrderName, OrderAmount, OrderCode, ID FROM Accounts, Transactions WHERE Accounts.AccountID=Transactions.AccountID on {success} goto [PlayDetails] on {fail} goto [ClientNotFound] on {success} goto [GetOrderCode] Position=120,28 [GetOrderCode] Type=Get Numbers DispSize=69 Txt=Play a prompt asking the caller to enter a sequence of numbers, speak the sequence back to the caller and ask them to confirm it. Go down different paths depending on the numbers entered... PlayFile1=welcome.txt Replay=2,5 GetNbrLen_Min=0 GetNbrLen_Max=0 Confirm=ON VbScript= set vg = CreateObject("VoiceGuide.CommandLink") en = Len("$RV_ENTEREDNUMBER") if $RV[GetClientRecord_4_1] = en then sResult = "verify_failed" else sResult = "verify_passed" end if vg.Run_ResultReturn $RV_LINEID, sResult set vg = Nothing VbsHoldPlay= on {success} goto [update Passed] on {fail} goto [update Failed] Position=105,283 [update Passed] Type=Database Query DispSize=69 Txt=Update the confirmed field in the database. DbDatabase=C:\Documents and Settings\Dovid\My Documents\TVR\TVR.mdb DbUser= DbConnectString= DbSql=UPDATE TRANSACTIONS SET CONFIRMED = NOW(), PassFail = 'P' WHERE ID = $RV[GetClientRecord_5_1] Position=464,241 [update Failed] Type=Database Query DispSize=69 Txt=Update the confirmed field in the database. DbDatabase=C:\Documents and Settings\Dovid\My Documents\TVR\TVR.mdb DbUser= DbConnectString= DbSql=UPDATE TRANSACTIONS SET CONFIRMED = NOW(), PassFail = 'F' WHERE ID = $RV[GetClientRecord_5_1] Position=464,340 Share this post Link to post
SupportTeam Report post Posted 09/07/2005 11:32 PM Please post the trace log excerpt capturing the entire call. When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call. You can enable the automatic saving of the logs to files in \log\ directory as well. Share this post Link to post