VoiceGuide IVR Software Main Page
Jump to content

Vg Doesen't Record Call (Vgs)

Recommended Posts

VG script doesn't record any call.

Return only empty files (0 to 1 KB)

 

It happens yesterday after system reset.

 

 

151554.586 3 7 3 FindNextVgmTitleInPathList: next module title is=[nagranie rozmowy]

151554.586 3 7 3 RunModule (timer redirect) [Run VB Script,[nagranie rozmowy],153]

151554.586 3 7 3 q scr add evScriptEvent 9800 CMD_RUN_SAME_MODULE_AGAIN

151554.586 6 7 3 q scr run evScriptEvent sCode=[CMD_RUN_SAME_MODULE_AGAIN] iActionID=0, crn=0[0|0|0|0|0][|||||]

151554.586 6 7 3 scriptevent CMD_RUN_SAME_MODULE_AGAIN 0|0|0 ||

151554.586 6 7 3 t timer clear (force=False)

151554.586 6 7 3 RunModule start Run VB Script, [nagranie rozmowy], iModuleIdx=153, previous: vgm=153, vgs=3:3

151554.586 6 7 3 state [nagranie rozmowy] type: Script_VBScript, iRunWait=1

151554.586 6 7 3 rv replace start

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

set vg = CreateObject("vgServices.CommandLink")

strRet = vg.Record_2Lines_Start($RV[Conf_LineId_1], $RV[Conf_LineId_1], $RV[Conf_LineId_2], "C:\callrecord\$RV[session_id].wav", "")

vg.Run_ResultReturn $RV_LINEID, "success"

set vg = Nothing

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

151554.586 6 7 3 rv replace end [set vg = CreateObject("vgServices.CommandLink")

strRet = vg.Record_2Lines_Start(7, 7, 19, "C:\callrecord\ID201201261515170.wav", "")

vg.Run_ResultReturn 7, "success"

set vg = Nothing]

151554.586 6 7 3 script will be ran from file: C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs

151554.586 6 7 3 delete existing: C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs

151554.586 6 7 3 current objVbsOrExeProcess=

151554.586 6 7 3 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs][] timeout=60 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process)

151554.586 6 7 3 objVbsOrExeProcess.Start call

151554.586 6 7 3 RunVBScriptFile just started. Handle=1452, Id=2444, StartTime=2012-01-26 15:15:54, HasExited=False

151554.586 6 7 3 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs], ProcessHandle=[1452], VbsOrExeProcess.WorkingSet=[77824]

151554.586 6 7 3 RunModule_Script_AfterScriptStarted start

151554.586 6 7 3 waiting. iRunWait=1 (process:1452)

151554.586 6 7 3 t timer set 1 sec : EV_TIMEOUT_CHECKONSTATE

151554.602 3 7 3 db odbc query completed.

151554.961 27 remoting link constructor activated: vgServices_CommandLink

151554.977 27 7 3 rem Record_2Lines_Start [7,19,C:\callrecord\ID201201261515170.wav] options=[]

151554.977 27 7 3 CallExistsOnLine TRUE crn=28000e2

151554.977 27 7 3 q tel add cmd_SilenceDetectSet [1000,0,0,0,0][||||]

151554.977 7 7 3 q tel run cmd_SilenceDetectSet

151554.977 27 7 3 q tel add cmd_RecTwoLinesStart [7,19,255171,6,0][dxxxB1C3|dtiB1T3|dtiB1T7|C:\callrecord\ID201201261515170.wav|]

151554.977 27 7 3 Record_2Lines_Start [C:\callrecord\ID201201261515170.wav] ok

151554.977 7 7 3 q tel run cmd_RecTwoLinesStart

151554.977 27 7 3 rem Run_ResultReturn [success] 7

151554.977 27 7 3 q scr add cmdRun_ResultReturn 0

151554.977 6 7 3 q scr run cmdRun_ResultReturn sCode=[] iActionID=0, crn=0[0|0|0|0|0][success|||||]

151554.977 6 7 3 rv add [nagranie rozmowy_ResultReturn]{success}

151554.977 6 d added nagranie rozmowy_ResultReturn | success | ( 6e 61 67 72 61 6e 69 65 20 72 6f 7a 6d 6f 77 79 5f 52 65 73 75 6c 74 52 65 74 75 72 6e | 73 75 63 63 65 73 73 | 99) id=7

