VoiceGuide IVR Software Main Page
Jump to content

Playing message on hold while new modules are ran

Recommended Posts

One more case.

 

I set

 

VBS module:

 

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Start $RV_LINEID, "IpOnHold_Long.wav"

set vg = Nothing

 

and next is another VBS module.

 

VG starting play MoH declared in first module in next VGS module playing MoH declared in second module.

After deleting MoH in second module on hold is silence.

 

I want to play MoH during all elements I use until I declare stop MoH or next module have own MoH or module play own prompt (like PLAY, GET NUMBERS, SAY NUMBERS)

 

If is not declared other prompt to play MoH should be played continuously.

 

 

 

And one more functionality: we need loop or multifile option for MoH.

Can we declare few prompt files in chain in MoH form or VBS like: vg.Play_Start $RV_LINEID, "IpOnHold_Long.wav, IpOnHold_Long.wav, IpOnHold_Long.wav" ?

Share this post


Link to post

I found that MoH used in VBS

 

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Start $RV_LINEID, "moh.wav"

set vg = Nothing

 

blocking voice prompt in GET NUMBERS MODULE.

Share this post


Link to post
VG starting play MoH declared in first module in next VGS module playing MoH declared in second module.

Please post the script (or excerpt of) demonstrating the problem and the vgEngine and ktTel traces which capture the system executing the script (or excerpt of).

 

Can we declare few prompt files in chain in MoH form or VBS like: vg.Play_Start $RV_LINEID, "IpOnHold_Long.wav, IpOnHold_Long.wav, IpOnHold_Long.wav" ?

Yes. That multiple sound files can be specified.

Share this post


Link to post

Are you setting Result variable DoNotStopMOH (ie: $RV[DoNotStopMOH] ) to 1 before starting the VBScript module?

 

Are you setting it back to 0 after last module through which you want the Message On Hold (MoH) to play?

 

To stop playing you can also issue the Play_Stop API command. This will stop the playing even when $RV[DoNotStopMOH] is set to 1.

Share this post


Link to post

I solved problem adding VBS module included

 

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Stop $RV_LINEID

set vg = Nothing

 

but it isn't satisfied solution.

 

I think that any module with own prompt should include "vg.Play_Stop"

 

 

I attached example of script.

MOH case.vgs

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
×