SupportTeam Report post Posted 07/31/2003 12:17 AM Andy Haggard wrote: Here's what needs to happen: Script : Greeting - "enter 4 digit number" Get Numbers: Customer enters: 4567 System logs entered number of 4567 - all 4 digits. Customer is sent to VM box 456 I need 4567 - not 456 to show up in the call log Share this post Link to post
SupportTeam Report post Posted 07/31/2003 12:35 AM First module plays a prompt asking the caller to enter a code - then gets the first 3 digits only. Then has path: On {Success} Goto [Get1number] Second module does not play a sound file - just wait for a single keypress - whatever it is. then has these paths: On {1} Goto [LogEnteredCode] On {2} Goto [LogEnteredCode] On {3} Goto [LogEnteredCode] On {4} Goto [LogEnteredCode] On {5} Goto [LogEnteredCode] On {6} Goto [LogEnteredCode] On {7} Goto [LogEnteredCode] On {8} Goto [LogEnteredCode] On {9} Goto [LogEnteredCode] On {0} Goto [LogEnteredCode] On {#} Goto [LogEnteredCode] On {*} Goto [LogEnteredCode] Thr third module concatenate the 3 digits + 1 digit to make a 4 digit code and saves in in log. Evaluate espression is: "$RV[Get3numbers]$RV[Get1number]" then goes to voicemail box: On {True} Goto [Voicemail Box $RV[Get3numbers]] you need to use the 3rd module if the 4 digits need to be saved togeter, or if two separate log entries are OK then it is not needed... 3plus1.vgs Share this post Link to post
Guest Andy Haggard Report post Posted 07/31/2003 07:21 PM Thanks alot! ...this works nicely and gets me to the mailbox ok. However, I cannot get the greeting to answer - the default is used instead. I can play the correct mailbox greeting from the 777 mailbox screen, but it doesn't come up when going thru the script. Maybe the pointer in the vb script:[VmLmHangup.vgs] 142442.14 0 LoadedVgs_Find C:\Program Files\VoiceGuide\system\vm\VmLmHangup.vgs at idx=4 142442.14 6 tapi Reply 66255 0 142442.14 6 [VmLmHangup_ForwardLastMsg] Running VB Script... 142442.14 6 RVreplace start (strlen>100) 142442.16 6 VBScript Run continuing... 142442.16 6 Hanging up call... [Run module 2479] 142442.17 6 HangupCall_Common Mode=AfterHangupRun 142442.17 6 ReinitTelephony due to IDLE start 142442.17 6 tapic lineDeallocateCall(MainCall:66221) 0 142442.27 6 lineOpen(6) => 0 142442.27 6 Waiting for a call... 142442.27 6 lineOpen(6)LineHandle=66477 142442.28 6 cl Vm_ForwardMsg 6, 777, C:\Program Files\VoiceGuide\data\VmSave\777_0731142434_1_6__.wav 142536.08 0 Loading VMB data begin 142536.08 0 Loading VMB data - about to delete old entries 142536.08 0 Loading VMB data - sorting/ordering 142536.08 0 Loading VMB data end 142536.08 0 Loaded new voicemail configuration file (XML) Share this post Link to post
SupportTeam Report post Posted 08/01/2003 10:33 AM Please download and try again with v5.0 Beta12 - which is the current Beta as I write this. I'm not too sure which version of 5.0 you are using but I think it's an earlier one and some of these had bugs in message forwarding - it should all work in Beta12. Share this post Link to post