invoso.com Report post Posted 07/21/2017 12:01 PM How to record incoming call (not transfered) including caller and IVR sounds? We need to record what hear caller from IVR and what he is talking during connection. Share this post Link to post
SupportTeam Report post Posted 07/21/2017 02:04 PM (edited) Recording of the callers interaction with the IVR can be done using the action_callrec_start and action_callrec_stop directives. Setting $RV[action_callrec_start] to the filename to record into will start the recording. Setting $RV[action_callrec_stop] will stop the recording. eg: vg.RvSet $RV_LINEID, "action_callrec_start", "C:\mydir\myfile.wav" vg.RvSet $RV_LINEID, "action_callrec_stop", "" . A 'pool' of voice resources needs to be set up. Voice resources from that 'pool' will then be used to make the recording. Here is an example of the 'voice device pool' definition in Config.xml: <Pools> <Pool_Voice> <Device_Voice>dxxxB10C1</Device_Voice> <Device_Voice>dxxxB10C2</Device_Voice> <Device_Voice>dxxxB10C3</Device_Voice> <Device_Voice>dxxxB10C4</Device_Voice> <Device_Voice>dxxxB11C1</Device_Voice> <Device_Voice>dxxxB11C2</Device_Voice> <Device_Voice>dxxxB11C3</Device_Voice> <Device_Voice>dxxxB11C4</Device_Voice> <Device_Voice>dxxxB12C1</Device_Voice> <Device_Voice>dxxxB12C2</Device_Voice> <Device_Voice>dxxxB12C3</Device_Voice> <Device_Voice>dxxxB12C4</Device_Voice> <Device_Voice>dxxxB13C1</Device_Voice> <Device_Voice>dxxxB13C2</Device_Voice> <Device_Voice>dxxxB13C3</Device_Voice> <Device_Voice>dxxxB13C4</Device_Voice> </Pool_Voice> </Pools> The voice devices assigned to the pool cannot be used by any Channel. ie. Only extra spare voice devices that are not assigned to any channel can be placed in a pool. Alternatively, if a <Device_Voice2> is set as part of the <Channel> configuration in Config.xml then that voice device will be used to make the recording. Edited 05/10/2018 02:15 AM by SupportTeam It's <Pool_Voice>, not <Pool_Voicexxx> Share this post Link to post
SupportTeam Report post Posted 07/21/2017 02:12 PM The Record_2Lines_Start function can also be used. Same $RV_LINEID must be specified for all three LineID parameters in order to record both sides of the Caller<->IVR interaction. eg: vg.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV_LINEID, "c:\mydir\myfile.wav", "" The additional voice resource must be made available by setting a entry <Device_Voice2> in Config.xml, or by assigning sufficient voice devices to a 'pool', as per previous post. Share this post Link to post
invoso.com Report post Posted 05/08/2018 10:05 AM Can You help and send config file (working in Evaluation mode) for 4 PRI port dialogic DMV card and in case we have 120 port card and 60 port license and log file shows: 110525.912 10 47 15 3 state [record_all] RunScript vbs, onhold= connected 110525.912 10 47 15 3 LineEvCallState LINECALLSTATE_CONNECTED on inbound call 110525.913 10 47 15 3 LineEvCallState_Connected_InBound begin 110525.913 10 47 15 3 Inband detection not enabled 110525.913 10 47 15 3 L2_set Running_Normal (LineEvCallState_Connected_InBound_ScriptAlreadyStarted) 110525.913 10 47 15 3 t timer clear (force=False) 110525.913 10 47 15 3 RunModule start Play, [play powitanie projektu], iModuleIdx=138, previous: vgm=138, vgs=2:2 110525.913 10 47 15 3 [play powitanie projektu] VGMTYPE_PLAY run start 110525.913 10 47 15 3 rvns add play powitanie projektu_LastPos|0 110525.913 10 47 15 3 rvns add play powitanie projektu_ReplayCount|0 using VB script set vg = CreateObject("vgServices.CommandLink") strRet = vg.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV_LINEID, "\record\$RV[session_id].wav", "" vg.Run_ResultReturn $RV_LINEID, "success" set vg = Nothing but no call record was created (evaluation mode) Share this post Link to post
SupportTeam Report post Posted 05/08/2018 10:24 AM Please post your current Config.xml file and we can modify it accordingly. Share this post Link to post
invoso.com Report post Posted 05/08/2018 10:41 AM 16 minutes ago, SupportTeam said: Please post your current Config.xml file and we can modify it accordingly. config.xml Share this post Link to post
SupportTeam Report post Posted 05/08/2018 11:02 AM The <Pools> section needs to be inside the <Devices_Dialogic> section. Please see attached. If you still encounter problems please post the ktTel trace capturing system startup and the Record_2_Lines_Start call. Share this post Link to post
SupportTeam Report post Posted 05/08/2018 11:05 AM Attaching again... config.xml Share this post Link to post
invoso.com Report post Posted 05/08/2018 12:06 PM Hi, still no record created. 135827.578 4 47 15 2 state [record_all] RunScript vbs, onhold= 135827.578 4 47 15 2 rv replace start - not logging - input has multiple lines and excl_multiline option is set. 135827.578 4 47 15 2 vbs saving script - yes (UsingClearScript=True, strIni_moduleRunScript_SaveToFile=1) 135827.578 4 47 15 2 vbs delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_47_1.vbs 135827.579 4 47 15 2 vbs script written to (overwriting previous): C:\Program Files (x86)\VoiceGuide\temp\vbs_47_1.vbs 135827.579 10 47 15 2 answering the call (picking up the line) 0 135827.579 4 AvailablePhysicalMemory=13598 MB 135827.579 10 47 15 2 crn set using crn_NewCallArriving in AnswerTheCall 135827.579 4 47 15 2 runscr ClearScript VBScriptEngine used 135827.579 10 47 15 2 t timer clear (force=True) 135827.579 10 47 15 2 ktTel_AnswerCall_Enqueue source=AnswerTheCall 135827.579 10 47 15 2 q_tel + cmd_AnswerCall 601002f [] [0,0,0,0,0,0,0,0][|||||||] 135827.579 10 47 15 2 ktTel_LineAnswerCall => 135827.579 12 47 15 2 q_tel run cmd_AnswerCall 601002f 0 [] 0 max:1|0 135827.579 4 47 15 2 runscr .Execute call 135827.580 4 47 15 2 ERROR RunScript_ClearScript_ScriptEngineException ERROR ErrorDetails: Oczekiwano ko?ca instrukcji ERROR Message: Oczekiwano ko?ca instrukcji ERROR Source: ClearScript ERROR StackTrace: w Microsoft.ClearScript.ScriptEngine.ThrowScriptError(IScriptEngineException scriptError) w Microsoft.ClearScript.Windows.WindowsScriptEngine.ThrowScriptError(Exception exception) w Microsoft.ClearScript.Windows.WindowsScriptEngine.<>c__DisplayClass1e`1.<ScriptInvoke>b__1d() w Microsoft.ClearScript.ScriptEngine.ScriptInvoke[T](Func`1 func) w Microsoft.ClearScript.Windows.WindowsScriptEngine.ScriptInvoke[T](Func`1 func) w Microsoft.ClearScript.Windows.WindowsScriptEngine.Execute(String documentName, String code, Boolean evaluate, Boolean discard) w (Object , String ) w ..(Object oParam) 135827.580 4 47 15 2 note If this error persists try using Windows Scripting Host engine, by adding this entry to [moduleRunScript] section of VG.INI : Engine=WSH 135827.580 4 47 15 2 runscr dispose call 135827.580 4 47 15 2 runscr using WSH instead (as ClearScript error). save vbs to to file 135827.580 4 47 15 2 vbs delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_47_1.vbs 135827.580 4 47 15 2 vbs script written to (overwriting previous): C:\Program Files (x86)\VoiceGuide\temp\vbs_47_1.vbs 135827.580 4 47 15 2 runscr start - Run_VBS_UsingExternalInterpreter [C:\Program Files (x86)\VoiceGuide\temp\vbs_47_1.vbs] 135827.580 4 47 15 2 runscr external on_hold_file=, iModuleIdx=202 135827.580 4 47 15 2 runscr start - Run_VBS_UsingExternalInterpreter using default cscript.exe 135827.580 4 47 15 2 runscr start - Run_VBS_UsingExternalInterpreter [cscript.exe]["C:\Program Files (x86)\VoiceGuide\temp\vbs_47_1.vbs" //T:60] 135827.586 4 47 15 2 createprocess_simple : dwProcessId=2708, hProcess=1416, dwThreadId=2920, hThread=1432 135827.587 4 47 15 2 runscr exiting thread. success path should have already been taken. iRunWait=0 135827.587 4 47 15 2 runscr Run_VBS_UsingExternalInterpreter (ran due to ClearScript error) returned 135827.688 18 47 15 2 ev Dialogic 2050,GCEV_ANSWERED, crn=601002f, 2050,0,0,,, 135827.688 18 47 15 2 q_scr + evScriptEvent 2050 GCEV_ANSWERED 135827.688 18 47 15 2 ev CallState GCEV_ANSWERED, crn=601002f, iEvent=0 ,256,1,4, s1:, s2:, s3:, build_date: 2018-03-15 21:41:23.35 135827.688 18 47 15 2 q_scr + evCallState 0 GCEV_ANSWERED 135827.688 10 47 15 2 q_scr run evScriptEvent sCode=[GCEV_ANSWERED] iActionID=0, crn=601002f [2050|0|0|0|0][|||||] 00:00:00 max:8|00:00:00.0050003 135827.688 10 47 15 2 se GCEV_ANSWERED 2050 2050|0|0 || LineState=LS_MODULE_TRANSITION 135827.689 10 47 15 2 q_scr run evCallState sCode=[GCEV_ANSWERED] iActionID=0, crn=601002f [256|1|4|0|0][|||||] 00:00:00.0010001 max:8|00:00:00.0050003 135827.689 10 47 15 2 callstate crn_event=601002f 0|GCEV_ANSWERED state=256|Connected calldirection=1 gcCallState=4 [||], ScriptState=LS_MODULE_TRANSITION 135827.689 10 47 15 2 LineEvCallState L1_current=Offered crn_event=601002f,ev=0,GCEV_ANSWERED,1, sParam1= 135827.689 10 47 15 2 LineEvCallState LINECALLSTATE_CONNECTED begin 135827.689 10 47 15 2 set crn_connected=601002f visual_ivr_session_id=549402845 (called from LINECALLSTATE_CONNECTED) 135827.689 10 47 15 2 L1_set Connected (iState=LS_MODULE_TRANSITION) 135827.689 10 47 15 2 state [record_all] RunScript vbs, onhold= connected 135827.689 10 47 15 2 LineEvCallState LINECALLSTATE_CONNECTED on inbound call 135827.690 10 47 15 2 LineEvCallState_Connected_InBound begin 135827.690 10 47 15 2 Inband detection not enabled 135827.690 10 47 15 2 L2_set Running_Normal (LineEvCallState_Connected_InBound_ScriptAlreadyStarted) 135827.690 10 47 15 2 t timer clear (force=False) 135827.690 10 47 15 2 RunModule start Play, [play powitanie projektu], iModuleIdx=134, previous: vgm=134, vgs=3:3 135827.690 10 47 15 2 [play powitanie projektu] VGMTYPE_PLAY run start 135827.691 10 47 15 2 rvns add play powitanie projektu_LastPos|0 135827.691 10 47 15 2 rvns add play powitanie projektu_ReplayCount|0 135827.702 10 47 15 2 PrepareAndPlayWavAndTts start iModuleIdx=134, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs= in other module I record call: set vg = CreateObject("vgServices.CommandLink") vg.Admin_TraceLogAdd $RV[Conf_LineId_1], 0, "rec_2lines $RV[session_id] call" strRet = vg.Record_2Lines_Start($RV[Conf_LineId_1], $RV[Conf_LineId_1], $RV[Conf_LineId_2], "\$RV[session_id].wav", "") vg.Admin_TraceLogAdd $RV[Conf_LineId_1], 0, "rec_2lines $RV[session_id] returned" vg.Run_ResultReturn $RV[Conf_LineId_1], "success" set vg = Nothing 134557.719 11 47 15 9 t timer clear (force=False) 134557.719 11 47 15 9 RunModule start Run VB Script, [nagranie rozmowy fa], iModuleIdx=186, previous: vgm=317, vgs=4:4 134557.719 11 47 15 9 state [nagranie rozmowy fa] RunScript 134557.719 11 47 15 9 t timer set 5 sec : EV_TIMEOUT_GOTOMODULE 134557.719 11 47 15 9 modvbs QueueUserWorkItem vbScript 134557.719 20 47 15 9 task runscr Run_VBS vgm=186, file=, RunUsingClearScript=True 134557.719 20 47 15 9 state [nagranie rozmowy fa] RunScript vbs, onhold= 134557.719 20 47 15 9 rv replace start - not logging - input has multiple lines and excl_multiline option is set. 134557.720 20 47 15 9 vbs saving script - yes (UsingClearScript=True, strIni_moduleRunScript_SaveToFile=1) 134557.720 20 47 15 9 vbs delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_47_2.vbs 134557.720 20 47 15 9 vbs script written to (overwriting previous): C:\Program Files (x86)\VoiceGuide\temp\vbs_47_2.vbs 134557.720 20 47 15 9 runscr will be waiting. wait=1, calling iModuleIdx=186 (setting iRunWait_VgmIdx to 186) 134557.720 20 47 15 9 moh not set 134557.720 20 AvailablePhysicalMemory=13590 MB 134557.720 20 47 15 9 runscr ClearScript VBScriptEngine used 134557.721 20 47 15 9 runscr .Execute call 134557.786 17 47 15 9 ev PlayEnd 47 -383836 [bytes_played=58040:58040, bytes_in_file=1009999] 134557.786 17 47 15 9 play end id=-383836 (current id) 134557.786 17 47 15 9 rvns add nagranie rozmowy fa_SoundFileLength|126249 134557.786 17 47 15 9 q_scr + evScriptEvent 8001 EV_PLAY_FINISHED 134557.786 11 47 15 9 q_scr run evScriptEvent sCode=[EV_PLAY_FINISHED] iActionID=0, crn=0 [-383836|0|0|0|0][|||||] 00:00:00 max:8|00:00:00.0060004 134557.786 11 47 15 9 se EV_PLAY_FINISHED 8001 -383836|0|0 || LineState=LS_RUN_WAITTILLFINISHED 134557.786 11 47 15 9 play end id=-383836, current id=0 - passing event up (in secai) 134557.786 11 47 15 9 LsRunWaitTillFinished EV_PLAY_FINISHED lCode2Str=EV_PLAY_FINISHED 134557.786 11 47 15 9 path {EV_PLAY_FINISHED} not found 134557.786 11 47 15 9 LsRunWaitTillFinished play end id=-383836, iRunWait_MohPlayWasStarted=0. ignoring 134558.260 21 stats init waiting (iStatsWindow_Current==-2) 134558.722 41 rem vgServices_CommandLink started 134558.723 41 47 15 9 rem rec_2lines ID20180508_134522_51_15_50020 call 134558.723 41 47 15 9 rem Record_2Lines_Start [47,47,94,C:\callrecord\ID20180508_134522_51_15_50020_134557.wav] options=[] 134558.723 41 47 15 9 q_tel + cmd_SilenceDetectSet 0 [] [1000,0,0,0,0,0,0,0][|||||||] 134558.723 41 47 15 9 rec2 filename as-supplied : C:\callrecord\ID20180508_134522_51_15_50020_134557.wav 134558.723 12 47 15 9 q_tel run cmd_SilenceDetectSet 0 0 [] 0 max:1|3 134558.723 41 47 15 9 q_tel + cmd_RecTwoLinesStart 0 [] [47,94,-375443,6,0,0,0,0][dxxxB4C3|dtiB1T15|dtiB2T30|C:\callrecord\ID20180508_134522_51_15_50020_134557.wav||||] 134558.723 41 47 15 9 Record_2Lines_Start [C:\callrecord\ID20180508_134522_51_15_50020_134557.wav] queued ok 134558.723 12 47 15 9 q_tel run cmd_RecTwoLinesStart 0 0 [] 0 max:1|3 134558.724 41 47 15 9 rem rec_2lines ID20180508_134522_51_15_50020 returned 134558.724 41 47 15 9 rem Run_ResultReturn [success] 7 134558.724 41 47 15 9 q_scr + cmdRun_ResultReturn 0 134558.724 11 47 15 9 q_scr run cmdRun_ResultReturn sCode=[] iActionID=0, crn=0 [0|0|0|0|0][success|||||] 00:00:00 max:8|00:00:00.0060004 134558.724 11 47 15 9 Run_ResultReturn_InqScr keyword return same module 134558.725 11 47 15 9 rv add nagranie rozmowy fa_ResultReturn|success 134558.725 20 47 15 9 runscr dispose call 134558.725 11 47 15 9 path {success} found (at offset 3) 134558.725 20 47 15 9 runscr sModuleType=Run VB Script 134558.725 11 47 15 9 FindNextVgmTitleInPathList: next module title is=[CRM_annoucement_connected] 134558.725 20 47 15 9 runscr .Execute returned. iRunWait=1 134558.725 11 47 15 9 Run_ResultReturn_InqScr state: .iRunWait_VgmIdx=186, iVgmIdx=186 134558.725 20 47 15 9 runscr wait=1 (wait for script only) script completed 134558.725 11 47 15 9 module's runwait=1, WavPlayWasStarted=0, WavPlayHasNowFinished=0, iRunWait_ExeResult_NextVgm=281 134558.725 20 47 15 9 runscr sModuleClearScriptProcessWasCalledFrom is current module nagranie rozmowy fa, clearing setting (.iRunWait=1) 134558.725 11 47 15 9 moh not stopping play, bDoNotStopMoh==true 134558.725 20 47 15 9 moh not stopping play, bDoNotStopMoh==true 134558.725 11 47 15 9 t timer clear (force=False) 134558.725 20 47 15 9 runscr RunWait_1 bScriptHasSetNextModule was set. exiting thread. Share this post Link to post
SupportTeam Report post Posted 05/08/2018 12:19 PM We would need to see the VBScript that was ran in order to begin looking at what could possibly be the problem with the script that did not run. Please remove the "excl_multiline" option from VG.INI and run test again and post the traces. Share this post Link to post
invoso.com Report post Posted 05/08/2018 01:34 PM Hi, I changed VB script but no call record was created. 152443.570 10 5 1 3 RunModule start Run VB Script, [record_all], iModuleIdx=546, previous: vgm=493, vgs=7:7 152443.570 10 5 1 3 state [record_all] RunScript (no wait) 152443.570 10 5 1 3 modvbs QueueUserWorkItem vbScript 152443.571 10 5 1 3 modvbs check for success path 152443.571 22 5 1 3 task runscr Run_VBS vgm=546, file=, RunUsingClearScript=True 152443.571 22 5 1 3 state [record_all] RunScript vbs, onhold= 152443.571 10 5 1 3 FindNextVgmTitleInPathList: next module title is=[play powitanie projektu] 152443.571 22 5 1 3 rv replace start ------------------------------ set vg = CreateObject("vgServices.CommandLink") vg.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV_LINEID, "C:\callrecord\$RV[session_id]_$RV_HH$RV_NN$RV_SS.wav", "" vg.Run_ResultReturn $RV_LINEID, "success" set vg = Nothing ------------------------------ 152443.571 10 5 1 3 t timer clear (force=False) 152443.571 10 5 1 3 RunModule start Play, [play powitanie projektu], iModuleIdx=478, previous: vgm=546, vgs=7:7 152443.571 10 5 1 3 [play powitanie projektu] VGMTYPE_PLAY run start 152443.571 10 5 1 3 answering the call (picking up the line) 0 152443.571 10 5 1 3 crn set using crn_NewCallArriving in AnswerTheCall 152443.571 10 5 1 3 t timer clear (force=True) 152443.571 10 5 1 3 ktTel_AnswerCall_Enqueue source=AnswerTheCall 152443.571 22 5 1 3 rv replace end ------------------------------ set vg = CreateObject("vgServices.CommandLink") vg.Record_2Lines_Start 5, 5, 5, "C:\callrecord\ID20180508_152443_51_1_50020_152443.wav", "" vg.Run_ResultReturn 5, "success" set vg = Nothing ------------------------------ 152443.571 10 5 1 3 q_tel + cmd_AnswerCall 6000005 [] [0,0,0,0,0,0,0,0][|||||||] 152443.571 22 5 1 3 vbs saving script - yes (UsingClearScript=True, strIni_moduleRunScript_SaveToFile=1) 152443.571 12 5 1 3 q_tel run cmd_AnswerCall 6000005 0 [] 0 max:1|3 152443.571 10 5 1 3 ktTel_LineAnswerCall => 152443.582 22 5 1 3 vbs script written to (new file): C:\Program Files (x86)\VoiceGuide\temp\vbs_5_1.vbs 152443.582 22 AvailablePhysicalMemory=13444 MB 152443.582 22 5 1 3 runscr ClearScript VBScriptEngine used 152443.582 22 5 1 3 runscr .Execute call 152443.744 18 5 1 3 ev Dialogic 2050,GCEV_ANSWERED, crn=6000005, 2050,0,0,,, 152443.744 18 5 1 3 q_scr + evScriptEvent 2050 GCEV_ANSWERED 152443.744 18 5 1 3 ev CallState GCEV_ANSWERED, crn=6000005, iEvent=0 ,256,1,4, s1:, s2:, s3:, build_date: 2018-03-15 21:41:23.35 152443.744 10 5 1 3 q_scr run evScriptEvent sCode=[GCEV_ANSWERED] iActionID=0, crn=6000005 [2050|0|0|0|0][|||||] 00:00:00 max:8|00:00:00.0080005 152443.744 10 5 1 3 se GCEV_ANSWERED 2050 2050|0|0 || LineState=LS_MODULE_TRANSITION 152443.744 18 5 1 3 q_scr + evCallState 0 GCEV_ANSWERED 152443.744 10 5 1 3 q_scr run evCallState sCode=[GCEV_ANSWERED] iActionID=0, crn=6000005 [256|1|4|0|0][|||||] 00:00:00 max:8|00:00:00.0080005 152443.744 10 5 1 3 callstate crn_event=6000005 0|GCEV_ANSWERED state=256|Connected calldirection=1 gcCallState=4 [||], ScriptState=LS_MODULE_TRANSITION 152443.744 10 5 1 3 LineEvCallState L1_current=Offered crn_event=6000005,ev=0,GCEV_ANSWERED,1, sParam1= 152443.744 10 5 1 3 LineEvCallState LINECALLSTATE_CONNECTED begin 152443.744 10 5 1 3 set crn_connected=6000005 visual_ivr_session_id=608985777 (called from LINECALLSTATE_CONNECTED) 152443.744 10 5 1 3 L1_set Connected (iState=LS_MODULE_TRANSITION) 152443.744 10 5 1 3 state [record_all] RunScript vbs, onhold= connected 152443.745 10 5 1 3 LineEvCallState LINECALLSTATE_CONNECTED on inbound call 152443.745 10 5 1 3 LineEvCallState_Connected_InBound begin 152443.745 10 5 1 3 Inband detection not enabled 152443.745 10 5 1 3 L2_set Running_Normal (LineEvCallState_Connected_InBound_ScriptAlreadyStarted) 152443.745 10 5 1 3 t timer clear (force=False) Share this post Link to post
SupportTeam Report post Posted 05/08/2018 10:00 PM Attached trace does not capture the actual execution of the script. All we can see that the VBScript execution was started. We would need to see both the vgEngine and ktTel traces to see what happened on the system. Please .ZIP up the traces before posting. Share this post Link to post
invoso.com Report post Posted 05/09/2018 10:19 AM new connection today 0509_1212_vgEngine.zip Share this post Link to post
SupportTeam Report post Posted 05/10/2018 12:43 AM Trace shows: 121255.964 25 rem vgServices_CommandLink started 121255.966 25 29 9 1 rem Record_2Lines_Start [29,29,29,C:\callrecord\ID20180509_121255_51_9_50020_121255.wav] options=[] 121255.968 25 29 9 1 Record_2Lines_Start no active call on line. 121255.968 25 29 9 1 rem Run_ResultReturn [success] 7 so the recording was not started as the call was not yet answered. Trace shows the call was answered 200ms afterwards: 121256.201 18 29 9 1 ev Dialogic 2050,GCEV_ANSWERED, crn=600001d, 2050,0,0,,, We can see in the trace that the script runs a 'Run VBS' module that calls Record_2Lines_Start while the call is still not answered. The 'Run VBS' module does not wait and script goes straight to a 'Play' module. And running the Play module automatically results in answering the call. So what is happening here is that the VBS is ran at the same time as the Play module, so in effect there is a race between whether the Play module's call answer is processed first, or whether the VBS calls the Record_2Lines_Start API first. In the captured trace we can see that the VBS ended up calling the Record_2Lines_Start API first, and this will most likely be the case all the time given that it look like it takes 250ms to answer a call on the E1 ISDN trunks connected to this system, and running a VBS is usually faster then that. The easiest solution here would be to allow the Record_2Lines_Start function to start recording even if there is no call on the line. We will look into allowing this and will provide a version of VoiceGuide that does not enforce the "must have active call" rule inside the Record_2Lines_Start function. NB. if the 'Run VBS' module is not set to wait for a result then there is no need to call to the the Run_ResultReturn API from that VBS. Share this post Link to post
invoso.com Report post Posted 05/10/2018 10:15 AM Hi, have You tested module with this solution? I tried to add play module before VBS recording module and no recording started. Share this post Link to post
SupportTeam Report post Posted 05/10/2018 01:50 PM In your Config.xml please change section <Pool_Voicexxx> to: <Pool_Voice> Change both the start and end XML tags. See attached Config.xml. Then also update your system to this version of VoiceGuide: [Link removed. Please use latest version of VoiceGuide] This version allows you to start recording of both directions of an individual call before the call has been answered. If you encounter any problems please post bot the vgEngine and ktTel traces capturing the issue. We can then see what happened on the system and advise. Please .ZIP up any traces before posting. To change from one release of VoiceGuide v7 to another: 1. Stop VoiceGuide Service and exit all VoiceGuide programs. (eg Script Designer, Line Status Monitor, etc) and all other programs. 2. Run the VoiceGuide install and install into same directory as existing installation. (Do NOT uninstall the previous VoiceGuide installation). 3. Start VoiceGuide service. Running a VoiceGuide install over the top of an existing install will NOT overwrite existing configuration or license files (Config.xml, ConfigLine.xml, VG.INI, etc) and will not remove any of users script or sound files, and will not remove any log files etc. config.xml Share this post Link to post