VoiceGuide IVR Software Main Page
Jump to content

Problem With Calling Result Variable In Outdialing

Recommended Posts

Hi. I have the script answer a call then the user presses 1 to leave a message. The script then runs an afterhangup scrip to get the numbers to forward the message. The problem is that I added a result variable [Module]{Get Pin} to the dialing list. When the system made the outgoing call, it ran the script but did not plug in the RV. But afterwards, everytime I called the system, it would get the RV out of nowhere, without the afterhangup script even running...

 

Below is a trace:

 

160939.39 0 ring 1

160939.39 0 Answer the call at 9/5/2003 4:09:39 PM

160939.39 0 lineAnswer(65563) => 65632

160939.39 0 callstate ACCEPTED 65563 0 0

160944.72 0 tapi Reply 65632 0

160944.73 0 callstate CONNECTED 65563,0,0

160944.73 0 WorkingModeTAPI=

160944.73 0 WorkingModeScript=

160944.73 0 Inband detection not enabled

160944.73 0 StartLoadedVgs at 9/5/2003 4:09:44 PM

160944.74 0 [Evaluate Module] Evaluate ["$RV[Module]"]

160944.74 0 RVreplace start: ["$RV[Module]"]

160944.74 0 RVreplace end: [""]

160944.74 0 .Eval(Cstr(""))

160944.74 0 Eval Expr result:[""]

160944.74 0 path {""} not found

160944.74 0 [start] Playing

160944.75 0 [start] Playing (C:\Program Files\ivg\Scripts\Prompts\notify.wav)

160944.81 0 PlaySoundStart ok [C:\Program Files\ivg\Scripts\Prompts\notify.wav]

160944.81 0 RunModule PLAY end

160947.18 0 Play End line[0] (id=766748)

160947.18 0 LsPlayMsg EV_PLAY_FINISHED

160949.08 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE

160949.08 0 [Welcome] Playing

160949.08 0 [Welcome] Playing (C:\Program Files\ivg\Scripts\Prompts\Welcome.wav)

160949.16 0 PlaySoundStart ok [C:\Program Files\ivg\Scripts\Prompts\Welcome.wav]

160949.16 0 RunModule PLAY end

160953.82 0 dtmf 1 (49,2)

160953.82 0 LsPlayMsg 1

160955.76 0 PlaySoundStop ok

160955.77 0 [QueryCheckHrs] DB Query

160955.78 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

160955.82 0 About to execute Retrieve Operation [sELECT StartHours, EndHours FROM ServiceHours ORDER BY ID ASC]

160955.84 0 [QueryCheckHrs] row count=1

