invoso.com Report post Posted 11/21/2012 07:14 PM How to combine in one module: - setting the $RV[DoNotStopMOH] to 0 - stop the Play moh - start play prompt BTW. Is possible to back previous available functionality that stop MoH when module include other playable prompts? Share this post Link to post
SupportTeam Report post Posted 11/23/2012 08:40 AM You can try the below. You need to have the module from which you issue this combination of API calls wait until the script completes. et vg = CreateObject("vgServices.CommandLink") vg.RvSet $RV_LINEID, "DoNotStopMOH", "0" vg.Play_Stop $RV_LINEID vg.Play_Start $RV_LINEID, "c:\mypath\prompt.wav" vg.Run_ResultReturn $RV_LINEID, "success" set vg = Nothing Share this post Link to post
invoso.com Report post Posted 11/23/2012 10:27 AM How to integrate Clear the $RV[DoNotStopMOH] flag (set the $RV[DoNotStopMOH] to 0) Then stop the Play in one VBS module? in previous versions of VG it wan unnecessary to set DoNotStopMOH to 0 value before "vg.Play_Stop $RV_LINEID" Share this post Link to post
SupportTeam Report post Posted 11/23/2012 10:35 AM You need to have the module from which you issue this combination of API calls wait until the script completes. set vg = CreateObject("vgServices.CommandLink") vg.RvSet $RV_LINEID, "DoNotStopMOH", "0" vg.Play_Stop $RV_LINEID vg.Run_ResultReturn $RV_LINEID, "success" set vg = Nothing in previous versions of VG it wan unnecessary to set DoNotStopMOH to 0 value before "vg.Play_Stop $RV_LINEID" You should be able to still issue Play_Stop API call regardless of what value the $RV[DoNotStopMOH] is set to. Share this post Link to post