pedgarhi Report post Posted 07/06/2005 08:15 AM Hello. I'm working with VG for Dialogic 6.0.2028. My problem is that VoiceGuide sometimes detects the DISCONNECT tone after the hangup of the call (I don't understand why) and it starts a new call. The new call detection happens while the 'script after the call is finished' is running. The problem is shown in the trace: 080646,31 6 tw DialogicEvent 134,TDX_CST,196,0,0,DE_TONEON,TID_DISCONNECT, 080646,31 6 event DISCONNECT, code=134, state=1100 080646,31 6 LsPlayMsg EV_UNKNOWN_134,DISCONNECT 080646,33 6 path {DISCONNECT} not found 080646,33 6 rv add [Hangup Time]{06/07/2005 8:06:46} 080646,33 6 state Hanging up call... 080646,33 6 HangupCall_Common hCall=6 080646,33 6 rec RecSoundStop ok 080646,34 6 play PlaySoundStop ok 080646,34 6 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 080646,34 6 fnHangupCall end 080646,34 6 event TID_DISCONNECT, code=134, state=900 080646,34 6 LsAwaitingCalls EV_UNKNOWN_134 080646,36 6 event TDX_CST, code=134, state=900 080646,36 6 LsAwaitingCalls EV_UNKNOWN_134 080646,39 6 event callstate IDLE 6 0 0 080646,39 6 WorkingMode@Idle= 080646,39 6 timer clear 080646,39 6 rec RecSoundStop ok 080646,41 6 play PlaySoundStop ok 080646,41 6 rv add [CallEndTime]{06/07/2005 8:06:46} 080646,42 6 After Hangup script:[FinLlamada.vgs] 080646,42 6 FindFullPathToScript_VgsOrVgp start [C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\FinLlamada.vgs] 080646,42 6 FindFullPathToScript_VgsOrVgp 1 080646,42 0 LoadedVgs_Find C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\FinLlamada.vgs at idx=3 080646,42 6 fn RunModule start 080646,42 6 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 080646,44 6 event TDX_SETHOOK, code=135, state=6001 080646,44 6 timer clear 080646,44 6 state [Log Fin] Running VB Script... 080646,44 6 rv replace start (strlen>500) 080646,44 6 rvns [PathSysVoice]{C:\Archivos de programa\VoiceGuide\system\voice\}[PathApp]{C:\Archivos de programa\VoiceGuide\}[PathDataVm]{C:\Archivos de programa\VoiceGuide\data\}[PathVgSys]{C:\Archivos de programa\VoiceGuide\system\}[scriptsPath]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\}[$RV_STARTTIME]{06/07/2005 8:05:23}[$RV_DEVICEID]{6}[$RV_CIDNAME]{}[PathApp]{C:\Archivos de programa\VoiceGuide\}[scriptsPath]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\}[$RV_CIDNUMBER]{}[loginOK]{0}[DirInstal]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00}[DirAplic]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\iServConf}[ConfigDirectorios_ResultReturn]{success}[FichLog]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\log\llamadas050706_linea06.txt}[ConfigFichLog_ResultReturn]{success}[Log Inicio_ResultReturn]{success}[Reset contError 1_Input]{1}[Reset contError 1]{1}[contError]{1}[Reset loginOK_Input]{0}[Reset loginOK]{0}[loginOK]{0}[CodigoOper]{3001}[CodigoOper_PathTaken]{success}[wavErro ]{ErrorVerifCodOper.wav}[idOperador]{47}[NombreOperador]{3A(ALICANTE)}[ClaveOper dor]{confia}[set loginOK_Input]{1}[set loginOK]{1}[loginOK]{1}[Reset contError MP_Input]{0}[Reset contError MP]{0}[contError]{0}[Reset Repaso_Input]{0}[Reset Repaso]{0}[repaso]{0}[scriptEnd_Time]{06/07/2005 8:06:12}[scriptEnd_Goto_Script]{trfOper.vgs}[scriptEnd_Goto_Module]{Log TransferOper}[scriptStart_Time]{06/07/2005 8:06:12}[scriptStart_CalledFrom_Script]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\servVocal.vgs}[scriptStart_CalledFrom_Module]{Menu Principal}[scriptsPath]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\}[Grabar NombreProv]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\NombreProv_6.wav}[Grabar NombreProv_RecLen100ms]{40}[Grabar NombreProv_EndRecCause]{silence}[NumTransf_1]{0942205618}[NumTransf_2]{094220560 }[NumTransf_3]{942205616}[NumTransf_4]{0942205603}[NumTransf_5]{0942205629}[Cuen aNumTransf]{5}[RandomNumber]{3}[set indice aleatorio_Input]{3}[set indice aleatorio]{3}[indiceOper]{3}[Reset ciclos_Input]{0}[Reset ciclos]{0}[ciclos]{0}[Reset intentos_Input]{0}[Reset intentos]{0}[intentos]{0}[increm intentos_Input]{0+1}[increm intentos]{1}[intentos]{1}[Transferir a operador]{DISCONNECT}[Play recupera]{TID_DISCONNECT}[Max intentos_Input]{1=5}[Max intentos]{False}[Hangup Time]{06/07/2005 8:06:46}[CallEndTime]{06/07/2005 8:06:46} 080646,45 6 vbs ran [vbs_6_13.vbs], cmd [wscript "C:\Archivos de programa\VoiceGuide\data\vbs_6_13.vbs" //I //T:60] 080646,50 6 Run Script waiting. iRunWait=1 (shellid=660, process=50420) 080646,50 6 timer set 1 EV_TIMEOUT_CHECKONSTATE 080646,92 6 event callstate OFFERING 6 0 0 080646,92 6 script interpretor: VgMulti v6.0.2028 080646,92 6 tw ring 1 080646,94 6 ring time since last ring (ms): 0 080646,94 6 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON, 080646,94 6 event TDX_CST, code=134, state=1501 080646,94 6 LsRunWaitTillFinished EV_UNKNOWN_134 080647,06 6 cl Run_ResultReturn >>success<< 080647,06 6 rv add [Log Fin_ResultReturn]{success} 080647,06 6 path {success} not found 080647,08 6 cl module's runwait=1, WavPlayHasNowFinished=0 080647,08 6 rv add [Hangup Time]{06/07/2005 8:06:47} 080647,08 6 state Hanging up call... [Run_ResultReturn - no path match (same vgm)] 080647,08 6 HangupCall_Common hCall=6 080647,08 6 HangupCall_Common Mode=AfterHangupRun 080647,09 6 init atidle reinit : start 080647,09 6 init atidle reinit iConferenceOtherLegLid=-1 080647,09 6 init atidle reinit : reset all LineState variables 080647,09 6 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 080647,09 6 state Waiting for a call... 080647,09 6 rv clear all 080647,11 6 init LineState ResetAtStartOfNewCall. 080647,11 6 Terminating process (new call). 080647,11 6 Start without answering the call 080647,11 6 StartLoadedVgs at 06/07/2005 8:06:47 080647,11 6 WARN rv ScriptsPath could not be set as LineState(iLineId).iVgsIdx = 0 in StartLoadedVgs_InitLineState 080647,13 6 set sScriptToRunOnHangup=[FinLlamada.vgs] in StartLoadedVgs 080647,13 6 rv add [$RV_STARTTIME]{06/07/2005 8:06:47} 080647,13 6 rv add [$RV_DEVICEID]{6} 080647,13 6 rv add [$RV_CIDNAME]{} 080647,13 6 rvns add [PathApp]{C:\Archivos de programa\VoiceGuide\} 080647,14 6 rvns add [scriptsPath]{C:\Archivos de programa\Inelcom\ISPL\Confiabilizacion\Servidor Vocal A00\Scripts\} 080647,14 6 rv add [$RV_CIDNUMBER]{} 080647,14 6 fn RunModule start There are two traces that show the message "Hanging up call...". When is the call really hangup? Share this post Link to post
SupportTeam Report post Posted 07/06/2005 08:53 AM Trace shows new call has arrived when the 'OnHangup' script (FinLlamada.vgs) was running. The new call arrived here: 080646,92 6 event callstate OFFERING 6 0 0 and VG waited for FinLlamada.vgs to finish before starting the new script which is to be ran when new call arrives here: 080647,11 6 Start without answering the call Share this post Link to post