VoiceGuide IVR Software Main Page
Jump to content

Recording Is Unexpected Stopped

Recommended Posts

Sometimes recording is unexpected stopped.

 

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

081924.375 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", "")

set vg = Nothing

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

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

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

set vg = Nothing]

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

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

081924.375 6 7 3 current objVbsOrExeProcess=

081924.375 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)

081924.375 6 7 3 objVbsOrExeProcess.Start call

081924.375 6 7 3 RunVBScriptFile just started. Handle=36220, Id=1524, StartTime=2012-02-20 08:19:24, HasExited=False

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

081924.375 6 7 3 RunModule_Script_AfterScriptStarted start

081924.375 6 7 3 waiting. iRunWait=1 (process:36220)

081924.375 6 7 3 t timer set 1 sec : EV_TIMEOUT_CHECKONSTATE

081924.375 21 7 3 db odbc query completed.

081924.516 15 remoting link constructor activated: vgServices_CommandLink

081924.532 15 7 3 rem Record_2Lines_Start [7,19,C:\callrecord\ID201202200818210.wav] options=[]

081924.532 15 7 3 CallExistsOnLine TRUE crn=28002a9

081924.532 15 7 3 q tel add cmd_SilenceDetectSet [1000,0,0,0,0][||||]

081924.532 7 7 3 q tel run cmd_SilenceDetectSet

081924.532 15 7 3 q tel add cmd_RecTwoLinesStart [7,19,5609,6,0][dxxxB1C3|dtiB1T3|dtiB1T7|C:\callrecord\ID201202200818210.wav|]

081924.532 15 7 3 Record_2Lines_Start [C:\callrecord\ID201202200818210.wav] ok

081924.532 7 7 3 q tel run cmd_RecTwoLinesStart

081925.188 13 7 3 timer EV_TIMEOUT_CHECKONSTATE

081925.188 13 7 3 q scr add evScriptEvent 9007 EV_TIMEOUT_CHECKONSTATE

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

081925.188 6 7 3 scriptevent EV_TIMEOUT_CHECKONSTATE 0|0|0 ||

081925.188 6 7 3 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE lCode2Str=EV_TIMEOUT_CHECKONSTATE

081925.188 6 7 3 Process.HasExited is true (System.Diagnostics.Process (wscript))

081925.188 6 7 3 task completed. vgm=552, iRunWait=1, iRunWait_ExeResult_NextVgm=0=[]

081925.188 6 7 3 ExeResult_NextVgm has not been set. check for Result file.

081925.188 6 7 3 no result file returned from program (VGRUNRESULT_7.TXT).

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

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

081925.188 6 7 3 play PlaySoundStop ok

081925.188 7 7 3 q tel run cmd_PlayStop

081925.188 6 7 3 task completed LsRunWaitChooseNext iNextVgm=553

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

081925.188 6 7 3 RunModule start Play, [Wait till end of call,_91], iModuleIdx=553, previous: vgm=552, vgs=9:9

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

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

 

081925.188 6 7 3 PrepareAndPlayWavAndTts start iModuleIdx=553, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=

081925.188 6 7 3 PrepareAndPlayWavAndTTS sPlayFile=

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

081925.188 6 7 3 q scr add evScriptEvent 8001 EV_PLAY_FINISHED

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

081925.188 6 7 3 scriptevent EV_PLAY_FINISHED 0|0|0 ||

081925.188 6 7 3 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED

081925.188 6 7 3 path {EV_PLAY_FINISHED} not found

081925.188 6 7 3 iCurrReplayCount=0, iMaxReplayCount=20

081925.188 6 7 3 t timer set 60 sec : EV_TIMEOUT_REPLAYMSG

 

081925.219 18 7 3 ev Dialogic 130,TDX_RECORD, crn=28002a9, 0,0,0,TM_USRSTOP,,

081925.219 18 7 3 q scr add evScriptEvent 130 TDX_RECORD

081925.219 6 7 3 q scr run evScriptEvent sCode=[TDX_RECORD] iActionID=0, crn=28002a9[0|0|0|0|0][TM_USRSTOP|||||]

081925.219 6 7 3 scriptevent TDX_RECORD 0|0|0 TM_USRSTOP||

