VoiceGuide IVR Software Main Page
Jump to content

Queue Calls

Recommended Posts

I want to be able to have a VBS in voiceguide that sets the next call for say a couple of days time..

 

I see your example and wanted to use the results variables from voiceguide to generate the date of the next call.... i have tried to use in 2 ways as a trial but neither way works...

 

first way i tried was simply getting an varialbe from my database called 'NextCall' but this gave me an error....

 

set vg = CreateObject("VoiceGuide.CommandLink")
vg.Dialer_OutDialQueAdd "661180060", "$RV[NextCall_1_1]" , 930, 2030, "MOTUWETHFR", " ", 

"c:\sendinfo\InfoMenu.vgs", "c:\sendinfo\CallBackDetails.wav", " ","60", 10, 60
set vg = Nothing

 

I also tried to set the date using the following but this does not work either.

 

3

$RV_MM

$RV_DD

0930

 

Please can you let me know how i can add multiple or just one results variables to this VB script please.

 

Thanks

Matt

Share this post


Link to post

The "$RV[NextCall_1_1]" approach looks fine, but why is there an empty line in the middle of the Dialer_OutDialQueAdd function call? Maybe that's the cause of the error...

Share this post


Link to post

Also in v5.1 another parameter (sOnNotConnected) was added - so the function call should look like this:

 

vg.Dialer_OutDialQueAdd "661180060", "$RV[NextCall_1_1]" , 930, 2030, "MOTUWETHFR", " ", "c:\sendinfo\InfoMenu.vgs", "c:\sendinfo\CallBackDetails.wav", " ","60", 10, 60, ""

Share this post


Link to post

I tried your method and got the same error message please help

..

Line 2 Char 1

Type mismatch 'vg.Dialer_OutDialQueAdd'

Code 800AOOOD

Source: Microsoft VBScript Runtime error.

 

set vg = CreateObject("VoiceGuide.CommandLink")

vg.Dialer_OutDialQueAdd "661180060", "$RV[NextCall_1_1]" , 930, 2030, "MOTUWETHFR", " ", "c:\sendinfo\InfoMenu.vgs", "c:\sendinfo\CallBackDetails.wav", " ","60", 10, 60, ""

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
×