160955.87 0 [Run vb script:[C:\Program Files\ivg\Scripts\Support2\aftercall.vgs]

161013.84 0 LoadedVgs_Find C:\Program Files\ivg\Scripts\Support2\aftercall.vgs at idx=2

161013.84 0 [Run VB Script 1] Running VB Script...

161013.84 0 RVreplace start (strlen>100)

161013.90 0 Run Script waiting... (shellid=652, process=1048)

161013.90 0 tapi Reply 65614 0

161014.82 0 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE

161014.82 0 task completed (shellid=652, process=1048)

161014.82 0 Found result file: VGRUNRESULT_0.TXT

161014.82 0 Run Results >>>[CallDateTime]{9/5/2003 4:10:13 PM}[CallDay]{Fri}<<<

161014.82 0 [QueryDialer] DB Query

161014.82 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

161014.84 0 About to execute Retrieve Operation [select * FROM CallQue]

161014.84 0 [QueryDialer] movelast err : No current record.

161014.84 0 [QueryTech] DB Query

161014.84 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

161014.93 0 RVreplace start (strlen>100)

161014.94 0 About to execute Retrieve Operation [select PrimaryID, SecondaryID From qrySchedule where StartCalling <= #9/5/2003 4:10:13 PM# And EndCalling >= #9/5/2003 4:10:13 PM# And Days Like '*Fri*' ORDER BY Priority DESC]

161014.96 0 [QueryTech] row count=1

161014.98 0 [QueryPPhone] DB Query

161014.98 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

161015.04 0 RVreplace start: [sELECT Phone1, Phone2, Phone3 , Phone4 FROM Phones WHERE Name='$RV[QueryTech_1_1]' ORDER BY ID ASC]

161015.05 0 RVreplace end: [sELECT Phone1, Phone2, Phone3 , Phone4 FROM Phones WHERE Name='106 - Yoram B.' ORDER BY ID ASC]

161015.05 0 About to execute Retrieve Operation [sELECT Phone1, Phone2, Phone3 , Phone4 FROM Phones WHERE Name='106 - Yoram B.' ORDER BY ID ASC]

161015.05 0 [QueryPPhone] row count=1

161015.09 0 [QuerySPhone] DB Query

161015.09 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

161015.14 0 RVreplace start: [sELECT Phone1, Phone2, Phone3, Phone4 FROM Phones WHERE Name='$RV[QueryTech_2_1]' ORDER BY ID ASC]

161015.14 0 RVreplace end: [sELECT Phone1, Phone2, Phone3, Phone4 FROM Phones WHERE Name='108 - Bill K.' ORDER BY ID ASC]

161015.14 0 About to execute Retrieve Operation [sELECT Phone1, Phone2, Phone3, Phone4 FROM Phones WHERE Name='108 - Bill K.' ORDER BY ID ASC]

161015.16 0 [QuerySPhone] row count=1

161015.19 0 [QueryKevinPhone] DB Query

161015.19 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

161015.23 0 About to execute Retrieve Operation [sELECT Phone1, Phone2, Phone3, Phone4 FROM Phones WHERE Name='113 - Kevin B.' ORDER BY ID ASC]

161015.25 0 [QueryKevinPhone] row count=1

161015.28 0 [VB Dial] Running VB Script...

161015.28 0 RVreplace start (strlen>100)

161015.39 0 VBScript Run continuing...

161015.39 0 Hanging up call... [Run module : no success path defined]

161015.39 0 HangupCall_Common Mode=AfterHangupRun

161015.39 0 ReinitTelephony due to IDLE start

161015.48 0 tapic lineDeallocateCall(MainCall:65563) 0

161016.43 0 lineOpen(0) => 0

161016.43 0 Waiting for a call...

161016.43 0 lineOpen(0)LineHandle=66295

161017.48 0 Loading from C:\Program Files\ivg\data\OutDial_New.txt

161017.50 0 dial callque insert tel:"122" scr:C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs time:309051610 esc:"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-8609P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-9673P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"215", 1, 10, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-8609P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-9673P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"215", 1, 10, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-8609P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-9673P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"215", 1, 10, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-8609P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-9673P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"215", 1, 10, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-8609P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-9673P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"215", 1, 10, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"122", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-8609P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"9P1215-663-9673P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , [Module]{Get Pin},"215", 1, 10, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"108", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"9P1215-641-9111P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"9P1215-919-5357P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"215", 1, 5, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"108", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"9P1215-641-9111P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"9P1215-919-5357P01", 0, 0, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"215", 1, 5, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"215", 1, 5, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,"215", 1, 5, C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav, C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs, , ,

161017.51 0 Loaded 1 entries.

161019.58 0 dial callque update id=99 next call time 0309051612

161019.59 0 dial found entry: tel["122"] ann[C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav] vgs[C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs] am[C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs]

 

 

161019.59 0 Dialing: 122

161019.59 0 MakeCall => 66383

161019.59 0 TapiCbTrigSet 66383 7002

161019.60 0 tapi Reply 66383 0

161019.60 0 TapiCbTrigClear

161019.60 0 callstate DIALING 66554 0 0

161019.60 0 callstate PROCEEDING 66554 0 0

161023.50 0 callstate CONNECTED 66554,0,0

161023.50 0 WorkingModeTAPI=

161023.50 0 WorkingModeScript=

161023.50 0 Dialing: Playing introduction message

161023.57 0 PlaySoundStart ok [C:\Program Files\ivg\Scripts\Prompts\AcceptAutoCall.wav]

161030.24 0 dtmf 6 (54,2)

161030.24 0 LsDialoutPlayAcceptAuto 6

161030.48 0 PlaySoundStop ok

161030.48 2 tr NewVgsVgm_Goto C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs,,,,,0

161030.49 0 LoadedVgs_Find C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs at idx=1

161030.49 0 cl NewVgsVgm_RunModule module not found:

161030.49 2 tr NewVgsVgm_Goto 1

161030.49 2 tr NewVgsVgm_Goto 2

161030.49 0 [Evaluate Module] Evaluate ["$RV[Module]"]

161030.49 0 RVreplace start: ["$RV[Module]"]

161030.49 0 RVreplace end: [""]

161030.49 0 .Eval(Cstr(""))

161030.49 0 Eval Expr result:[""]

161030.50 0 path {""} not found

161030.50 0 [start] Playing

161030.50 0 [start] Playing (C:\Program Files\ivg\Scripts\Prompts\notify.wav)

161030.56 0 PlaySoundStart ok [C:\Program Files\ivg\Scripts\Prompts\notify.wav]

161030.56 0 RunModule PLAY end

161030.56 2 tr NewVgsVgm_Goto end

161030.56 0 dial callque delete id=99

161032.92 0 wb(81249400)

161032.93 0 Play End line[0] (id=812494)

161032.93 0 LsPlayMsg EV_PLAY_FINISHED

161034.84 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE

161034.84 0 [Welcome] Playing

161034.84 0 [Welcome] Playing (C:\Program Files\ivg\Scripts\Prompts\Welcome.wav)

161034.90 0 PlaySoundStart ok [C:\Program Files\ivg\Scripts\Prompts\Welcome.wav]

161034.90 0 RunModule PLAY end

161045.04 0 Play End line[0] (id=816830)

161045.05 0 LsPlayMsg EV_PLAY_FINISHED

161049.54 0 callstate DISCONNECTED 66554,32,0

161049.54 0 LsPlayMsgFinished EV_REMOTEPARTY_DISCONNECT

161049.54 0 Hanging up call...

 

161049.55 0 RecSoundStop ok

161049.55 0 PlaySoundStop ok

161049.55 0 fnHangupCall end

161049.76 0 callstate IDLE 66554 0 0

161049.77 0 WorkingMode@Idle=

161049.77 0 tapi Reply 66213 0

161050.70 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

161050.70 0 ReinitTelephony due to IDLE start

161050.70 0 tapic lineDeallocateCall(MainCall:66554) 0

161051.62 0 lineOpen(0) => 0

161051.62 0 Waiting for a call...

161051.62 0 lineOpen(0)LineHandle=66384

161735.07 0 Script Load C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs

161737.23 0 Loaded Script Id 3: C:\Program Files\ivg\Scripts\Support2\Voicemail Server.vgs

161746.13 0 callstate OFFERING 66435 0 4

161746.13 0 ring 1

161746.13 0 Answer the call at 9/5/2003 4:17:46 PM

161746.13 0 lineAnswer(66435) => 65546

161746.14 0 callstate ACCEPTED 66435 0 0

161751.49 0 tapi Reply 65546 0

161751.49 0 callstate CONNECTED 66435,0,0

161751.50 0 WorkingModeTAPI=

161751.50 0 WorkingModeScript=

161751.50 0 Inband detection not enabled

161751.50 0 StartLoadedVgs at 9/5/2003 4:17:51 PM

161751.50 0 [Evaluate Module] Evaluate [$RV[Module]]

161751.50 0 RVreplace start: [$RV[Module]]

161751.50 0 RVreplace end: [Get Pin]

161751.50 0 .Eval(Get Pin)

161751.55 0 Error: 1002

161751.56 0 Eval Expr result:[Get Pin]

161751.56 0 [Get Pin] Number Input

161751.56 0 [Get Pin] Playing (C:\Program Files\ivg\Scripts\Prompts\pin.wav)

Share this post


Link to post

We confirmed the bug existed and am told the attached vgmulti.exe fixes it.

 

The attached vgmulti.exe may be used to update a v5.1 Beta2 installation.

 

v5.1 Beta3 onwards will have this bug fix included.

 

Just looking at the 'escalation' list of the dial entry - is there a reason why the same entry is essentially repeated a number of times? Is this just for testing or you could not achieve a desired result using the "iDialRetries" field ?

 

Another way to load the numbers to dial would be to use the Dialer_OutDialQueAdd

COM interface command - it is the preferred way to load the numbers (after the "Make Call" module) rather then having to use the OutDial_New.txt file method.

VgMulti_5.1.2061.zip

Share this post


Link to post

I installed beta2 and the fix. I haven't tried to test the problem yet, however I found another problem where I get an error message when I open, then exit the Voicemail Manager...

 

Run-time error "9"

Subscript out of range

Share this post


Link to post

This happens after just opening and then immediately closing the Voicemail Manager?

 

Could you please post here the VmBoxList.xml file from VoiceGuide's \data\ subdirectory.

Share this post


Link to post

It gives the error anytime I exit the Voicemail Manager

 

<?xml version="1.0"?>

<VmSystem>

<VoicemailBoxes>

<VoicemailBox Id="911"><Pin>5555</Pin><Name>Support</Name><Description>Support</Description><PhoneForward></PhoneForward> <PagerNumber></PagerNumber><PagerMessage></PagerMessage><EmailForward></EmailForward><OnReceive></OnReceive> <Groups></Groups><CopyTo></CopyTo><FtpUpload>0</FtpUpload><DeleteAfterForward>0</DeleteAfterForward></VoicemailBox>

</VoicemailBoxes>

<DistributionLists>

</DistributionLists>

</VmSystem>

 

Oh I have the dialing list repeated like that because there is no other way, as far as I know, to go through 3 phone numbers and then repeat the 3 numbers again after a length of time. In your program, we are limited to redial the current number a set of times then continue on the list.

Share this post


Link to post

OK, this bug is now fixed - please see new attached VgVmMgr.exe

 

The bug occurred whenever all Distribution Lists were deleted. Bug was present in v5.0 as well.

 

v5.1 Beta3 onwards will not have this bug anymore.

VgVmMgr_5.1.2054.zip

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×