invoso.com Report post Posted 02/24/2014 12:51 PM VG not stoping MusicOnHold we use MoH in transfer call module and with loop we try to connect with first available Agent. To test see connection with session id: ID20140224131809164 on 4th channel After try to connect we need to go to "medivet komunikat" module to play prompt, but VG still playing MoH. We try to add DoNotStopMOH=0 and VBS: "set vg = CreateObject("vgServices.CommandLink")vg.Play_Stop $RV_LINEIDvg.Run_ResultReturn $RV_LINEID, "success"set vg = Nothing" but without success. On VG monitor we see "medivet komunikat" module with task play prompt but caller still hear transfer calll module MoH Still coming back needed functionality witch terminating prompt when starting module including prompt. Maybe solution is to add option (terminate any prompt) in modules included prompt option ? vgEngine_2014_02_24.zip Share this post Link to post
SupportTeam Report post Posted 02/25/2014 12:36 AM It looks like the VBScript module has a problem running. This system is using an external script interpreter to run the VBScript modules. If this system is running latest VoiceGuide version then did you change the VG.INI [moduleRunScript] Engine entry to us an external engine instead of the default internal engine? VBScripts ran using external engine can be affected by anti-virus programs or similar. We recommend using the default internal engine to execute VBScripts. 131813.866 6 10 4 state [Transfer Call fa with CALLER ID] Monitored Dial and Connect to 48616225502 131813.866 6 10 4 dial IvrDevState strCID=[], strDialoutOptions=[<CallerId>$RV_CIDNUMBER</CallerId><RV>[CDR_user]{$RV[session_id]}</RV>] 131813.867 6 10 4 dial sCidSentThisCall=$RV_CIDNUMBER (extracted from strDialoutOptions) 131813.867 6 10 4 rv replace start [$RV_CIDNUMBER] 131813.867 6 10 4 rv replace end [224896039] 131813.867 6 10 4 dial sCidSentThisCall=[224896039] (post RV replace) 131813.867 6 10 4 rv replace start [<CallerId>$RV_CIDNUMBER</CallerId><RV>[CDR_user]{$RV[session_id]}</RV>] 131813.867 6 10 4 rv replace end [<CallerId>224896039</CallerId><RV>[CDR_user]{ID20140224131809164}</RV>] 131813.867 6 10 4 dial strDialoutOptions=[<CallerId>224896039</CallerId><RV>[CDR_user]{ID20140224131809164}</RV>] (post RV replace) 131813.867 6 10 4 outbound call announce message not defined. vgm=299 [Transfer Call fa with CALLER ID] 131813.867 6 10 4 calling FindFreeLine 131813.867 6 10 4 dial found free dev=59 (iLid_OutboundLeg=172, iLid=10) 131813.867 6 10 4 dial str2LineRecordToThisFile=[] 131813.868 6 10 4 moh file [$RV[Sound_on_Call]] 131813.868 6 10 4 FindSoundFile start [$RV[Sound_on_Call]] 131813.868 6 10 4 rv replace start [$RV[Sound_on_Call]] 131813.868 6 10 4 rv replace end [komunikaty\ring_multiple_medivet_long.wav] 131813.868 6 10 4 moh play start [5] : $RV[Sound_on_Call] 131813.868 6 10 4 FindSoundFile start [C:\Program Files (x86)\VoiceGuide\Scripts\manager\komunikaty\ring_multiple_medivet_long.wav] 131813.868 6 10 4 t timer clear (force=False) 131813.868 6 10 4 q_tel + cmd_PlayStart -450229 ,C:\Program Files (x86)\VoiceGuide\Scripts\manager\komunikaty\ring_multiple_medivet_long.wav [] 131813.868 6 10 4 play start ok, playId=-450229 131813.868 6 10 4 rv replace start [ $RV[insert_call_order_timeout_$RV[kolejnosc]]] 131813.868 6 10 4 rv replace end [ 30] 131813.868 6 10 4 t timer set 30 sec : EV_TIMEOUT_GOTOMODULE 131813.868 6 10 4 sRvOutboundLeg=[CDR_user]{ID20140224131809164}, strDialoutOptions=<CallerId>224896039</CallerId><RV>[CDR_user]{ID20140224131809164}</RV> 131813.875 7 10 4 q_tel run cmd_PlayStart 0 00:00:00.0070004 max:4|00:00:00.3200183 131910.216 6 10 4 state [Do Not Stop MOH_podaj numer_108] Evaluate [0] 131910.216 6 10 4 eval [0] 131910.216 6 10 4 eval InvokeMember Eval returned 131910.216 6 10 4 rvns add Do Not Stop MOH_podaj numer_108_Input|0 131910.216 6 10 4 rvns add Do Not Stop MOH_podaj numer_108|0 131910.216 6 10 4 creating new (non-global) rv : DoNotStopMOH 131910.216 6 10 4 rvns add DoNotStopMOH|0 131910.216 6 10 4 Eval Expr result:[0] stored in RV[DoNotStopMOH] 131910.216 6 10 4 bDoNotStopMoh = false 131910.216 6 10 4 path {0} not found 131910.216 6 10 4 matching path not found [0], try boolean paths. 131910.216 6 10 4 FindNextVgmTitleInPathList: next module title is=[STOP ring not reachable targets_109] 131910.216 6 10 4 matching path found (Boolean False) 131910.216 6 10 4 t timer clear (force=False) 131910.216 6 10 4 RunModule start Run VB Script, [STOP ring not reachable targets_109], iModuleIdx=1099, previous: vgm=1100, vgs=19:19 131910.216 6 10 4 t timer set 30 sec : EV_TIMEOUT_HANGUP 131910.216 6 10 4 QueueUserWorkItem scrmod_RunVbs.RunModule call 131910.216 23 10 4 state [STOP ring not reachable targets_109] type: Script_VBScript, iRunWait=1 131910.216 23 10 4 rv replace start ------------------------------ set vg = CreateObject("vgServices.CommandLink") vg.Play_Stop $RV_LINEID vg.Run_ResultReturn $RV_LINEID, "success" set vg = Nothing ------------------------------ 131910.217 23 10 4 rv replace end [set vg = CreateObject("vgServices.CommandLink") vg.Play_Stop 10 vg.Run_ResultReturn 10, "success" set vg = Nothing] 131910.217 23 10 4 script will be ran from file: C:\Program Files (x86)\VoiceGuide\temp\vbs_10_1.vbs 131910.217 23 10 4 on_hold_file=, iModuleIdx=1099 131910.217 23 10 4 delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_10_1.vbs 131910.217 23 10 4 current objVbsOrExeProcess (vbsrun) : id=8640, handle=20844, hash=45122392, hasExited=True, startTime=2014-02-24 13:16:36, exitTime=2014-02-24 13:16:36 131910.217 23 10 4 RunVBScriptFile [cscript][C:\Program Files (x86)\VoiceGuide\temp\vbs_10_1.vbs][] timeout=60 (vbsPath=C:\Program Files (x86)\VoiceGuide\temp), start (new Process) 131910.217 23 10 4 objProcess.Start call 131910.226 23 10 4 objProcess.Start returned. handle=20952, id=11044, hash=14795945, starttime=2014-02-24 13:19:10, HasExited=False 131910.229 23 10 4 VBScript started [C:\Program Files (x86)\VoiceGuide\temp\vbs_10_1.vbs], handle=20952, VbsOrExeProcess.WorkingSet=[2269184] 131910.229 23 10 4 RunModule_Script_AfterScriptStarted start 131910.229 23 10 4 Run Script waiting. iRunWait=1 (process:20952) 131910.229 23 10 4 t timer set 1 sec : EV_TIMEOUT_CHECKONSTATE 131910.229 23 10 4 moh file not specified 131911.305 3 10 4 timer EV_TIMEOUT_CHECKONSTATE 131911.305 3 10 4 q_scr + evScriptEvent 9007 EV_TIMEOUT_CHECKONSTATE 131911.305 6 10 4 q_scr run evScriptEvent sCode=[EV_TIMEOUT_CHECKONSTATE] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:3|00:00:00.0280016 131911.305 6 10 4 se EV_TIMEOUT_CHECKONSTATE 9007 0|0|0 || LineState=LS_RUN_WAITTILLFINISHED 131911.305 6 10 4 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE lCode2Str=EV_TIMEOUT_CHECKONSTATE 131911.305 6 10 4 Process.HasExited flag set (System.Diagnostics.Process (wscript)) 131911.305 6 10 4 task completed. vgm=1099, iRunWait=1, iRunWait_ExeResult_NextVgm=0=[] 131911.305 6 10 4 ExeResult_NextVgm has not been set. check for Result file. 131911.305 6 10 4 no result file returned from program (VGRUNRESULT_10.TXT). 131911.305 6 10 4 LsRunWaitTillFinished LsRunWaitChooseNext boolExeResult=False 131911.305 6 10 4 FindNextVgmTitleInPathList: next module title is=[medivet komunikat] 131911.306 6 10 4 task completed LsRunWaitChooseNext iNextVgm=367 131911.306 6 10 4 t timer clear (force=False) 131911.306 6 10 4 RunModule start Play, [medivet komunikat], iModuleIdx=367, previous: vgm=1099, vgs=19:19 131911.306 6 10 4 [medivet komunikat] VGMTYPE_PLAY run start 131911.306 6 10 4 CheckForAnyPlayActionsAndSetkeysIfNecessary no PlayActions, vgmidx=367, strPaths=on {timeout 1} goto [insert_call_order] 131911.306 6 10 4 PrepareAndPlayWavAndTts start iModuleIdx=367, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs= 131911.306 6 10 4 PrepareAndPlayWavAndTTS sPlayFile=C:\Program Files (x86)\VoiceGuide\Scripts\manager\moh\medivet_komunikat.wav 131911.306 6 10 4 state [medivet komunikat] Playing wav (C:\Program Files (x86)\VoiceGuide\Scripts\manager\moh\medivet_komunikat.wav) 131911.306 6 10 4 FindSoundFile start [C:\Program Files (x86)\VoiceGuide\Scripts\manager\moh\medivet_komunikat.wav] 131911.306 6 10 4 t timer clear (force=False) 131911.306 6 10 4 q_tel + cmd_PlayStart -392789 ,C:\Program Files (x86)\VoiceGuide\Scripts\manager\moh\medivet_komunikat.wav [] Share this post Link to post
invoso.com Report post Posted 02/25/2014 07:31 PM I attach actual data about VG version. I don't find any [moduleRunScript] Engine option in vg.ini file. No antivir software instaled on this server. Any hint? vgEngine_start.log Share this post Link to post
SupportTeam Report post Posted 02/25/2014 08:28 PM Please update system to the latest release of VoiceGuide that is available from our WWW Downloads page, and post traces as before if the problem still persists. The latest version of VoiceGuide by default uses an internal engine to execute any VBScript modules Share this post Link to post
invoso.com Report post Posted 02/26/2014 10:45 AM Problem not solved. module [MoH connecting_permission true] playing prompt not following to next module. Share this post Link to post
SupportTeam Report post Posted 02/26/2014 11:22 AM Please post the VoiceGuide Debug Traces that capture system startup and that demonstrate the situation encountered. We can then see what is happening on your system. VoiceGuide Debug Traces are the files created in Voiceguide’s \log\ subdirectory. Please .ZIP up any traces before posting them on the support forum. Share this post Link to post
invoso.com Report post Posted 02/26/2014 11:32 AM what is Debug Traces file? what should I to do to prepare needed files for you? Share this post Link to post
SupportTeam Report post Posted 02/26/2014 12:45 PM VoiceGuide Debug Traces are the files created in Voiceguide’s \log\ subdirectory. It's the vgEngine and ktTel trace files. Share this post Link to post
invoso.com Report post Posted 02/26/2014 03:35 PM Still VG stopping on VBS module set vg = CreateObject("vgServices.CommandLink")vg.Play_Start $RV_LINEID, "C:\Program Files (x86)\VoiceGuide\Scripts\manager\komunikaty\ring_multiple.wav"set vg = Nothing even option " Do not wait for VB Script to complete." Other options: set vg = CreateObject("vgServices.CommandLink")vg.Play_Stop $RV_LINEIDvg.Run_ResultReturn $RV_LINEID, "success"set vg = Nothing working properly. 0226_1543_vgEngine.zip 0226_ktTel.zip Share this post Link to post
SupportTeam Report post Posted 02/26/2014 08:57 PM Traces show that VBScripts are running fine now - and as you confirm the PlayStop issued from a VBScript module is ran and stops the playing of the On-Hold Message/Music. In the other, new issue that you raise: When you say that "VG stopping on VBS module" do you mean that it is not progressing to next module after running that script? Please try adding a Run_ResultReturn function call to that module. VoiceGuide will then be able to move to next module from the VBScript module. Also, we would recommend using a "Play" type to play a sound file. Using a "Run VBscript" type module to play a sound file adds overheard and does not start the playing of sound file as quickly as a "Play" type module. Share this post Link to post
SupportTeam Report post Posted 02/27/2014 01:08 PM This version will go down a Success path in VBScript module immediately if the module's wait option is set to "Do not Wait" [old link removed] Share this post Link to post