health4us Report post Posted 02/24/2004 04:25 PM This is a VBScript i have to add calls to the queue... Thing thats weird is its adding 2 identical calls. Can you tell me whats wronf and how to fix please. The VB script is set as "DONT WAIT FOR IT TO COMPLETE" set vg = CreateObject("VoiceGuide.CommandLink") vg.Dialer_OutDialQueAdd "$RV_CALLEDNUMBER", $RV[Year]$RV_MM$RV[Zero]$RV[DayToCall]0800, 0800, 2100, "$RV[DaysToCall]", "$RV[LineToCallOn]", "$RV[CallPriority]", "", "c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\$RV[HumanAnswersScript].vgs", "c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\$RV[AnswerMachineScript].vgs", "[JobId] {$RV[JobId]} [HumanAnswersScript] {$RV[HumanAnswersScript]}[AnswerMachineScript] {$RV[AnswerMachineScript]}[Voice] {$RV[Voice]} [DaysToCall] {$RV[DaysToCall]} [LineToCallOn] {$RV[LineTocallOn]} [CallPriority] {$RV[CallPriority]}", 45, 10, 30, " ", "" set vg = Nothing 161536.72 12 [Queue Call] Running VB Script... 161536.73 12 RVreplace start (strlen>500) 161536.80 12 VBScript Run continuing... 161536.81 12 Hanging up call... [Run module : no success path defined] 161536.82 12 HangupCall_Common Mode=AfterHangupRun 161536.83 12 ReinitTelephony due to IDLE 161536.86 12 tapic lineDeallocateCall(MainCall:65679) 0 161537.18 12 lineOpen(12) => 0 161537.19 12 Waiting for a call... 161537.20 12 LineHandle=66495 161537.34 0 cl Dialer_OutDialQueAdd 1410034952477963, 402280800, 800, 2100, MOTUWETHFR, dxxxB1C2,dxxxB1C3,dxxxB1C4, 3, , c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\Prospect Ring Me\Hangup.vgs, c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\Prospect Ring Me\Answer Machine.vgs, [JobId] {100015} [HumanAnswersScript] {Prospect Ring Me\Hangup}[AnswerMachineScript] {Prospect Ring Me\Answer Machine}[Voice] {Mike} [DaysToCall] {MOTUWETHFR} [LineToCallOn] {dxxxB1C2,dxxxB1C3,dxxxB1C4} [CallPriority] {3}, 45, 10, 30, , 161537.35 0 cl Dialer_QueCall 1410034952477963, 402280800, 800, 2100, MOTUWETHFR, dxxxB1C2,dxxxB1C3,dxxxB1C4, 3, , c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\Prospect Ring Me\Hangup.vgs, c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\Prospect Ring Me\Answer Machine.vgs, [JobId] {100015} [HumanAnswersScript] {Prospect Ring Me\Hangup}[AnswerMachineScript] {Prospect Ring Me\Answer Machine}[Voice] {Mike} [DaysToCall] {MOTUWETHFR} [LineToCallOn] {dxxxB1C2,dxxxB1C3,dxxxB1C4} [CallPriority] {3}, 45, 10, 30, , 161537.36 0 DialListDB_AddCall '1410034952477963', 402280800, 800, 2100, MOTUWETHFR, dxxxB1C2,dxxxB1C3,dxxxB1C4, 3, , c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\Prospect Ring Me\Hangup.vgs, c:\program files\voiceguide\scripts\distributors\Call-Admin\Send Calls\Prospect Ring Me\Answer Machine.vgs, [JobId] {100015} [HumanAnswersScript] {Prospect Ring Me\Hangup}[AnswerMachineScript] {Prospect Ring Me\Answer Machine}[Voice] {Mike} [DaysToCall] {MOTUWETHFR} [LineToCallOn] {dxxxB1C2,dxxxB1C3,dxxxB1C4} [CallPriority] {3}, 45, 10, 30, ESCALATION: Share this post Link to post
SupportTeam Report post Posted 02/24/2004 09:53 PM Trace looks fine and it shows adding only one call (as was intended). Why do you say it's adding two calls? You can easily confirm only one call is added by opening the OutDialQue.mdb database and seeing what was inserted... Have you now stopped getting the problems that you have mentioned before in: http://voiceguide.com/forums/index.php?showtopic=1181 ? Share this post Link to post
health4us Report post Posted 02/25/2004 07:54 AM 1 - The reason i know there was 2 calls inserted is because i checked in the database outdial 2 - Not had the other problem again yet but will keep you posted. Share this post Link to post
SupportTeam Report post Posted 02/25/2004 08:41 AM the trace shows only one call being added - could the other call have been from a previous running of the script? Running vg.Dialer_OutDialQueAdd on our test box running v5.1.8 also results in a single call being inserted (as intended). Have you tested the vg.Dialer_OutDialQueAdd function a number of times on your machine to confirm that vg.Dialer_OutDialQueAdd was actually responsible for creating both entries? or have you just happened to look at the database and found another call that you did not expect there? If you find any such unexpected situations in the future I'd probably recommend trying to repeat the problem a number of times and then post here a script which demonstrates the problem and instructions on how the problem is reproducible. If you can reproduce this problem please advise us how to reproduce it. At this stage I'd be inclined to take a view that no problem exists with vg.Dialer_OutDialQueAdd. The problems that you reported in http://voiceguide.com/forums/index.php?showtopic=1181 seemed to be occurring regularly - do you know what has changed on the system/script to make these problems go away? Share this post Link to post