VoiceGuide IVR Software Main Page
Jump to content

Music On Hold Durring Querying A Database

Recommended Posts

How to set music on hold durring querying database and make other tasks in background?

 

MoH should not be interrupted between declared start and stop elements include transfer module.

 

I need play MoH starting querying database and transfering call.

Share this post


Link to post

Sorry, but it doesn't work.

 

after start playing MOH in next step (next script element) stopping playing MOH

 

 

 

183837.845 6 2 1 FindNextVgmTitleInPathList: next module title is=[play MOH]

183837.845 6 2 1 t timer clear (force=False)

183837.845 6 2 1 RunModule start Run VB Script, [play MOH], iModuleIdx=533, previous: vgm=491, vgs=11:11

183837.845 6 2 1 state [play MOH] type: Script_VBScript, iRunWait=1

183837.845 6 2 1 rv replace start

------------------------------

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Start $RV_LINEID, "ring_multiple.wav"

set vg = Nothing

------------------------------

183837.845 6 2 1 rv replace end [set vg = CreateObject("vgServices.CommandLink")

vg.Play_Start 2, "C:\Program Files\VoiceGuide723\Scripts\manager\komunikaty\ring_multiple.wav"

set vg = Nothing]

183837.845 6 2 1 script will be ran from file: C:\Program Files\VoiceGuide723\temp\vbs_2_1.vbs

183837.845 6 2 1 delete existing: C:\Program Files\VoiceGuide723\temp\vbs_2_1.vbs

183837.845 6 2 1 current objVbsOrExeProcess=

183837.845 6 2 1 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide723\temp\vbs_2_1.vbs][] timeout=60 (vbsPath=C:\Program Files\VoiceGuide723\temp), start (new Process)

183837.845 6 2 1 objVbsOrExeProcess.Start call

183837.845 6 2 1 RunVBScriptFile just started. Handle=36012, Id=5756, StartTime=2011-12-13 18:38:37, HasExited=False

183837.845 6 2 1 VBScript started [vbs_2_1.vbs], ProcessHandle=[36012], VbsOrExeProcess.WorkingSet=[77824]

183837.845 6 2 1 RunModule_Script_AfterScriptStarted start

183837.845 6 2 1 waiting. iRunWait=1 (process:36012)

183837.845 6 2 1 t timer set 1 sec : EV_TIMEOUT_CHECKONSTATE

183837.845 13 2 1 db odbc query completed.

183838.017 10 rem vgRemotingCommandLink constructor start, parmameterless

183838.017 10 remoting link constructor activated: vgServices_CommandLink

183838.033 10 2 1 rem Play_Start ring_multiple.wav

183838.033 10 2 1 CallExistsOnLine TRUE crn=28003f9

183838.033 10 2 1 qScr add cmdPlayWavTts 0

183838.033 6 2 1 qScr run cmdPlayWavTts sCode=[] iActionID=0, crn=0[533|0|0|0|0][ring_multiple.wav|||||]

183838.033 6 2 1 PrepareAndPlayWavAndTts start iModuleIdx=533, iPlayFileIdx=0, bMakeTtsFile=True, sSoundFileIs=ring_multiple.wav

183838.033 6 2 1 PrepareAndPlayWavAndTTS sPlayFile=ring_multiple.wav

183838.033 6 2 1 state [play MOH] Playing wav (ring_multiple.wav)

183838.033 6 2 1 timer not cleared before play as we are in VBScript module.

183838.033 6 2 1 qTel add cmd_PlayStart [0,0,0,0,0][||||]

183838.033 7 2 1 qTel run cmd_PlayStart

183838.080 6 2 1 play start ok, playId=469453

183838.736 13 2 1 timer EV_TIMEOUT_CHECKONSTATE

183838.736 13 2 1 qScr add evScriptEvent 9007 EV_TIMEOUT_CHECKONSTATE

183838.736 6 2 1 qScr run evScriptEvent sCode=[EV_TIMEOUT_CHECKONSTATE] iActionID=0, crn=0[0|0|0|0|0][|||||]

183838.736 6 2 1 scriptevent EV_TIMEOUT_CHECKONSTATE 0|0|0 ||

183838.736 6 2 1 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE lCode2Str=EV_TIMEOUT_CHECKONSTATE

183838.736 6 2 1 Process.HasExited is true (System.Diagnostics.Process (wscript))

183838.736 6 2 1 task completed. vgm=533, iRunWait=1, iRunWait_ExeResult_NextVgm=0=[]

183838.736 6 2 1 ExeResult_NextVgm has not been set. check for Result file.

183838.736 6 2 1 no result file returned from program (VGRUNRESULT_2.TXT).

183838.736 6 2 1 FindNextVgmTitleInPathList: next module title is=[placowka]

183838.736 6 2 1 qTel add cmd_PlayStop [0,0,0,0,0][||||]

183838.736 6 2 1 play PlaySoundStop ok

183838.736 7 2 1 qTel run cmd_PlayStop

Share this post


Link to post

Please set the VBScript module to "Do not wait for VBScript to complete" - like it is set in the sample provided.

Right now in the script script that is ran on your system the modules wait option is set to "wait for VBScript to complete".

 

What does module [placowka] do?

 

Are you able to post the script that you are using?

Share this post


Link to post

VBScript: play begin

 

including:

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Start $RV_LINEID, "C:\Program Files\VoiceGuide\System\voice\VmSendMainMenu.wav"

set vg = Nothing

 

What should I to change?

 

placowka module is Database Query.

 

after finishing VBS MoH is stopping.

Share this post


Link to post

When you open a "Run VBScript" type module in the Script Designer you will see a properties window similar to this:

 

dbivbs_stetched_savecallinfodemo.gif

 

at the bottom of the window there is a drop down combo box.

 

Select the "Do not wait for VBScript to complete" option in that combo box.

 

Please post traces of the script execution once the script has been modified.

Share this post


Link to post

I solved This problem so:

 

before VBS module I set var DoNotStopMOH=1 in Evaluate Expression module

 

in VBS module I set MoH in Play

 

so it works now!

Share this post


Link to post

Have you set the "Do not wait for VBScript to complete" option in that combo box as well?

 

Otherwise you would see unnecessary delay in the VBScript module while the system waits for any delayed result responses from that module's script.

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
×