151554.977 6 d added nagranie rozmowy_ResultReturn | success | ( 6e 61 67 72 61 6e 69 65 20 72 6f 7a 6d 6f 77 79 5f 52 65 73 75 6c 74 52 65 74 75 72 6e | 73 75 63 63 65 73 73 | 174) id=7

151554.977 6 7 3 path {success} found (at offset 3)

151554.977 6 7 3 FindNextVgmTitleInPathList: next module title is=[Wait till end of call,_91]

151554.977 6 7 3 module's runwait=1, WavPlayHasNowFinished=0, iRunWait_ExeResult_NextVgm=152

151554.977 6 7 3 q tel add cmd_PlayStop [0,0,0,0,0][||||]

151554.977 6 7 3 play PlaySoundStop ok

151554.977 6 7 3 t timer clear (force=False)

151554.977 6 7 3 RunModule start Play, [Wait till end of call,_91], iModuleIdx=152, previous: vgm=153, vgs=3:3

151554.977 6 7 3 [Wait till end of call,_91] VGMTYPE_PLAY run start

151554.977 6 7 3 CheckForAnyPlayActionsAndSetkeysIfNecessary no PlayActions, vgmidx=152, strPaths=on {success} goto [Hangup the Call]

on {fail} goto [Hangup the Call]

on {GCEV_TASKFAIL} goto [Hangup the Call]

on {GCEV_RESETLINEDEV} goto [Hangup the Call]

 

151554.977 6 7 3 PrepareAndPlayWavAndTts start iModuleIdx=152, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=

151554.977 6 7 3 PrepareAndPlayWavAndTTS sPlayFile=

151554.977 6 7 3 state [Wait till end of call,_91] Playing wav ()

151554.977 6 7 3 q scr add evScriptEvent 8001 EV_PLAY_FINISHED

151554.977 6 7 3 q scr run evScriptEvent sCode=[EV_PLAY_FINISHED] iActionID=0, crn=0[0|0|0|0|0][|||||]

151554.977 6 7 3 scriptevent EV_PLAY_FINISHED 0|0|0 ||

151554.977 6 7 3 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED

151554.977 6 7 3 path {EV_PLAY_FINISHED} not found

151554.977 6 7 3 iCurrReplayCount=0, iMaxReplayCount=20

151554.977 6 7 3 t timer set 60 sec : EV_TIMEOUT_REPLAYMSG

151554.977 7 7 3 q tel run cmd_PlayStop

151555.008 19 7 3 ev PlayEnd 7 248765

151555.008 19 7 3 play end id=248765, (old ID) current id=0

Share this post


Link to post

Can you please post the ktTel and vgEngine trace excerpts which captures that call from one module before the module [nagranie rozmowy] till the end.

 

Please also post the file: C:\callrecord\ID201201261515170.wav

Share this post


Link to post

Please update system to this version of VoiceGuide:

[old link removed]

If you are still encountering problems please post the traces as before, but this time ensure that traces include the previous 4 modules or so.

Are you able to post a script (.vgs) excerpt that shows what are those 4 modules before the VGS module that starts the 2-line recording?

The problem is basically caused by another file still playing when the 2-line recording is commenced. The new version should resolve this issue but we would like to take a look at the script to see what the script is doing. For this we need longer traces or script excerpt.

Share this post


Link to post

My script recorded calls until last VG upgrade to VoiceGuide_7.3.0_120123.exe

 

 

Now, after upgrade to 7.3.0_120130.exe VG don't create files and don't finished calls when 2nd caller hangup. Call is still active until first caller hangup.

part of script.zip

log7_3_0_120130.zip

Share this post


Link to post

Please post the ktTel traces capturing the entire call, including the call hangups (from both sides) after conference call was ended.

Share this post


Link to post

Please update your system to this version:

[old link removed]

and in the module that starts the 2-line recording change:

set vg = CreateObject("vgServices.CommandLink")
strRet = vg.Record_2Lines_Start($RV[Conf_LineId_1], $RV[Conf_LineId_1], $RV[Conf_LineId_2], "C:\callrecord\$RV[session_id].wav", "")
vg.Run_ResultReturn $RV_LINEID, "success"
set vg = Nothing


to:

set vg = CreateObject("vgServices.CommandLink")
strRet = vg.Record_2Lines_Start($RV[Conf_LineId_1], $RV[Conf_LineId_1], $RV[Conf_LineId_2], "C:\callrecord\$RV[session_id].wav", "")
set vg = Nothing


ie. remove the call to Run_ResultReturn

Run_ResultReturn has a side-effect of stopping any Plays or Records happening on the line.

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
×