Dan Clements Report post Posted 05/28/2003 04:36 PM I am a beginner with a script in progress. I am encoraged by the many positive coments on your support groups page as to the usefullness of this software. Can one explain the "1032" errors in the trace. I am trying to evaluate the number of transfers to attempt based the route a call took, and menu selections from prior modules; while useing only one transfer routine. After a menu selection I am setting a value to various $RV's. Also the clean up script is not working. ??? It is intended to set all the $RV's back to 0. Is a better way recomended? 71003 0 tapie linedevstate 2048 0 0 71003 0 tapie callstate OFFERING 11935936 0 4 71023 0 tapie callinfo CALLEDID 71033 0 tapie callinfo ORIGIN 71033 0 tapie ring 0 77022 0 tapie ring 2 83041 0 tapie ring 3 83041 0 Answer the call 83051 0 lineAnswer(11935936) => 1 83591 0 tapie callstate CONNECTED 11935936,1,0 83591 0 WorkingModeTAPI= 83591 0 WorkingModeScript= 83641 0 Inband detection not enabled 83651 0 tapi Reply 1 0 83651 0 [Agency Welcome] Playing 83651 0 [Agency Welcome] Playing (C:\Agcy WAVS\AgcyWcm.wav) 83882 0 PlaySoundStart ok [C:\Agcy WAVS\AgcyWcm.wav] 83892 0 RunModule PLAY end 97592 0 wb(98366100) 97652 0 Play End line[0] (id=983661) 97662 0 LsPlayMsg EV_PLAY_FINISHED 00576 0 tapie monitordigits 49 2 00586 0 LsPlayMsgFinished [1] 00596 0 [G1 or Other] Playing 00596 0 [G1 or Other] Playing (C:\Agcy WAVS\G1 or Oth.wav) 00646 0 PlaySoundStart ok [C:\Agcy WAVS\G1 or Oth.wav] 00646 0 RunModule PLAY end 03690 0 tapie monitordigits 50 2 03700 0 LsPlayMsg [2] 03760 0 PlaySoundStop ok 03770 0 [Prog or Other?] Playing 03780 0 [Prog or Other?] Playing () 03790 0 File not found (empty string) {Wav not created yet} 03830 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voicedlgc\SoundFileNotFound.wav] 03840 0 RunModule PLAY end 05964 0 tapie monitordigits 49 2 05974 0 LsPlayMsg [1] 06034 0 PlaySoundStop ok 06044 0 [set P =1] Evaluate [1] 06054 0 .Eval(1) 06064 0 Eval Expr result:[1] 06074 0 [Check Upagent (x)] Evaluate [$RV[upAgent]] 06084 0 RVreplace start: [$RV[upAgent]] 06094 0 RVreplace end: [$RV[upAgent]] 06104 0 .Eval($RV[upAgent]) 06114 0 Error: 1032 06124 0 Eval Expr result:[$RV[upAgent]] 06444 0 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 06454 0 [Find Dan In office] Announced Transfer to 6745536 (Generate) 06484 0 tapic lineGenerateDigits(11935936,!) => 0 06895 0 tapie generate LINEGENERATETERM_DONE 07886 0 LsXferStart EV_TAPI_GENERATE 09088 0 LsXferPlayVts EV_HOOKFLASHFINISHED 09128 0 tapic lineGenerateDigits(11935936,6745536) => 0 10180 0 tapie generate LINEGENERATETERM_DONE 11141 0 LsXferPlayVts EV_TAPI_GENERATE 11141 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 11151 0 twcal PlaySayNumber C:\Program Files\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Program Files\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 11181 0 PlaySoundStartNumbers ok 18171 0 wb(1115101) 18221 0 Play End line[0] (id=11151) 18221 0 LsXferPlayAnn EV_PLAY_FINISHED 18231 0 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 18231 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 18241 0 twcal PlaySayNumber C:\Program Files\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Program Files\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 18271 0 PlaySoundStartNumbers ok 25271 0 wb(1824101) 25341 0 Play End line[0] (id=18241) 25351 0 LsXferPlayAnn EV_PLAY_FINISHED 25361 0 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 25371 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 25381 0 twcal PlaySayNumber C:\Program Files\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Program Files\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 25422 0 PlaySoundStartNumbers ok 32372 0 wb(2539101) 32442 0 Play End line[0] (id=25391) 32452 0 LsXferPlayAnn EV_PLAY_FINISHED 32462 0 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 32472 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 32482 0 twcal PlaySayNumber C:\Program Files\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Program Files\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 32522 0 PlaySoundStartNumbers ok 39482 0 wb(3249201) 39532 0 Play End line[0] (id=32492) 39532 0 LsXferPlayAnn EV_PLAY_FINISHED 39542 0 LsXferPlayAnn EV_PLAY_FINISHED 39562 0 tapic lineGenerateDigits(11935936,!) => 0 39952 0 tapie generate LINEGENERATETERM_DONE 40864 0 LsXferPlayAnn EV_TAPI_GENERATE 40864 0 PlayFinishCause=CallRejected 40864 0 Going down Fail path (iXferType=1) 40874 0 [Hook flash] Playing 40894 0 tapic lineGenerateDigits(11935936,!) => 0 40894 0 RunModule PLAY end 41284 0 tapie generate LINEGENERATETERM_DONE 42196 0 LsPlayMsg EV_TAPI_GENERATE 47203 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 47213 0 [Check Spc Agt] Evaluate [$RV[spc Agt]] 47223 0 RVreplace start: [$RV[spc Agt]] 47233 0 RVreplace end: [$RV[spc Agt]] 47243 0 .Eval($RV[spc Agt]) 47253 0 Error: 1032 47263 0 Eval Expr result:[$RV[spc Agt]] 47273 0 [is CH False] Evaluate [$RV[CH]] 47283 0 RVreplace start: [$RV[CH]] 47293 0 RVreplace end: [$RV[CH]] 47303 0 .Eval($RV[CH]) 47313 0 Error: 1032 47323 0 Eval Expr result:[$RV[CH]] 47333 0 [CH Counter] Evaluate [$RV[CH]+1] 47343 0 RVreplace start: [$RV[CH]+1] 47363 0 ERROR 4.9.0 RunModule:0:5:Invalid procedure call or argument:VgMulti 47373 0 HangupCall called from [Run module 3115] 47383 0 Hanging up call... 47393 0 PlaySoundStop ok 47403 0 fnHangupCall end 47443 0 tapie linedevstate 2048 0 0 47453 0 tapie callstate IDLE 11935936 0 0 47463 0 WorkingMode@Idle= 47483 0 After Hangup script:[C:\Program Files\VoiceGuide\Scripts\CleanUp.vgs] 47523 0 Loaded VbsAtHangup into:3 47533 0 ERROR 4.9.0 TW__LineEvCallState_Error:Subscript out of range 47543 0 tapi Reply 2 0 Share this post Link to post
SupportTeam Report post Posted 06/02/2003 06:37 AM VoiceGuide is showing "Error 1032" as it is trying to evaluate Result Variables which have not yet been defined. The script is trying to use: $RV[upAgent], $RV[spc Agt] and $RV[CH] - but none of them have been previously defined/set by the script... If you can post your script here I can have a look at it and offer better advice... Share this post Link to post