081925.219 6 7 3 LsPlayMsgFinished EV_UNKNOWN_130,TDX_RECORD, [TM_USRSTOP ], [ ], []

081925.219 6 7 3 path {TDX_RECORD} not found

081925.219 18 7 3 q scr add evScriptEvent 8003 EV_REC_FINISHED

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

081925.219 6 7 3 scriptevent EV_REC_FINISHED 0|0|0 ||

081925.219 6 7 3 LsPlayMsgFinished EV_REC_FINISHED,EV_REC_FINISHED, [ ], [ ], []

081925.219 6 7 3 path {EV_REC_FINISHED} not found

 

 

Whole connection was 2:33 long.

 

VG created attached wav file - 5 KB

 

 

other connections are

ID201202200818210.wav

Share this post


Link to post

Can you please post the vgEngine trace capturing the previous couple of modules as well.

Please .ZIP up the trace excerpt and attach it, instead of pasting it in the topic text. Field formatting is lost when trace excerpts are pasted in, and then we cannot view it properly on out trace viewing tools.

Share this post


Link to post

I attached vgEngine.

 

Is any simple way to export whole connection log lines?

 

Is possible that You add one more id in vgEngine - session ID. it's simple solution that helps to extract one connection from vgEngine to send You what You need?

 

Every time I have to hide my database access data, can You make my vgEngine files For Your Eyes Only?

vgEngine.zip

Share this post


Link to post

In the "Run Script" module please set the waiting options drop down box to be "Do not wait for script to complete".

 

Please post traces as before if you still encounter issues.

Share this post


Link to post

I have still occasionally problems with conversation recording.

 

I attached vgEngine with connection witch should be recorded in ID201202221611540.wav file from 16:12:28 to 16:13:07 but is only 7 seconds long and only last 7 seconds.

 

After start recording conversation i connect to DB to save a cal data and next step is Play Sound File: "Wait till end of call custom_new" where I configure no file to play, 20 Replays if no valid response from caller and 60 Seconds pause between replays and on {timeout 3600} goto [Hangup the Call].

 

Not properly recording happens sometimes, so I can't find rule or reason of this error.

 

I tested i found that VBS doesent start recording until on second line is tone detected. when i call other person until I talk to this person VGG doesn't record conversation, started to record when second person started to talk.

Share this post


Link to post

In module "Transfer Call 8" please do not specify the 'Message on hold' file (its now set to ring_multiple.wav).

The script has previously started playing the ring_multiple.wav from module "Do not wait for VBScript to complete" and has set $RV[DoNotStopMOH] to 1, so the previous ring_multiple.wav is playing, and setting the 'Message on hold' file will just result in that file being queued to play.

 

Also, do not set $RV[DoNotStopMOH] to be a global RV. Global RVs will affect all scripts on all channels. 'Global' is usually used for counters or global message passing etc.

 

And in the module "nagranie rozmowy" you will need to insert a Play_Stop command before the Record_2Lines_Start command - to stop the playing on the line.

Automatic stopping of playing was disabled when $RV[DoNotStopMOH] was set to 1, so now the stopping needs to be done explicitly by the script.

 

ie. 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", "")

set vg = Nothing

 

to

 

set vg = CreateObject("vgServices.CommandLink")

vg.Play_Stop $RV[Conf_LineId_1]

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

 

 

If you still have any questions about this then please include in future posts the ktTel trace and the script used.

 

 

 


161201.930 18   2   1 ev    PlayEnd 2 -806328
161201.930 18   2   1       play  end   id=-806328, (current ID)

161203.211  6   2   1 state [set no stoppng_102] Evaluate [1]
161203.211  6   2   1       eval[1]
161203.227  6   2   1       creating new global rv : DoNotStopMOH
161203.227  6   2   1       Eval Expr result:[1] stored in RV[DoNotStopMOH]

161203.227  6   2   1 state [Do not wait for VBScript to complete] type: Script_VBScript, iRunWait=0

161203.227  6   2   1 state [placowka] DB Query

