Guest victor Report post Posted 12/20/2005 09:31 PM I have put in the time switch module in our script but it simply does not work, i tried it set for 9am -5pm m-f to take one path and it will not take that path. I made sure pc date and time were correct and set to EST. version is VG for dialogic. Share this post Link to post
SupportTeam Report post Posted 12/20/2005 09:42 PM 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. When posting traces please .ZIP them up and post them as attachments. Share this post Link to post
Guest victor Report post Posted 12/21/2005 04:14 PM Thanks for your prompt response. Attached is the zipped log file. The OS is Windows Server 2003 Standard Edition. 1221vgm.rar Share this post Link to post
Guest victor Report post Posted 12/21/2005 08:30 PM Since the time switch was not working for me, I decided to use the good old method and this works for me for now. ($RV_DAY >= 1) and ($RV_DAY <= 5) and ( (($RV_HOUR >= 9) and ($RV_HOUR <= 17)) or (($RV_HOUR = 8) and ($RV_MINUTE >= 30)) or (($RV_HOUR = 17)) ) 8:30 to 5 pm weekdays = business hours. Share this post Link to post
SupportTeam Report post Posted 12/21/2005 08:51 PM Trace shows: 111041.56 6 state [Play 1] Playing 111041.56 6 state [Play 1] Playing (C:\Program Files\VoiceGuide\Scripts\Law\2000.wav) ... 111048.23 6 state Hanging up call... [No Paths leaving Play module [Play 1]] I think you should have a better look at your script - there seems to be no paths leaving the starting module [Play 1], that is why the script does not go any further. Share this post Link to post
Guest victor Report post Posted 12/21/2005 09:50 PM Thanks for the response. I tried playing around more with the Timer Switch, however gave up due to time constraints. For holidays, my idea is to maintain a Holidays.txt file with dates as 01/01/06 07/04/06 etc Am going to write a VBscript to get each line into a variable. Then compare it with a combination of $RV_DD, $RV_MM & $RV_YY with "/"'s in the middle, and if there is a match, then it is a holiday. Am I going in the right direction ? Share this post Link to post
SupportTeam Report post Posted 12/21/2005 10:25 PM Yes, the approach sounds fine. Share this post Link to post