VoiceGuide IVR Software Main Page
Jump to content

Playing Sound From Vbscript

Recommended Posts

If I build a Run VBScript with the following it works great:

 

set vg = CreateObject("VoiceGuide.CommandLink")

 

vg.Play_Start $RV_LINEID, "Sound Files\Too Many Tries.wav"

 

Set vg = Nothing

 

 

But if I build the following, the sound file does not play:

 

set vg = CreateObject("VoiceGuide.CommandLink")

 

vg.Play_Start $RV_LINEID, "Sound Files\Too Many Tries.wav"

 

vg.Run_ResultReturn $RV_LINEID, "[iD Count] {1}"

 

Set vg = Nothing

 

Why?

Share this post


Link to post

Which version of VoiceGuide are you using?

 

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/scripts please .ZIP them up and post them as attachments.

Share this post


Link to post

The VBScript module is set to "Wait till VBScript completes".

 

It should be set to "Wait till VBScript and sound file completes".

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
×