kiran.mply Report post Posted 10/21/2008 06:15 AM Hi I am using Dialogic D/4PCIU with voiceGuide. with single line (Airtel wireline in India) The issue is I have to detect the disconnected tone and exit my script if it already running and send a busy/disconnected tone over the line. For this i did the following: I used Dialogic's PBXpert tool to create the tone file which defines what disconnect/busy tones are played by your telephone company or PBX when the call is finished, and then tell Dialogic Configuration Manager to load your 'tone file' by specifying in the DCM: Then I set the following in the DCM TSFFileSupport=Yes DisconnectTone=Yes TSFFileName=your .tsf file. Please suggest me a proper way for handling this. But even after doing this my script does not stop running and hang up the call. Here is the traced out log: 112520.000 18 7 ev dtmf 9 (268435458,57,0) 112520.000 18 7 tqScr enq cmd_ScriptEventCode 112520.000 6 7 tqScr run cmd_ScriptEventCode 9, iActionID=0, crn=0[0|0|0|0|0][|||||] 112520.000 6 7 ScriptEvent 9 || 112520.000 6 7 LsAwaitingCalls 9 112520.093 18 7 ev dtmf 5 (268435458,53,0) 112520.093 18 7 tqScr enq cmd_ScriptEventCode 112520.093 6 7 tqScr run cmd_ScriptEventCode 5, iActionID=0, crn=0[0|0|0|0|0][|||||] 112520.093 6 7 ScriptEvent 5 || 112520.093 6 7 LsAwaitingCalls 5 112520.187 18 7 ev dtmf 0 (268435458,48,0) 112520.187 18 7 tqScr enq cmd_ScriptEventCode 112520.187 6 7 tqScr run cmd_ScriptEventCode 0, iActionID=0, crn=0[0|0|0|0|0][|||||] 112520.187 6 7 ScriptEvent 0 || 112520.187 6 7 LsAwaitingCalls 0 112520.281 18 7 ev dtmf 5 (268435458,53,0) 112520.281 18 7 tqScr enq cmd_ScriptEventCode 112520.281 6 7 tqScr run cmd_ScriptEventCode 5, iActionID=0, crn=0[0|0|0|0|0][|||||] 112520.281 6 7 ScriptEvent 5 || 112520.281 6 7 LsAwaitingCalls 5 112520.390 18 7 ev dtmf 1 (268435458,49,0) 112520.390 18 7 tqScr enq cmd_ScriptEventCode 112520.390 6 7 tqScr run cmd_ScriptEventCode 1, iActionID=0, crn=0[0|0|0|0|0][|||||] 112520.390 6 7 ScriptEvent 1 || 112520.390 6 7 LsAwaitingCalls 1 112520.484 18 7 ev dtmf 1 (268435458,49,0) 112520.484 18 7 tqScr enq cmd_ScriptEventCode 112520.484 6 7 tqScr run cmd_ScriptEventCode 1, iActionID=0, crn=0[0|0|0|0|0][|||||] 112520.484 6 7 ScriptEvent 1 || 112520.484 6 7 LsAwaitingCalls 1 112520.578 18 7 ev dtmf 1 (268435458,49,0) 112520.578 18 7 tqScr enq cmd_ScriptEventCode 112520.578 6 7 ScriptEvent 1 || 112520.578 6 7 LsAwaitingCalls 1 112521.359 18 7 ev ring 2, hCall=0x7 vgEngine v7.0.3196.27307 (Wed 01/10/2008 14:10:09.06) 112521.359 18 7 FireEvent_RemotingIf_VgEngine RING 2 112521.359 18 7 time since last ring : 2.594 112521.359 18 7 state Ring 2 112521.359 18 7 AnswerTheCallIfAllowed iIvrDev=4, strDlgcDevName_Network=dxxxB1C4 112521.359 18 7 rings=2, min rings before answer=2 (iCallerIdHasArrived=0) 112521.359 18 7 should answer as number of rings reached 112521.359 18 7 rv clear all 112521.359 18 7 LineState ResetAtStartOfNewCall 112521.359 18 7 Set_hCall crn=7, called from AnserThisCallIfAllowed 112521.359 18 7 objVbsOrExeProcess not null, but .HasExited=true 112521.359 18 7 objVbsOrExeProcess .ExitTime=10/21/2008 11:16:02 AM 112521.359 18 7 do AnswerTheCall 112521.359 18 7 answering the call (picking up the line) 112521.359 18 7 t clear (force=True) 112521.359 18 ktTel_AnswerCall_Enqueue source=AnswerTheCall 112521.359 18 7 tqTel que cmd_AnswerCall [0,0,0][0||] 112521.359 18 7 ktTel_LineAnswerCall => 112521.359 7 7 tqTel run cmd_AnswerCall 112521.359 18 7 ev Dialogic 134,TDX_CST, crn=10000002, 0,0,0,DE_RINGS,ET_RON, 112521.359 18 7 tqScr enq cmd_ScriptEventCode 112521.359 6 7 tqScr run cmd_ScriptEventCode TDX_CST, iActionID=0, crn=0[0|0|0|0|0][DE_RINGS|ET_RON||||] 112521.359 6 7 ScriptEvent TDX_CST DE_RINGS|ET_RON| 112521.937 18 7 ev Dialogic 135,TDX_SETHOOK, crn=10000002, 0,0,0,DX_OFFHOOK,CALL_INBOUND, 112521.937 18 7 tqScr enq cmd_ScriptEventCode 112521.937 6 7 tqScr run cmd_ScriptEventCode TDX_SETHOOK, iActionID=0, crn=0[0|0|0|0|0][DX_OFFHOOK|CALL_INBOUND||||] 112521.937 6 7 ScriptEvent TDX_SETHOOK DX_OFFHOOK|CALL_INBOUND| 112521.937 18 7 ev CallState sEvent=LINECALLSTATE_CONNECTED, crn=10000002, iEvent=2 ,256,0,,,] 112521.937 18 7 callstate: CONNECTED crn=10000002,ev=2,LINECALLSTATE_CONNECTED,1,0 112521.937 18 7 Set_hCall crn=10000002, called from LINECALLSTATE_CONNECTED 112521.937 18 7 Inband detection not enabled 112521.937 18 7 StartLoadedVgs at 2008-10-21 11:25:21 7.0.3196.27307 (Wed 01/10/2008 14:10:09.06) 112521.937 18 7 StartLoadedVgs LineState.iVgsIdx=1 112521.937 18 7 rvns add [scriptPath]{C:\Chatline\scripts\} 112521.937 18 7 rvns add [scriptsPath]{C:\Chatline\scripts\} 112521.937 18 7 set sScriptToRunOnHangup=[hangup_cleanup.vgs] in StartLoadedVgs 112521.937 18 7 rv add [$RV_STARTTIME]{2008-10-21 11:25:21} 112521.937 18 7 rv add [$RV_DEVICEID]{7} 112521.937 18 7 rv add [DlgcVoice]{dxxxB1C4} 112521.937 18 7 rv add [DlgcNetwork]{dxxxB1C4} 112521.937 18 7 rv add [$RV_CIDNAME]{} 112521.937 18 7 rvns add [PathApp]{C:\Program Files\VoiceGuide\} 112521.937 18 7 rvns add [scriptsPath]{C:\Chatline\scripts\} 112521.937 18 7 rv add [$RV_CIDNUMBER]{} 112521.937 18 7 t clear (force=False) 112521.937 18 7 RunModule start [Run VB Script,[LmRecInit],3] 112521.937 18 7 state [LmRecInit] type: VB Script, iRunWait=2 112521.937 18 7 rv replace start (strlen>500) 112521.937 18 7 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Chatline\scripts\}[scriptsPath]{C:\Chatline\scripts\}[$RV_STARTTIME]{2008-10-21 11:25:21}[$RV_DEVICEID]{7}[DlgcVoice]{dxxxB1C4}[DlgcNetwork]{dxxxB1C4}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\Chatline\scripts\}[$RV_CIDNUMBER]{} 112521.937 18 7 script will be ran from file: C:\Program Files\VoiceGuide\temp\vbs_7_1.vbs 112521.937 18 7 delete existing: C:\Program Files\VoiceGuide\temp\vbs_7_1.vbs 112521.953 18 7 current objVbsOrExeProcess= 112521.953 18 7 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_7_1.vbs][] timeout=60 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process) 112521.953 18 7 objVbsOrExeProcess.Start call 112521.968 18 7 RunVBScriptFile just started. Handle=12164, Id=5120, StartTime=10/21/2008 11:25:21 AM, HasExited=False 112521.968 18 7 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_7_1.vbs], ProcessHandle=[12164], VbsOrExeProcess.WorkingSet=[90112] 112521.968 18 7 RunModule_Script_AfterScriptStarted start 112521.968 18 7 waiting. iRunWait=2 (process:12164) 112521.968 18 7 t set 1 EV_TIMEOUT_CHECKONSTATE 112521.968 18 7 PrepareAndPlayWavAndTts start iModuleIdx=3, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=lmRecAfterBeep.wav 112521.968 18 7 PrepareAndPlayWavAndTTS sPlayFile=lmRecAfterBeep.wav 112521.968 18 7 state [LmRecInit] Playing wav (lmRecAfterBeep.wav) 112521.968 18 7 sOptionsXml= 112521.968 18 7 tif/pdf/jpg check 112521.968 18 7 timer not cleared before play as we are in VBScript module. 112521.968 18 7 ktTel_PlayStart_Enqueue call 112521.968 18 7 tqTel que cmd_PlayStart [0,0,0][0||] 112521.968 18 7 play start ok, playId=843656 112521.968 7 7 tqTel run cmd_PlayStart 112522.421 15 rem vgRemotingCommandLink constructor start, parmameterless 112522.421 15 remoting link constructor activated: vgServices_CommandLink 112522.437 15 7 rem Run_ResultReturn [[LmRecFilename]{__1021112522_1_7_.wav}] 112522.437 15 7 rvns add [LmRecFilename]{__1021112522_1_7_.wav} 112522.437 15 7 FindNextVgmTitleInPathList: next module title is=[LmSetSilenceDetectLen] 112522.437 15 7 module's runwait=2, WavPlayHasNowFinished=0, iRunWait_ExeResult_NextVgm=8 112522.437 15 7 wait till WAV finished then goto [LmSetSilenceDetectLen] (idx=8) 112522.984 4 7 timer fired EV_TIMEOUT_CHECKONSTATE 112522.984 4 7 tqScr enq cmd_ScriptEventCode 112522.984 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_CHECKONSTATE, iActionID=0, crn=0[0|0|0|0|0][|||||] 112522.984 6 7 ScriptEvent EV_TIMEOUT_CHECKONSTATE || 112522.984 6 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE lCode2Str=EV_TIMEOUT_CHECKONSTATE 112522.984 6 7 Process.HasExited is true (System.Diagnostics.Process (wscript)) 112522.984 6 7 task completed. vgm=3, iRunWait=2, iRunWait_ExeResult_NextVgm=8=[LmSetSilenceDetectLen] 112522.984 6 7 next module already set. no need to check for Result file 112522.984 6 7 RunWait option requires us to wait till after wav finishes playing 112529.187 18 7 ev PlayEnd 7 843656 112529.187 18 7 play end id=843656, (current ID) 112529.187 18 7 tqScr enq cmd_ScriptEventCode 112529.187 6 7 tqScr run cmd_ScriptEventCode EV_PLAY_FINISHED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112529.187 6 7 ScriptEvent EV_PLAY_FINISHED || 112529.187 6 7 LsRunWaitTillFinished EV_PLAY_FINISHED lCode2Str=EV_PLAY_FINISHED 112529.187 6 7 path {EV_PLAY_FINISHED} not found 112529.187 6 7 next module was already set. lets start next module. iRunWait_ExeResult_NextVgm=8, =[LmSetSilenceDetectLen] 112529.187 6 7 t clear (force=False) 112529.187 6 7 RunModule start [Evaluate,[LmSetSilenceDetectLen],8] 112529.187 6 7 state [LmSetSilenceDetectLen] Evaluate [50] 112529.187 6 7 eval[50] 112529.203 6 7 CreateInstance ScriptControl objSC is: [system.__ComObject] 112529.203 6 7 rvns add [LmSetSilenceDetectLen_Input]{50} 112529.203 6 7 rvns add [LmSetSilenceDetectLen]{50} 112529.203 6 7 rvns add [silenceDetectLen]{50} 112529.203 6 7 SilenceDetectSet(7, 50, 10) 112529.203 6 7 tqTel que cmd_SilenceDetectSet [50,10,0][50||] 112529.203 6 7 Eval Expr result:[50] stored in RV[silenceDetectLen] 112529.203 7 7 tqTel run cmd_SilenceDetectSet 112529.203 6 7 path {50} not found 112529.203 6 7 matching path not found [50], try boolean paths. 112529.203 6 7 ex: ScriptIo.VGMTYPE_EVALEXPR [50] could not be converted to boolean. Take Success path as string non-empty. 112529.203 6 7 FindNextVgmTitleInPathList: next module title is=[LmRec] 112529.203 6 7 matching path found (Boolean True) 112529.203 6 7 t clear (force=False) 112529.203 6 7 RunModule start [Record,[LmRec],1] 112529.203 6 7 rv replace start: [$RV[PathLeaveMsg]\$RV[LmRecFilename]] 112529.203 6 7 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Chatline\scripts\}[scriptsPath]{C:\Chatline\scripts\}[$RV_STARTTIME]{2008-10-21 11:25:21}[$RV_DEVICEID]{7}[DlgcVoice]{dxxxB1C4}[DlgcNetwork]{dxxxB1C4}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\Chatline\scripts\}[$RV_CIDNUMBER]{}[LmRecFilename]{__1021112522_1_7_.wav}[LmSetSilenceDetectLen _Input]{50}[LmSetSilenceDetectLen]{50}[silenceDetectLen]{50} 112529.203 6 7 rv replace end: [\__1021112522_1_7_.wav] 112529.203 6 7 rv add [LmRec]{C:\Chatline\scripts\\__1021112522_1_7_.wav} 112529.203 6 7 RecSoundStart [C:\Chatline\scripts\\__1021112522_1_7_.wav] call beep=True 112529.203 6 7 state [LmRec] Recording C:\Chatline\scripts\\__1021112522_1_7_.wav 112529.203 6 7 tqTel que cmd_SilenceDetectSet [50,10,0][50||] 112529.203 6 7 tqTel que cmd_RecordFileStart [6,1,0][6||] 112529.203 7 7 tqTel run cmd_SilenceDetectSet 112529.203 7 7 tqTel run cmd_RecordFileStart 112529.203 6 7 RecSoundStart [C:\Chatline\scripts\\__1021112522_1_7_.wav] ok 112529.203 6 7 t set 200 EV_TIMEOUT_GOTOMODULE 112547.015 18 7 tqScr enq cmd_ScriptEventCode 112547.015 18 7 ev Dialogic 130,TDX_RECORD, crn=10000002, 0,0,0,TM_MAXSIL,, 112547.015 6 7 tqScr run cmd_ScriptEventCode EV_SILENCE_DETECTED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112547.015 6 7 ScriptEvent EV_SILENCE_DETECTED || 112547.015 18 7 tqScr enq cmd_ScriptEventCode 112547.015 6 7 LsRecRecording EV_SILENCE_DETECTED,EV_SILENCE_DETECTED 112547.015 6 7 path {EV_SILENCE_DETECTED} not found 112547.015 6 7 RecSoundStop begin trunc100ms=50, sCaller=EV_SILENCE_DETECTED 112547.015 6 7 tqTel que cmd_RecordStop [5000,0,0][5000||] 112547.015 6 7 rv rec length: LmRec_RecLen100ms = 128 112547.015 6 7 rv add [LmRec_RecLen100ms]{128} 112547.015 6 7 rv add [LmRec_EndRecCause]{silence} 112547.015 6 7 path {silence} found (at offset 421) 112547.015 6 7 FindNextVgmTitleInPathList: next module title is=[lmRec_CheckRecLength] 112547.015 7 7 tqTel run cmd_RecordStop 112547.015 6 7 tqScr run cmd_ScriptEventCode TDX_RECORD, iActionID=0, crn=0[0|0|0|0|0][TM_MAXSIL|||||] 112547.015 6 7 ScriptEvent TDX_RECORD TM_MAXSIL|| 112547.015 6 7 LsRecRecording EV_UNKNOWN_130,TDX_RECORD 112547.015 6 7 path {TDX_RECORD} not found 112547.015 18 7 tqScr enq cmd_ScriptEventCode 112547.015 6 7 tqScr run cmd_ScriptEventCode EV_REC_FINISHED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112547.015 6 7 ScriptEvent EV_REC_FINISHED || 112547.015 6 7 LsRecRecording EV_REC_FINISHED,EV_REC_FINISHED 112547.015 6 7 path {EV_REC_FINISHED} not found 112547.015 6 7 rec complete event arrived. going to previously selected next module. 112547.015 6 7 t clear (force=False) 112547.015 6 7 RunModule start [Evaluate,[lmRec_CheckRecLength],9] 112547.015 6 7 state [lmRec_CheckRecLength] Evaluate [$RV[LmRec_RecLen100ms] > 40] 112547.015 6 7 rv replace start: [$RV[LmRec_RecLen100ms] > 40] 112547.015 6 7 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Chatline\scripts\}[scriptsPath]{C:\Chatline\scripts\}[$RV_STARTTIME]{2008-10-21 11:25:21}[$RV_DEVICEID]{7}[DlgcVoice]{dxxxB1C4}[DlgcNetwork]{dxxxB1C4}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\Chatline\scripts\}[$RV_CIDNUMBER]{}[LmRecFilename]{__1021112522_1_7_.wav}[LmSetSilenceDetectLen _Input]{50}[LmSetSilenceDetectLen]{50}[silenceDetectLen]{50}[LmRec]{C:\Chatline\scripts\\__1021112522_1_7_.wav}[LmRec_RecLen100ms]{128}[LmRec_EndRecCause]{silence} 112547.015 6 7 rv replace end: [128 > 40] 112547.015 6 7 eval[128 > 40] 112547.015 6 7 CreateInstance ScriptControl objSC is: [system.__ComObject] 112547.031 6 7 rvns add [lmRec_CheckRecLength_Input]{128 > 40} 112547.031 6 7 rvns add [lmRec_CheckRecLength]{True} 112547.031 6 7 Eval Expr result:[True] 112547.031 6 7 path {True} not found 112547.031 6 7 matching path not found [True], try boolean paths. 112547.031 6 7 FindNextVgmTitleInPathList: next module title is=[LmMenu] 112547.031 6 7 matching path found (Boolean True) 112547.031 6 7 t clear (force=False) 112547.031 6 7 RunModule start [Run VB Script,[LmMenu],4] 112547.031 6 7 state [LmMenu] type: VB Script, iRunWait=1 112547.031 6 7 rv replace start (strlen>500) 112547.031 6 7 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Chatline\scripts\}[scriptsPath]{C:\Chatline\scripts\}[$RV_STARTTIME]{2008-10-21 11:25:21}[$RV_DEVICEID]{7}[DlgcVoice]{dxxxB1C4}[DlgcNetwork]{dxxxB1C4}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\Chatline\scripts\}[$RV_CIDNUMBER]{}[LmRecFilename]{__1021112522_1_7_.wav}[LmSetSilenceDetectLen _Input]{50}[LmSetSilenceDetectLen]{50}[silenceDetectLen]{50}[LmRec]{C:\Chatline\scripts\\__1021112522_1_7_.wav}[LmRec_RecLen100ms]{128}[LmRec_EndRecCause]{silence}[ lmRec_CheckRecLength_Input]{128 > 40}[lmRec_CheckRecLength]{True} 112547.031 6 7 script will be ran from file: C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs 112547.031 6 7 delete existing: C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs 112547.046 6 7 current objVbsOrExeProcess= 112547.046 6 7 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs][] timeout=60 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process) 112547.046 6 7 objVbsOrExeProcess.Start call 112547.062 6 7 RunVBScriptFile just started. Handle=12024, Id=5996, StartTime=10/21/2008 11:25:47 AM, HasExited=False 112547.062 6 7 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_7_2.vbs], ProcessHandle=[12024], VbsOrExeProcess.WorkingSet=[90112] 112547.062 6 7 RunModule_Script_AfterScriptStarted start 112547.062 6 7 waiting. iRunWait=1 (process:12024) 112547.062 6 7 t set 1 EV_TIMEOUT_CHECKONSTATE 112547.484 15 remoting link constructor activated: vgServices_CommandLink 112547.500 15 7 comlg lm LmMenu key=silence 112547.515 15 7 rem Script_Goto 7, , LmMenuPlay, 112547.515 15 7 NewVgsVgm_Goto ,LmMenuPlay,,,,0 112547.515 15 7 NewVgsVgm_Goto_Setup dest=|LmMenuPlay, return=|, lSaveSourceOnCallStack=0 112547.515 15 7 t clear (force=False) 112547.515 15 7 RunModule start [Play,[LmMenuPlay],6] 112547.515 15 7 state [LmMenuPlay] Playing 112547.515 15 7 asr no grammar file found [C:\Chatline\scripts\srgs_LmMenuPlay_4.gram][C:\Chatline\scripts\srgs_LmMenuPlay.gram][C:\Chatline\scripts\srgs_LmMenuPlay_4.txt][C:\Chatline\scripts\srgs_LmMenuPlay.txt] 112547.515 15 7 PrepareAndPlayWavAndTts start iModuleIdx=6, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs= 112547.515 15 7 PrepareAndPlayWavAndTTS sPlayFile=MeMsgs\LmMenu1Play.wav 112547.515 15 7 state [LmMenuPlay] Playing wav (MeMsgs\LmMenu1Play.wav) 112547.515 15 7 sOptionsXml= 112547.515 15 7 tif/pdf/jpg check 112547.515 15 7 t clear (force=False) 112547.515 15 7 ktTel_PlayStart_Enqueue call 112547.515 15 7 tqTel que cmd_PlayStart [0,0,0][0||] 112547.515 15 7 play start ok, playId=869203 112547.515 7 7 tqTel run cmd_PlayStart 112547.515 15 2 NewVgsVgm_Goto end 112602.984 18 7 ev PlayEnd 7 869203 112602.984 18 7 play end id=869203, (current ID) 112602.984 18 7 tqScr enq cmd_ScriptEventCode 112602.984 6 7 tqScr run cmd_ScriptEventCode EV_PLAY_FINISHED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112602.984 6 7 ScriptEvent EV_PLAY_FINISHED || 112602.984 6 7 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED 112602.984 6 7 path {EV_PLAY_FINISHED} not found 112602.984 6 7 iCurrReplayCount=0, iMaxReplayCount=2 112602.984 6 7 t set 3 EV_TIMEOUT_REPLAYMSG 112606.187 3 7 timer fired EV_TIMEOUT_REPLAYMSG 112606.187 3 7 tqScr enq cmd_ScriptEventCode 112606.187 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_REPLAYMSG, iActionID=0, crn=0[0|0|0|0|0][|||||] 112606.187 6 7 ScriptEvent EV_TIMEOUT_REPLAYMSG || 112606.187 6 7 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG,EV_TIMEOUT_REPLAYMSG, [ ], [ ], [] 112606.187 6 7 path {EV_TIMEOUT_REPLAYMSG} not found 112606.187 6 7 PrepareAndPlayWavAndTts start iModuleIdx=6, iPlayFileIdx=1, bMakeTtsFile=False, sSoundFileIs= 112606.187 6 7 PrepareAndPlayWavAndTTS sPlayFile=MeMsgs\LmMenu1Play.wav 112606.187 6 7 state [LmMenuPlay] Playing wav (MeMsgs\LmMenu1Play.wav) 112606.187 6 7 sOptionsXml= 112606.187 6 7 tif/pdf/jpg check 112606.187 6 7 t clear (force=False) 112606.187 6 7 ktTel_PlayStart_Enqueue call 112606.187 6 7 tqTel que cmd_PlayStart [0,0,0][0||] 112606.187 6 7 play start ok, playId=887875 112606.187 7 7 tqTel run cmd_PlayStart 112621.656 18 7 ev PlayEnd 7 887875 112621.656 18 7 play end id=887875, (current ID) 112621.656 18 7 tqScr enq cmd_ScriptEventCode 112621.656 6 7 tqScr run cmd_ScriptEventCode EV_PLAY_FINISHED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112621.656 6 7 ScriptEvent EV_PLAY_FINISHED || 112621.656 6 7 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED 112621.656 6 7 path {EV_PLAY_FINISHED} not found 112621.656 6 7 iCurrReplayCount=1, iMaxReplayCount=2 112621.656 6 7 t set 3 EV_TIMEOUT_REPLAYMSG 112624.890 4 7 timer fired EV_TIMEOUT_REPLAYMSG 112624.890 4 7 tqScr enq cmd_ScriptEventCode 112624.890 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_REPLAYMSG, iActionID=0, crn=0[0|0|0|0|0][|||||] 112624.890 6 7 ScriptEvent EV_TIMEOUT_REPLAYMSG || 112624.890 6 7 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG,EV_TIMEOUT_REPLAYMSG, [ ], [ ], [] 112624.890 6 7 path {EV_TIMEOUT_REPLAYMSG} not found 112624.890 6 7 PrepareAndPlayWavAndTts start iModuleIdx=6, iPlayFileIdx=1, bMakeTtsFile=False, sSoundFileIs= 112624.890 6 7 PrepareAndPlayWavAndTTS sPlayFile=MeMsgs\LmMenu1Play.wav 112624.890 6 7 state [LmMenuPlay] Playing wav (MeMsgs\LmMenu1Play.wav) 112624.890 6 7 sOptionsXml= 112624.890 6 7 tif/pdf/jpg check 112624.890 6 7 t clear (force=False) 112624.890 6 7 ktTel_PlayStart_Enqueue call 112624.890 6 7 tqTel que cmd_PlayStart [0,0,0][0||] 112624.890 6 7 play start ok, playId=906578 112624.890 7 7 tqTel run cmd_PlayStart 112640.343 18 7 ev PlayEnd 7 906578 112640.343 18 7 play end id=906578, (current ID) 112640.343 18 7 tqScr enq cmd_ScriptEventCode 112640.343 6 7 tqScr run cmd_ScriptEventCode EV_PLAY_FINISHED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112640.343 6 7 ScriptEvent EV_PLAY_FINISHED || 112640.343 6 7 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED 112640.343 6 7 path {EV_PLAY_FINISHED} not found 112640.343 6 7 iCurrReplayCount=2, iMaxReplayCount=2 112640.343 6 7 t set 10 EV_TIMEOUT_HANGUP 112640.343 6 7 t set 2 EV_TIMEOUT_GOTOMODULE 112642.500 4 7 timer fired EV_TIMEOUT_GOTOMODULE 112642.500 4 7 tqScr enq cmd_ScriptEventCode 112642.500 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_GOTOMODULE, iActionID=0, crn=0[0|0|0|0|0][|||||] 112642.500 6 7 ScriptEvent EV_TIMEOUT_GOTOMODULE || 112642.500 6 7 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE,EV_TIMEOUT_GOTOMODULE, [ ], [ ], [] 112642.500 6 7 path {EV_TIMEOUT_GOTOMODULE} not found 112642.500 6 7 FindNextVgmTitleInPathList: next module title is=[LmThanksMsg] 112642.500 6 7 t clear (force=False) 112642.500 6 7 RunModule start [Play,[LmThanksMsg],18] 112642.500 6 7 state [LmThanksMsg] Playing 112642.500 6 7 asr no grammar file found [C:\Chatline\scripts\srgs_LmThanksMsg_4.gram][C:\Chatline\scripts\srgs_LmThanksMsg.gram][C:\Chatline\scripts\srgs_LmThanksMsg_4.txt][C:\Chatline\scripts\srgs_LmThanksMsg.txt] 112642.500 6 7 PrepareAndPlayWavAndTts start iModuleIdx=18, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs= 112642.500 6 7 PrepareAndPlayWavAndTTS sPlayFile=MeMsgs\LmThanksMsg.wav 112642.500 6 7 state [LmThanksMsg] Playing wav (MeMsgs\LmThanksMsg.wav) 112642.500 6 7 sOptionsXml= 112642.500 6 7 tif/pdf/jpg check 112642.500 6 7 t clear (force=False) 112642.500 6 7 ktTel_PlayStart_Enqueue call 112642.500 6 7 tqTel que cmd_PlayStart [0,0,0][0||] 112642.500 6 7 play start ok, playId=924187 112642.500 7 7 tqTel run cmd_PlayStart 112645.734 18 7 ev PlayEnd 7 924187 112645.734 18 7 play end id=924187, (current ID) 112645.734 18 7 tqScr enq cmd_ScriptEventCode 112645.734 6 7 tqScr run cmd_ScriptEventCode EV_PLAY_FINISHED, iActionID=0, crn=0[0|0|0|0|0][|||||] 112645.734 6 7 ScriptEvent EV_PLAY_FINISHED || 112645.734 6 7 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED 112645.734 6 7 path {EV_PLAY_FINISHED} not found 112645.734 6 7 iCurrReplayCount=0, iMaxReplayCount=0 112645.734 6 7 t set 10 EV_TIMEOUT_HANGUP 112645.734 6 7 t set 0 EV_TIMEOUT_GOTOMODULE 112645.734 6 7 tqScr enq cmd_ScriptEventCode 112645.734 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_GOTOMODULE, iActionID=0, crn=0[0|0|0|0|0][|||||] 112645.734 6 7 ScriptEvent EV_TIMEOUT_GOTOMODULE || 112645.734 6 7 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE,EV_TIMEOUT_GOTOMODULE, [ ], [ ], [] 112645.734 6 7 path {EV_TIMEOUT_GOTOMODULE} not found 112645.734 6 7 FindNextVgmTitleInPathList: next module title is=[LmHangup] 112645.734 6 7 t clear (force=False) 112645.734 6 7 RunModule start [Hangup the Call,[LmHangup],7] 112645.734 6 7 HangupCall ('and any associated'=False), source=Hangup Module 112645.734 6 7 state Hanging up call... [Hangup Module] 112645.734 6 7 rv add [Hangup Source]{Hangup Module} 112645.734 6 7 DropCall_ScriptRunStateAware start (crn=10000002) 112645.734 6 7 t set 1 EV_TIMEOUT_DELAY_ANALOG_DXDROP 112646.765 3 7 timer fired EV_TIMEOUT_DELAY_ANALOG_DXDROP 112646.765 3 7 tqScr enq cmd_ScriptEventCode 112646.765 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_DELAY_ANALOG_DXDROP, iActionID=0, crn=0[0|0|0|0|0][|||||] 112646.765 6 7 ScriptEvent EV_TIMEOUT_DELAY_ANALOG_DXDROP || 112646.765 6 7 t set 30 EV_TIMEOUT_WAITFORIDLEAFTERDropCall 112646.765 6 7 tqTel que cmd_DropCall [0,0,0][0||] 112646.765 7 7 tqTel run cmd_DropCall 112646.812 18 7 ev Dialogic 135,TDX_SETHOOK, crn=10000002, 0,0,0,DX_ONHOOK,, 112646.812 18 7 tqScr enq cmd_ScriptEventCode 112646.812 18 7 ev CallState sEvent=LINECALLSTATE_IDLE, crn=10000002, iEvent=2 ,1,0,,,] 112646.812 6 7 tqScr run cmd_ScriptEventCode TDX_SETHOOK, iActionID=0, crn=0[0|0|0|0|0][DX_ONHOOK|||||] 112646.812 18 7 callstate: IDLE crn=10000002,ev=2,LINECALLSTATE_IDLE,0,0 112646.812 6 7 ScriptEvent TDX_SETHOOK DX_ONHOOK|| 112646.812 18 7 t clear (force=True) 112646.812 6 7 LsEndingCall TDX_SETHOOK 112646.812 18 7 CallData.dateCallStartTime=10/21/2008 11:25:18 AM 112646.812 18 7 rv add [CallHangupTime]{2008-10-21 11:26:46} 112646.812 18 7 WriteCDRlogs: begin (campaign=, CallData.iLineId=0) 112646.812 18 7 writing CDR logs 112646.812 18 7 VG.INI/Log/CDR_LastData_SaveRv=0 - RVs XML will NOT be saved in LastApplicationData CDR field. 112646.812 18 7 CDR (in) : "","","","","","0","","C:\Chatline\scripts\leave msg.vgs","","2008-10-21 11:25:18","2008-10-21 11:25:21","2008-10-21 11:26:46",88,85,"ANSWERED","" 112646.828 18 7 CDR SQL: INSERT INTO CdrIn (Account, Src, Dst, Dcontext, Clid, Channel, Dstchannel, Lastapp, Lastdata, Start, Answer, Hangup, Duration, Billsec, Disposition, Amaflags) VALUES ('','','','','','0','','C:\Chatline\scripts\leave msg.vgs','','2008-10-21 11:25:18','2008-10-21 11:25:21','2008-10-21 11:26:46',88,85,'ANSWERED','') 112646.828 18 7 sIni_CDRLOG_ODBC_ConnectString not set. CDR not saved to database. 112646.828 10 0 Db_LogCdr assign sql 112646.828 10 0 Db_LogCdr ExecuteNonQuery call 112646.828 18 7 after hangup script: [hangup_cleanup.vgs] 112646.828 18 7 FindFullPathToScript_VgsOrVgp start [C:\Chatline\scripts\hangup_cleanup.vgs] 112646.828 18 7 after hangup script FullPath: [C:\Chatline\scripts\hangup_cleanup.vgs] 112646.828 18 LoadedVgs_Find C:\Chatline\scripts\hangup_cleanup.vgs at idx=2 112646.828 18 7 After Hangup script started (from LineEvCallState() LINECALLSTATE_IDLE handler) 112646.828 18 7 t clear (force=False) 112646.828 18 7 RunModule start [Evaluate,[hangupUsersOnline_Decrement],19] 112646.828 18 7 state [hangupUsersOnline_Decrement] Evaluate [$RV[usersOnline] - 1] 112646.828 18 7 rv replace start: [$RV[usersOnline] - 1] 112646.828 18 7 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Chatline\scripts\}[scriptsPath]{C:\Chatline\scripts\}[$RV_STARTTIME]{2008-10-21 11:25:21}[$RV_DEVICEID]{7}[DlgcVoice]{dxxxB1C4}[DlgcNetwork]{dxxxB1C4}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\Chatline\scripts\}[$RV_CIDNUMBER]{}[LmRecFilename]{__1021112522_1_7_.wav}[LmSetSilenceDetectLen _Input]{50}[LmSetSilenceDetectLen]{50}[silenceDetectLen]{50}[LmRec]{C:\Chatline\scripts\\__1021112522_1_7_.wav}[LmRec_RecLen100ms]{128}[LmRec_EndRecCause]{silence}[ lmRec_CheckRecLength_Input]{128 > 40}[lmRec_CheckRecLength]{True}[Hangup Source]{Hangup Module}[CallHangupTime]{2008-10-21 11:26:46} 112646.828 18 7 rv replace end: [-1 - 1] 112646.828 18 7 eval[-1 - 1] 112646.828 10 0 Db_LogCdr ExecuteNonQuery returned 112646.828 18 7 CreateInstance ScriptControl objSC is: [system.__ComObject] 112646.843 18 7 rv add [hangupUsersOnline_Decrement_Input]{-1 - 1} 112646.843 18 7 rv add [hangupUsersOnline_Decrement]{-2} 112646.843 18 7 rv add [usersOnline]{-2} 112646.843 18 7 Eval Expr result:[-2] stored in RV[usersOnline] 112646.843 18 7 path {-2} not found 112646.843 18 7 matching path not found [-2], try boolean paths. 112646.843 18 7 ex: ScriptIo.VGMTYPE_EVALEXPR [-2] could not be converted to boolean. Take Success path as string non-empty. 112646.843 18 7 FindNextVgmTitleInPathList: next module title is=[hangupUpdateDb] 112646.843 18 7 matching path found (Boolean True) 112646.843 18 7 t clear (force=False) 112646.843 18 7 RunModule start [Run VB Script,[hangupUpdateDb],20] 112646.843 18 7 state [hangupUpdateDb] type: VB Script, iRunWait=0 112646.843 18 7 rv replace start (strlen>500) 112646.843 18 7 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Chatline\scripts\}[scriptsPath]{C:\Chatline\scripts\}[$RV_STARTTIME]{2008-10-21 11:25:21}[$RV_DEVICEID]{7}[DlgcVoice]{dxxxB1C4}[DlgcNetwork]{dxxxB1C4}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\Chatline\scripts\}[$RV_CIDNUMBER]{}[LmRecFilename]{__1021112522_1_7_.wav}[LmSetSilenceDetectLen _Input]{50}[LmSetSilenceDetectLen]{50}[silenceDetectLen]{50}[LmRec]{C:\Chatline\scripts\\__1021112522_1_7_.wav}[LmRec_RecLen100ms]{128}[LmRec_EndRecCause]{silence}[ lmRec_CheckRecLength_Input]{128 > 40}[lmRec_CheckRecLength]{True}[Hangup Source]{Hangup Module}[CallHangupTime]{2008-10-21 11:26:46}[hangupUsersOnline_Decrement_Input]{-1 - 1}[hangupUsersOnline_Decrement]{-2}[usersOnline]{-2} 112646.843 18 7 script will be ran from file: C:\Program Files\VoiceGuide\temp\vbs_7_3.vbs 112646.843 18 7 delete existing: C:\Program Files\VoiceGuide\temp\vbs_7_3.vbs 112646.859 18 7 current objVbsOrExeProcess= 112646.859 18 7 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_7_3.vbs][] timeout=60 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process) 112646.859 18 7 objVbsOrExeProcess.Start call 112646.875 18 7 RunVBScriptFile just started. Handle=12108, Id=5808, StartTime=10/21/2008 11:26:46 AM, HasExited=False 112646.875 18 7 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_7_3.vbs], ProcessHandle=[12108], VbsOrExeProcess.WorkingSet=[106496] 112646.875 18 7 RunModule_Script_AfterScriptStarted start 112646.875 18 7 continuing... 112646.875 18 7 HangupCall ('and any associated'=False), source=Run script : no success path defined 112646.875 18 7 HangupCall line is in AfterHangupRun mode. linestate=[iDLE]. 112646.875 18 7 OnIDLE_CleanupAfterAllScritpsCompletedAndReleaseCall start 112646.875 18 7 WriteToLogFiles_CurrScriptOnly begin 112646.875 18 WriteToLogFiles_DoWrite begin : strLogFnameLessSuffix=C:\Chatline\scripts\hangup_cleanup 112646.875 18 WriteToLogFiles_DoWrite : log subdirectory does not exist: C:\Chatline\scripts\log 112646.921 18 7 LineState_Reinit_AndReleaseCall: crn=10000002 112646.921 18 7 LineState_Reinit_CleanLineState : begin 112646.921 18 7 strThisCallIsInboundOrOutbound clear. (LineState_Reinit_CleanLineState) 112646.921 18 7 t set 2 EV_TIMEOUT_AFTERIDLE_ALLOWOUT 112646.921 18 7 LineState_Reinit_CleanLineState : end 112646.921 18 7 tqTel que cmd_ReleaseCall [0,0,0][0||] 112646.921 7 7 tqTel run cmd_ReleaseCall 112646.921 7 7 ev CallState sEvent=GCEV_RELEASECALL, crn=10000002, iEvent=2137 ,0,0,,,] 112646.921 7 7 callstate: UNKNOWN2 crn=10000002,ev=2137,GCEV_RELEASECALL,0,0 112646.921 7 7 LineEvCallState_GCEV_RELEASECALL begin 112646.921 18 7 t set 2 EV_TIMEOUT_AFTERIDLE_ALLOWOUT 112646.921 18 7 state Waiting for a call... 112647.312 13 remoting link constructor activated: vgServices_CommandLink 112647.343 13 7 comlg hangup hangupUpdateDb - hangup in non-chargable time 112647.343 13 7 comlg hangup script end 112649.062 3 7 timer fired EV_TIMEOUT_AFTERIDLE_ALLOWOUT 112649.062 3 7 tqScr enq cmd_ScriptEventCode 112649.062 6 7 tqScr run cmd_ScriptEventCode EV_TIMEOUT_AFTERIDLE_ALLOWOUT, iActionID=0, crn=0[0|0|0|0|0][|||||] 112649.062 6 7 ScriptEvent EV_TIMEOUT_AFTERIDLE_ALLOWOUT || 112520.578 6 7 tqScr run cmd_ScriptEventCode 1, iActionID=0, crn=0[0|0|0|0|0][|||||] Share this post Link to post
SupportTeam Report post Posted 10/21/2008 07:56 AM Please read: http://www.voiceguide.com/vghelp/source/ht...ctiondetect.htm Share this post Link to post
kiran.mply Report post Posted 10/21/2008 08:44 AM Hey I followed the same as you suggested in the link. After doing that i did the above thing. Share this post Link to post
SupportTeam Report post Posted 10/21/2008 08:59 AM What frequency/cadence parameters did you arrive at after analyzing the recorded disconnect tone? Did you use those values in the ConfigLine.xml file? Please .ZIP up and post the ktTel trace capturing the startup and a test call. Please also .zIP up and post the recorded disconnect tone. Share this post Link to post
kiran.mply Report post Posted 10/21/2008 12:45 PM Hi I have attached the log and the disconnected tone. I have made the following changes in the ConfigLine.xml <Tone Name="Call Progress Tone TID_DISCONNECT"> <Notes>Default Setting</Notes> <ID>TID_DISCONNECT</ID> <Freq1>399</Freq1> <Freq1Dev>50</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>5</OnDev> <Off>75</Off> <OffDev>5</OffDev> <Count>2</Count> </Tone> I even attached the script file and the xml file Please check them. And one more thing i have set anything in the DCM TSFFileSupport=Yes DisconnectTone=Yes TSFFileName=your .tsf file. Do i need to set them. DisconnectedTone.zip ConfigLine.xml leave_msg.vgs Share this post Link to post
kiran.mply Report post Posted 10/21/2008 12:59 PM Sorry I mean i did both ways, first by setting these things and other by not setting these threee things. Both ways i didnot go to hang tone. And one more thing i have set anything in the DCM TSFFileSupport=Yes DisconnectTone=Yes TSFFileName=your .tsf file. Share this post Link to post
SupportTeam Report post Posted 10/21/2008 08:38 PM Please .ZIP up and post the ktTel trace (not vgEngine) capturing the startup and a test call. Share this post Link to post
kiran.mply Report post Posted 10/22/2008 04:24 AM Hi I have uploaded the file . Thanks for your quick replies and timely. I am ready to provide you all the necessary information. 1021_ktTel.txt Share this post Link to post
SupportTeam Report post Posted 10/22/2008 05:19 AM Please try using this setting: Tone Name="Call Progress Tone TID_DISCONNECT"> <Notes>Default Setting</Notes> <ID>TID_DISCONNECT</ID> <Freq1>400</Freq1> <Freq1Dev>100</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>20</OnDev> <Off>75</Off> <OffDev>20</OffDev> <Count>1</Count> </Tone> Suggest just concentrating on getting the detection working using the ConfigLine file, and don’t use TSF etc. Share this post Link to post
kiran.mply Report post Posted 10/22/2008 05:46 AM Hi I have set what you sugggested <Tone Name="Call Progress Tone TID_DISCONNECT"> <Notes>Default Setting</Notes> <ID>TID_DISCONNECT</ID> <Freq1>400</Freq1> <Freq1Dev>100</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>20</OnDev> <Off>75</Off> <OffDev>20</OffDev> <Count>1</Count> </Tone> I attached the new ktTel.txt and configline.xml I am still not getting the result 1022_ktTel.txt ConfigLine.xml Share this post Link to post
SupportTeam Report post Posted 10/22/2008 07:31 AM I assume that you hung up the call immediately after the call was answered, correct? What was recorded in the __1022111341_1_7_.wav file? Can you .ZIP up and post that file here? Trace shows the __1022111341_1_7_.wav recording was finished due to silence, so the disconnect tone if one was played did not play for a long time... Share this post Link to post
kiran.mply Report post Posted 10/22/2008 08:11 AM Yes, I hung up the call immediately after the call was answered. Here i am attaching the file. from trace I too observed that after the recording 2 messages are played and then the script stopped. __1022111341_1_7_.zip Share this post Link to post
SupportTeam Report post Posted 10/22/2008 08:44 AM Recording shows a clean repetitive disconnect tone with freq/cadence as expected. Not sure why the Dialogic card is not reporting this tone as being detected. Not sure what other changes have now been made to the Dialogic driver config, maybe some changes there are still interfering with the tone settings supplied by VoiceGuide (?). Are you using SR6.0 SU184 drivers? The next thing to try would be to uninstall both VoiceGuide and Dialogic and install Dialogic drivers again. This time do not make any changes to Dialogic settings at all. Just install VoiceGuide again and the ConfigLine.xml just make the change to the TID_DISCONNECT as advised. Share this post Link to post
kiran.mply Report post Posted 10/22/2008 10:30 AM Hi I have done what u said I uninstalled VoiceGiude next uninstalled Dialogig drivers. I made a thorough restart of system and installed DialogicDrivers and then Voice Guide. I have attached the trace file, THe last call made is the call after setting allthe elemnts in ConfigLine.xml <Tone Name="Call Progress Tone TID_DISCONNECT"> <Notes>Default Setting</Notes> <ID>TID_DISCONNECT</ID> <Freq1>400</Freq1> <Freq1Dev>100</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>20</OnDev> <Off>75</Off> <OffDev>20</OffDev> <Count>1</Count> </Tone> But still it doesn't work.What could be the reason. 1022_ktTel.txt Share this post Link to post
SupportTeam Report post Posted 10/22/2008 10:48 AM No idea why the Dialogic card would not report presence of this tone. Another thing to try would be to change the DISCONNECT_TAPI1 and maybe the DISCONNECT_TAPI2 settings as well. Maybe try this: <Tone Name="Call Progress Tone DISCONNECT_TAPI1"> <Notes>Default Setting</Notes> <ID>DISCONNECT_TAPI1</ID> <Freq1>400</Freq1> <Freq1Dev>200</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>30</OnDev> <Off>75</Off> <OffDev>30</OffDev> <Count>1</Count> </Tone> and see if that results in the DISCONNECT_TAPI1 tone to be reported... Share this post Link to post
kiran.mply Report post Posted 10/22/2008 11:35 AM Hi A Thousand million thanks to you. It worked after setting this <Tone Name="Call Progress Tone DISCONNECT_TAPI1"> <Notes>Default Setting</Notes> <ID>DISCONNECT_TAPI1</ID> <Freq1>400</Freq1> <Freq1Dev>200</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>30</OnDev> <Off>75</Off> <OffDev>30</OffDev> <Count>1</Count> </Tone> I am developing a sample/pilot project on the triall version.Once i confirm with my client I will contact you for more help Regards KiranM Share this post Link to post
kiran.mply Report post Posted 10/22/2008 11:52 AM Hi One more thing when the application hangsup after the completion of the call the caller is not getting the disconnected tone. He is not getting disconnected from the caller side. The other thing is how can i maintain a wait que when someone is already in the call i want to sent a wait message and ask him waid.when the first call is finished i want to make the second call into the process. How can I achive this. Do i need to make any settings,Can u please send me sample links or scripts Share this post Link to post
SupportTeam Report post Posted 10/22/2008 08:43 PM The DISCONNECT_TAPI1 etc. tones are extra 'custom' tones that VoiceGuide defines, and the TID_DISCONNECT is one of the Dialogic 'system' tones. Not sure why the system tone definition did not result in detection. Are you using SR6.0 SU184 drivers? (would need to see trace to confirm that it was DISCONNECT_TAPI1 that was detected.) One more thing when the application hangsup after the completion of the call the caller is not getting the disconnected tone. Is that different to if the call was answered by a normal analog phone and then the analog phone hung up? (It is common for disconnect ton to not be played to caller if recipient of call hangs up first) The other thing is how can i maintain a wait que when someone is already in the call i want to sent a wait message and ask him waid.when the first call is finished i want to make the second call into the process. Are you trying to do an ACD system or something else? Please post your current script and explain in more detail what you are trying to do. Share this post Link to post
kiran.mply Report post Posted 10/23/2008 05:16 AM Hi "The DISCONNECT_TAPI1 etc. tones are extra 'custom' tones that VoiceGuide defines, and the TID_DISCONNECT is one of the Dialogic 'system' tones. Not sure why the system tone definition did not result in detection. Are you using SR6.0 SU184 drivers? (would need to see trace to confirm that it was DISCONNECT_TAPI1 that was detected.)" I did not understand what is meant by SR6.0 SU184 drivers. I am using Voice guide 6.0.3010,I am wrong how can check for SR6.0 SU184 drivers. As you have asked I am sending you the 1022_ktTel.txt Let us first check why its not getting disconnected with TID_DISCONNECT I have a lot of issues ,we will go one by one , i will be soon sending my exact project description. 1022_ktTel.txt Share this post Link to post
SupportTeam Report post Posted 10/23/2008 05:29 AM I am using Voice guide 6.0.3010 The traces you have been posting are from v7: 165646.171 6088 ------------------------------------------------------------------------------ 165646.171 6088 ktTel_SR60 DLL v7.0.7, created: Sep 26 2008, 17:15:31 165646.171 6088 start at 1022 165646.171 165646.171 6088 ------------------------------------------------------------------------------ The script editor that ships with v7 is still (for now) the same one as used in v6, and script editor is labelled as v6, but you are actually using VoiceGuide v7 I did not understand what is meant by SR6.0 SU184 drivers. Which Dialogic drivers did you install? Trace shows the Dialogic card reported that the DISCONNECT_TAPI1 and DISCONNECT_TAPI2 tones were detected : 165902.796 4424 7 ev TDX_CST (CST Event Received) 165902.796 4424 7 TDX_CST DE_TONEON cst_data=1013 165902.796 4424 7 tone description retrieve hli=0F19CFF8, iToneUserID[1]=1013 sToneUserName[1]=[DISCONNECT_TAPI1] 165902.796 4424 7 raise Dialogic TDX_CST 134 (1013 0 0 DE_TONEON DISCONNECT_TAPI1 ) 165902.796 4424 7 CTelProxy::Event_CallState m_pktTelProxyClient=00901400 165902.796 4424 7 raise CallState LINECALLSTATE_DISCONNECTED-FAX 165902.812 4264 7 fn RecordStop(iLineId=7, iActionID=0, sFileName=, iTruncTimeMs=0, iTruncBytes=0, sXMLOptions=) 165902.812 4264 7 TelDriver_RecStop lTruncMs=0, lTruncBytes=0 165902.812 4264 7 dx_stopch call in RecStopTruncate 165902.812 4264 7 dx_stopch 7 ok in RecStopTruncate 165902.812 4424 7 CtEventProcess (from store) idx=10, evtdev=7, crn=00000000, evttype=134, data=0E878A08, len=16 (store: evinque=0, maxever=1) 165902.812 4424 7 ev TDX_CST (CST Event Received) 165902.812 4424 7 TDX_CST DE_TONEON cst_data=1014 165902.812 4424 7 tone description retrieve hli=0F19CFF8, iToneUserID[2]=1014 sToneUserName[2]=[DISCONNECT_TAPI2] 165902.812 4424 7 raise Dialogic TDX_CST 134 (1014 0 0 DE_TONEON DISCONNECT_TAPI2 ) Share this post Link to post
kiran.mply Report post Posted 10/23/2008 05:44 AM Hi I am attaching the files what I have installed. DialogicDriver.bmp Share this post Link to post
SupportTeam Report post Posted 10/23/2008 05:46 AM Go to: Start -> Programs -> Intel/Dialogic System Release - > Configuration Manager - DCM then from Help menu click About. Please post screenshot of what you see. Share this post Link to post
kiran.mply Report post Posted 10/23/2008 06:18 AM Hi I am attaching the file you have asked. Share this post Link to post
kiran.mply Report post Posted 10/23/2008 07:10 AM Hi Awaitng for your reply Share this post Link to post
SupportTeam Report post Posted 10/23/2008 07:57 AM Looks like you are using SR6.0 SU203. That should be fine. Strictly speaking the version of drivers that should be used is the one that is specified next to the VoiceGuide v7 download link, but a later version then that is usually OK. Share this post Link to post
kiran.mply Report post Posted 10/23/2008 10:35 AM Hi What my situation is I will be getting the call diverted by the a telephonic exchange. Here A is calling B, If the call is busy at B, this call is diverted to C by the telephonic exchange at B. At C i am having my Voice Guide Running Now here I am processing the call. At I will be asking a question and record it and save the call details. This will be a series of 6 to 7 question. Now the problem is how I am going to get the caller Id. I have to get the caller id of A, but I am getting the caller Id of B since it is diverted by B. Here I have to save all these recorded files in the corresponding directories based on the caller ID. One more thing when the application hangsup after the completion of the call the caller is not getting the disconnected tone. Is that different to if the call was answered by a normal analog phone and then the analog phone hung up? (It is common for disconnect ton to not be played to caller if recipient of call hangs up first) Now if here C is hanging the call A should be getting the Busy tone i,e, a disconnected tone But what happens here is he is getting a silence.. The caller A is unable to know he is hanged. One more thing at C i wait all the call to be answered, I need to maintain a que her and attend one call by one. This is done on a Anolog telephonic line using D/4PCIU card Help would be really appreciated for completion of my project Thnks Share this post Link to post
SupportTeam Report post Posted 10/23/2008 11:55 AM I have to get the caller id of A, but I am getting the caller Id of B since it is diverted by B. You'd need to speak with the phone company on this. They are the ones sending the CallerID information the phone lines. Now if here C is hanging the call A should be getting the Busy tone i,e, a disconnected tone You'd need to speak with the phone company on this. Its the phone company that would generate any disconnect tones. Share this post Link to post
kiran.mply Report post Posted 10/24/2008 02:15 PM Hi I am following script sThisScript = "leave msg.vgs" sThisModule = "LmRecInit" function ldgz(ByVal N) ' N presumed integer if (N>=0) and (N<10) then ldgz= "0"+Cstr(N) else ldgz=Cstr(N) end function Yr = Year(Now) : Mo = ldgz(Month(Now)) : Dy = ldgz(Day(Now)) Hr = ldgz(Hour(Now)) : Mi = ldgz(Minute(Now)) : Sc = ldgz(Second(Now)) sDateTimeStamp = Mo & Dy & Hr & Mi & Sc 'above is the alternate way of getting a Timestamp rather the using VGs Result Variables. iLineId = $RV_LINEID sFname = "$RV[TheOtherLoginID]_$RV[LoginID]_" & sDateTimeStamp & "_1_" & iLineId & "_.wav" Set vg = CreateObject("VoiceGuide.CommandLink") vg.Admin_TraceLogAdd 0, 0, "APMIP Data before RV_DEVICEID" iDeviceId = $RV_DEVICEID vg.Admin_TraceLogAdd 0, 0, "APMIP Data before RV_CIDNUMBER" iCallerID = $RV_CIDNUMBER 'iLineId = $RV_LINEID vg.Admin_TraceLogAdd 0, 0, "APMIP Data before RV_STARTTIME" iStartTime = $RV_STARTTIME vg.Admin_TraceLogAdd 0, 0, "APMIP Data" vg.Admin_TraceLogAdd iLineId, 0, "APMIP Data" vg.Admin_TraceLogAdd iLineId, 0, iStartTime vg.Admin_TraceLogAdd iLineId, 0, iDeviceId vg.Admin_TraceLogAdd iLineId, 0, iCallerID vg.Admin_TraceLogAdd iLineId, 0, iLineId sNewRv = "[LmRecFilename]{" & sFname & "}" sRet = vg.Run_ResultReturn(iLineId, sNewRv) Set vg = Nothing I am also attaching the trace file and vgs file. I am unable to get these details in Trace please help me. leave_msg.vgs 1024_1910_vgEngine.txt 1024_1913_vgEngine.txt Share this post Link to post
SupportTeam Report post Posted 10/24/2008 10:00 PM Is this a question about end of call / disconnect tone detection, or about something else? If this is a question about something else please post the question in a new thread and give more details about the question. Share this post Link to post