VoiceGuide IVR Software Main Page
Jump to content

VBScript not running PlayStop API call

Recommended Posts

I have problem with playing module when

 

I try to connect with first available target.

problem is that not working VG module:

 

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Stop $RV_LINEID

set vg = Nothing

 

 

VG not playing:

093840.740 27 23 8 rv replace end [manager4\60556.wav]

 

but still:

093836.147 6 23 8 FindSoundFile start [C:\Program Files\VoiceGuide\Scripts\manager\komunikaty\ring_multiple.wav]

 

 

 

I attached example of script.

How to set up loop with:

1. not stopping Transfer MoH when no available prompt about target

2. stopping MoH and playing prompt about target when it's available (declared)?

20120913 PLAY module.zip

connecting loop.zip

Share this post


Link to post

Traces show that the VBS script did not run.

 

Have you tried running the .vbs file that was created in the VoiceGuide's \temp\ subdirectory to see if script runs when the actual .VBS file is ran?

 

Could be a typo in the VB script itself, or permission settings are not allowing script to run, or not allowing vgServices.CommandLink objects to be created.

This can be caused by anti-virus apps etc.

 

Also, it looks like the VoiceGuide script is set to continue after the VBScript is queued to be started.

 

If VoiceGuide script is set to start any VBScripts that call VoiceGuide APIs, the VoiceGuide script should wait for VBS to complete before proceeding.

Share this post


Link to post

I had problems when before Play.Stop command wasn't Play module.

 

In my scripts some modules before transfer script has no MoH and then I had problems with next play modules.

 

I diversed trace when modules using MoH or not. In first case I addressed trace to PLAY.Stop VBS module, in second to next one.

 

Can Play.Stop module working only when before was Play module or MoH? Otherwise ignoring function.

Share this post


Link to post
Can Play.Stop module working only when before was Play module or MoH?

It doe snot matter what module follows - but you should make sure that if VoiceGuide script is set to start any VBScripts that call VoiceGuide APIs, the VoiceGuide script should wait for VBS to complete before proceeding.

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
×