161203.524 13   2   1 rem   Play_Start C:\Program Files\VoiceGuide\Scripts\manager\komunikaty\c
161203.524 13   2   1       CallExistsOnLine TRUE crn=2840261
161203.524 13   2   1       q scr add   cmdPlayWavTts 0 
161203.524  6   2   1       q scr run   cmdPlayWavTts sCode=[] iActionID=0, crn=0[418|0|0|0|0][C:\Program Files\VoiceGuide\Scripts\manager\komunikaty\ring_multiple.wav|||||]

161203.524  6   2   1 state [placowka] Playing wav (C:\Program Files\VoiceGuide\Scripts\manager\komunikaty\ring_multiple.wav)
161203.524  6   2   1 t     timer clear (force=False)
161203.524  6   2   1       q tel add   cmd_PlayStart [0,0,0,0,0][||||]
161203.524  7   2   1       q tel run   cmd_PlayStart
161203.555  6   2   1       play  start ok, playId=-801203

161214.352  6   2   1 state [Transfer Call 8] Monitored Dial and Connect to 533666020
161214.352  6   2   1       moh sound file specified : komunikaty\ring_multiple.wav
161214.352  6   2   1       rv    replace start [$RV[DoNotStopMOH]]
161214.352  6   2   1       rv    replace end   [1]
161214.352  6   2   1       moh no playstop as RV DoNotStopMOH=[1]
161214.352  6   2   1 t     timer clear (force=False)
161214.352  6   2   1       q tel add   cmd_PlayStart [0,0,0,0,0][||||]
161214.352  6   2   1       play  start ok, playId=-790375

161228.602  6   2   1       moh not stopping play, DoNotStopMOH=1
161228.602  6   2   1       TwoCalls_Bridge 2<=>16  (dtiB1T1<=>dtiB1T6)
161228.602  6   2   1       q tel add   cmd_PlayStop [0,0,0,0,0][||||]
161228.602  6   2   1       play  PlaySoundStop ok
161228.602  7   2   1       q tel run   cmd_PlayStop
161228.602  6  16   6       q tel add   cmd_PlayStop [0,0,0,0,0][||||]

161228.617  6   2   1 state [nagranie rozmowy] type: Script_VBScript, iRunWait=0

161228.617  7  16   6       q tel run   cmd_PlayStop
161228.633  7               q tel run   cmd_TsRoute
161228.633 18   2   1 ev    PlayEnd 2 -801203
161228.633 18   2   1       play  end   id=-801203, (old ID) current id=-790375

161228.867 13   2   1 rem   Record_2Lines_Start [2,16,C:\callrecord\ID201202221611540.wav] options=[]
161228.867 13   2   1       CallExistsOnLine TRUE crn=2840261
161228.867 13   2   1       q tel add   cmd_SilenceDetectSet [1000,0,0,0,0][||||]
161228.867 13   2   1       q tel add   cmd_RecTwoLinesStart [2,16,-775859,6,0][dxxxB1C1|dtiB1T1|dtiB1T6|C:\callrecord\ID201202221611540.wav|]
161228.867 13   2   1       Record_2Lines_Start [C:\callrecord\ID201202221611540.wav] ok
161228.867  7   2   1       q tel run   cmd_SilenceDetectSet
161228.867  7   2   1       q tel run   cmd_RecTwoLinesStart

161300.336 18   2   1 ev    PlayEnd 2 -790375
161300.336 18   2   1       play  end   id=-790375, (old ID) current id=0

161307.523  6   2   1       q scr add   evScriptEvent 0 OTHER_LEG_Disconnected
161307.523  6   2   1       q scr run   evScriptEvent sCode=[OTHER_LEG_Disconnected] iActionID=0, crn=0[16384|0|64|0|0][|||||]

161307.523  6   2   1       RecSoundStop begin trunc100ms=0, sCaller=Line_Hangup_Main
161307.523  6   2   1       q tel add   cmd_RecordStop [0,0,0,0,0][||||]
161307.523  7   2   1       q tel run   cmd_RecordStop

161307.554 18   2   1 ev    Dialogic 130,TDX_RECORD, crn=2840261, 0,0,0,TM_USRSTOP,,
161307.554 18   2   1       q scr add   evScriptEvent 130 TDX_RECORD

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
×