VoiceGuide IVR Software Main Page
Jump to content

Dialqueadd Takes The "fail" Path But It Works

Recommended Posts

Hi,

 

I have tried to use your script on the webpage to place new calls in the outdialque.mdb.

It seems to work as the data ends up in the correct way in the outdialque.mdb. Unfortunately the script always takes the path "fail" after completing the VBscript.

 

the VBscript used is:

 

set vg = CreateObject("VoiceGuide.CommandLink")

vg.Dialer_OutDialQueAdd "5551234", 704230324, 0700, 0800, "", "", 1, "none", "d:\basis\basis_0.3.vgs", "none", "", 0, 2, 5, "", ""

set vg = Nothing

 

I tried the trick with erasing the outdialque and let voiceguide create a new one, but it kept using the "fail" path.

 

I've attached the logfile, which I unfortunately don't get much out of. :)

 

Do you see the problem?

I thank you in advance.

 

Henrik

log.zip

Share this post


Link to post

Sorry, will just add my specs:

 

- windows XP

- Voiceguide for Dialogic, 6.0.3243Enterprise, 4 line version

- Dialogic cards D/41JCT-LS-eu

 

BR

Henrik

Share this post


Link to post

The reason why the fail path is taken is because the explicit "Success" result was not set or returned by the script.

 

The VBScript needs to call Run_ResultReturn() COM function or create a Result File.

 

You can also select the next module to run by using the COM functions Script_Gosub(), Script_Goto() or Script_Return().

 

You also need to have the Dialer add-on enabled in order for the outgoing call to be made.

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
×