Charles Report post Posted 10/22/2003 03:36 PM There appears to be a little bug in the script processor. This only seems to happen occasionally, and I don't have any clue why. The pertinent lines from the log file appear below, and I think are pretty self-explanatory: 31877 0 [MailBox=1] Evaluate [1] . . . 44866 0 RVreplace start: [$RV[MailBox]] 44866 0 RVreplace end: [3] There are no statements in-between that alter the value of [Mailbox] (or even contain the string "Mailbox" for that matter!) The full log file (113k) is attached. VG version is 4.9.0 ivg_log.txt Share this post Link to post
SupportTeam Report post Posted 10/23/2003 01:56 AM Just looking the 3 lines quoted, the first line shows that module [MailBox=1] is ran.. to access the result of that module a Result Variable $RV[MailBox=1] should be used. I'd recommend assigning the result of module [MailBox=1] to a new distinct Result Variable - say VMBOX and then using $RV[VMBOX] in the rest of the script. Share this post Link to post
Charles Report post Posted 10/23/2003 02:31 AM The first line *is* the result of specifically setting the Mailbox variable. It is an expression module, where "expression" is the constant "1" and "Assign result to the follownig result variable" is "MailBox". This is the correct way to set "Mailbox" equal to 1, is it not? The value is then accessed at a later point by an expression module, where "expression" is "$RV[MailBox]". Am I missing something? It works correctly maybe 90-95% of the time. Here are the two modules, direct from the .vgs file: [MailBox=1] Type=Evaluate DispSize=69 Txt= Expression=1 ExprNewRV=MailBox ExprStoreRV=0 On {True} Goto [>= 5 rings?] Position=438,148 [Xfer to VM] Type=Evaluate DispSize=69 Txt=Xfer to proper voicemail box Expression=$RV[MailBox] ExprNewRV= ExprStoreRV=1 On {1} Goto [Voicemail Box 0001] Return [Thank You 2] On {2} Goto [Voicemail Box 0002] Return [Thank You 2] On {3} Goto [Voicemail Box 0003] Return [Thank You 2] On {4} Goto [Voicemail Box 0004] Return [Thank You 2] Position=572,703 Share this post Link to post
SupportTeam Report post Posted 10/23/2003 02:56 AM Could you please post/email the entire .VGS file and we'll try it out on our test systems over here to see what could be going wrong. Share this post Link to post
Charles Report post Posted 11/20/2003 04:06 PM Sorry for the delay. Attached is the .vgs file Main.vgs Share this post Link to post