Guest Andy Haggard Report post Posted 08/02/2003 06:20 AM I am forwarding calls from VM modules which work fine if the call is answered. But if it rolls to the called VM then the system waits for the VM message to finish appropriately but then hangs up without leaving the message. What is wrong here? Thanks Share this post Link to post
SupportTeam Report post Posted 08/02/2003 07:56 AM This fix allows better control of VM messages delivered to Answering Machines. It is only to be applied to v5.0Beta12. v5.0Beta13 onwards will contain these updates. To use the fix: 1. Download attached .ZIP 2. update vgmulti.exe in VoiceGuide's directory 3. update vmMsgDeliver.vgs in the VoiceGudie's \data\vm\ directory. 4. add to VG.INI section [Voicemail] the following: ;if VmScript_VmDeliverAM_Script is set to VmMsgOnly ;then outgoing queued call will have just the Vm msg filename ;specified in the 'answering machine answers' field. ;Otherwise the script/module indicated will be used. VmScript_VmDeliverAM_Script=VmMsgOnly VmScript_VmDeliverAM_Module= ;VmScript_VmDeliverAM_Script=vmMsgDeliver.vgs ;VmScript_VmDeliverAM_Module=VmDelivAMStart PS. I believe that if you register for the forum you can get the responses forwarded to your email as soon as they are posted... Vm_msg_delivery_to_AM_fix_for_Beta_12.zip Share this post Link to post
Guest Guest Report post Posted 08/03/2003 03:34 PM Well, all installed, but no change. It waits for the message to be played and then immediately hangs up. It never begins playing the message. What's next? Share this post Link to post
SupportTeam Report post Posted 08/03/2003 11:58 PM Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong. (When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.) Share this post Link to post
Guest Andy Haggard Report post Posted 08/04/2003 12:38 AM Here's the log...... 194804.25 6 ring 2 194804.25 6 Answer the call at 8/3/2003 7:48:04 PM 194804.25 6 lineAnswer(66170) => 66153 194804.80 6 callstate CONNECTED 66170,1,0 194804.80 6 WorkingModeTAPI= 194804.80 6 WorkingModeScript= 194804.80 6 Inband detection not enabled 194804.80 6 StartLoadedVgs at 8/3/2003 7:48:04 PM 194804.80 6 tapi Reply 66153 0 194804.80 6 [Welcome to DNP] Playing 194804.80 6 [Welcome to DNP] Playing (C:\WINNT\data\VmWelc\Main_Greeting.wav) 194804.81 6 PlaySoundStart ok [C:\WINNT\data\VmWelc\Main_Greeting.wav] 194804.81 6 RunModule PLAY end 194807.20 6 dtmf 1 (49,2) 194807.20 6 LsPlayMsg 1 194808.22 6 PlaySoundStop ok 194808.23 6 [Get3Numbers] Number Input 194808.23 6 [Get3Numbers] Playing (C:\WINNT\data\VmWelc\Get_Numbers.wav) 194808.23 6 PlaySoundStart ok [C:\WINNT\data\VmWelc\Get_Numbers.wav] 194810.63 6 dtmf 4 (52,2) 194810.63 6 LsGetNbrsPlayWelcMsg 4 194811.64 6 PlaySoundStop ok 194811.64 6 [Get3Numbers] Number Input 4 194811.64 6 dtmf 5 (53,2) 194811.64 6 LsGetNbrsRxDigits 5 194811.66 6 [Get3Numbers] Number Input 45 194811.94 6 dtmf 0 (48,2) 194811.94 6 LsGetNbrsRxDigits 0 194811.94 6 [Get3Numbers] Number Input 450 194811.94 6 [GetAdCode] Number Input 194811.94 6 [GetAdCode] Playing () 194811.94 6 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 194812.48 6 dtmf 0 (48,2) 194812.48 6 LsGetNbrsRxDigits 0 194812.48 6 [GetAdCode] Number Input 0 194812.48 6 [LogEnteredCode] Evaluate ["$RV[Get3Numbers]$RV[GetAdCode]"] 194812.48 6 RVreplace start: ["$RV[Get3Numbers]$RV[GetAdCode]"] 194812.50 6 RVreplace end: ["4500"] 194812.50 6 .Eval(Cstr("4500")) 194812.50 6 Eval Expr result:[4500] stored in $RV[4DigitCode] 194812.50 6 RVreplace start: [on {true} goto [Voicemail Box $RV[Get3Numbers]] ] 194812.50 6 RVreplace end: [on {true} goto [Voicemail Box 450] ] 194812.50 6 RVreplace start: [Voicemail Box $RV[Get3Numbers]] 194812.50 6 RVreplace end: [Voicemail Box 450] 194812.50 0 Script Load C:\WINNT\system\vm\VmLm.vgs 194812.56 6 Loaded C:\WINNT\system\vm\VmLm.vgs into:2 194812.56 6 [VmLmStart] Running vb script:[VmLmHangup.vgs] 194825.44 0 Script Load C:\WINNT\system\vm\VmLmHangup.vgs 194825.44 6 Loaded VbsAtHangup into:3 194825.44 6 tapi Reply 66324 0 194825.44 6 [VmLmHangup_ForwardLastMsg] Running VB Script... 194825.44 6 RVreplace start (strlen>100) 194825.45 6 VBScript Run continuing... 194825.45 6 Hanging up call... [Run module 2479] 194825.45 6 HangupCall_Common Mode=AfterHangupRun 194825.45 6 ReinitTelephony due to IDLE start 194825.47 6 tapic lineDeallocateCall(MainCall:66170) 0 194825.52 6 lineOpen(6) => 0 194825.52 6 Waiting for a call... 194825.52 6 lineOpen(6)LineHandle=66290 194825.52 6 cl Vm_ForwardMsg 6, 450, C:\WINNT\data\VmSave\_0803194816_1_6__.wav 194825.52 6 vm frwrd vmb 450 194825.52 6 vm frwrd 450->999 194825.53 6 vm copy C:\WINNT\data\VmSave\_0803194816_1_6__.wav -> C:\WINNT\data\VmSave\999_0803194816_1_6__.wav 194825.53 6 vm frwrd vmb 999 194825.53 6 RVreplace start: [Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_NN $RV_DATE/$RV_MONTH] 194825.55 6 RVreplace end: [Voicemail recieved from , at 19:48 3/8] 194825.55 6 RVreplace start: [Voicemail recieved from: $RV_CIDNAME] 194825.55 6 RVreplace end: [Voicemail recieved from: ] 194825.55 6 vm frwrd phone: 9725672583 (scripted system) 194825.55 0 DialListDB_AddCall '9725672583', 0, 1, 2359, MoTuWeThFrSaSu, C:\WINNT\system\voicedlgc\VmbForwardAskAccept.wav, C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart, C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart, [PathSysVoice]{C:\WINNT\system\voicedlgc\}[PathDataVm]{C:\WINNT\data\}[VmbId]{450}[VmFileToPlay]{_0803194816_1_6__.wav}, 60, 2, 5 ESCALATION: 194825.55 6 RVreplace start: [Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_NN $RV_DATE/$RV_MONTH] 194825.55 6 RVreplace end: [Voicemail recieved from , at 19:48 3/8] 194825.55 6 RVreplace start: [Voicemail recieved from: $RV_CIDNAME] 194825.55 6 RVreplace end: [Voicemail recieved from: ] 194829.38 0 dial callque update id=16 next call time 0308031953 194829.38 6 dial found entry: tel[9725672583] ann[C:\WINNT\system\voicedlgc\VmbForwardAskAccept.wav] vgs[C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart] am[C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart] 194829.38 6 Dialing: 9725672583 194829.38 6 MakeCall => 66341 194829.39 6 TapiCbTrigSet 66341 7002 194829.98 6 tapi Reply 66341 0 194829.98 6 TapiCbTrigClear 194829.98 6 linedevstate 2048 0 0 194829.98 6 callstate DIALTONE 66136 0 0 194829.98 6 callstate DIALING 66136 0 0 194829.98 6 callstate PROCEEDING 66136 0 0 194829.98 6 callinfo CALLEDID 194829.98 6 callinfo REASON 194829.98 6 Lev_CallerID [0000,] 194829.98 6 callinfo ORIGIN 194901.33 6 callstate DISCONNECTED 66136,16,0 194901.33 6 LsWaitAfterDialingOut EV_REMOTEPARTY_DISCONNECT 194901.33 6 Answering machine, wait for end of welcome message... 194901.33 6 dial call answered by answering machine 194901.33 0 dial callque delete id=16 194901.33 6 RecSoundStart file[C:\WINNT\data\RecAm_6.wav] ok 194910.38 6 LsDialoutRecAnswerMachineWelcMsg EV_SILENCE_DETECTED 194911.39 6 RecSoundStop ok 194911.39 6 LsDialoutRecAnswerMachineWelcMsg EV_REC_FINISHED 194911.41 6 Run Answer Machine script [C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart] 194911.41 2 tr NewVgsVgm_Goto C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart,,,,,0 194911.41 6 ERROR 5.0.1024 Error: NewVgsVgm_Goto_Setup failed 194911.41 6 Hanging up call... [LsDialoutRecAnswerMachineWelcMsg NewVgsVgm_Goto] 194911.41 6 RecSoundStop ok 194911.41 6 PlaySoundStop ok 194911.41 6 Waiting for a call... 194911.41 6 fnHangupCall end 194911.44 6 linedevstate 2048 0 0 194911.44 6 callstate IDLE 66136 0 0 194911.45 6 WorkingMode@Idle= 194911.45 6 LineState(iLineId).iVgsIdx = 0 194911.45 6 tapi Reply 66358 0 194912.50 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 194912.50 6 ReinitTelephony due to IDLE start 194912.50 6 tapic lineDeallocateCall(MainCall:66136) 0 194912.56 6 lineOpen(6) => 0 194912.56 6 Waiting for a call... 194912.56 6 lineOpen(6)LineHandle=66221 Share this post Link to post
SupportTeam Report post Posted 08/04/2003 03:19 AM Please try this patch. .exe's go in VoiceGuide's directory. .vgs's go in VoiceGuide's \system\vm\ directory Vm_CID_fix.zip Share this post Link to post
Guest Andy Haggard Report post Posted 08/04/2003 04:49 AM Come on--this is getting old now. I have tried patch after patch but nothing. What's going on there? Here's the last log with error. Please give me something that works. 194804.25 6 ring 2 194804.25 6 Answer the call at 8/3/2003 7:48:04 PM 194804.25 6 lineAnswer(66170) => 66153 194804.80 6 callstate CONNECTED 66170,1,0 194804.80 6 WorkingModeTAPI= 194804.80 6 WorkingModeScript= 194804.80 6 Inband detection not enabled 194804.80 6 StartLoadedVgs at 8/3/2003 7:48:04 PM 194804.80 6 tapi Reply 66153 0 194804.80 6 [Welcome to DNP] Playing 194804.80 6 [Welcome to DNP] Playing (C:\WINNT\data\VmWelc\Main_Greeting.wav) 194804.81 6 PlaySoundStart ok [C:\WINNT\data\VmWelc\Main_Greeting.wav] 194804.81 6 RunModule PLAY end 194807.20 6 dtmf 1 (49,2) 194807.20 6 LsPlayMsg 1 194808.22 6 PlaySoundStop ok 194808.23 6 [Get3Numbers] Number Input 194808.23 6 [Get3Numbers] Playing (C:\WINNT\data\VmWelc\Get_Numbers.wav) 194808.23 6 PlaySoundStart ok [C:\WINNT\data\VmWelc\Get_Numbers.wav] 194810.63 6 dtmf 4 (52,2) 194810.63 6 LsGetNbrsPlayWelcMsg 4 194811.64 6 PlaySoundStop ok 194811.64 6 [Get3Numbers] Number Input 4 194811.64 6 dtmf 5 (53,2) 194811.64 6 LsGetNbrsRxDigits 5 194811.66 6 [Get3Numbers] Number Input 45 194811.94 6 dtmf 0 (48,2) 194811.94 6 LsGetNbrsRxDigits 0 194811.94 6 [Get3Numbers] Number Input 450 194811.94 6 [GetAdCode] Number Input 194811.94 6 [GetAdCode] Playing () 194811.94 6 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 194812.48 6 dtmf 0 (48,2) 194812.48 6 LsGetNbrsRxDigits 0 194812.48 6 [GetAdCode] Number Input 0 194812.48 6 [LogEnteredCode] Evaluate ["$RV[Get3Numbers]$RV[GetAdCode]"] 194812.48 6 RVreplace start: ["$RV[Get3Numbers]$RV[GetAdCode]"] 194812.50 6 RVreplace end: ["4500"] 194812.50 6 .Eval(Cstr("4500")) 194812.50 6 Eval Expr result:[4500] stored in $RV[4DigitCode] 194812.50 6 RVreplace start: [on {true} goto [Voicemail Box $RV[Get3Numbers]] ] 194812.50 6 RVreplace end: [on {true} goto [Voicemail Box 450] ] 194812.50 6 RVreplace start: [Voicemail Box $RV[Get3Numbers]] 194812.50 6 RVreplace end: [Voicemail Box 450] 194812.50 0 Script Load C:\WINNT\system\vm\VmLm.vgs 194812.56 6 Loaded C:\WINNT\system\vm\VmLm.vgs into:2 194812.56 6 [VmLmStart] Running vb script:[VmLmHangup.vgs] 194825.44 0 Script Load C:\WINNT\system\vm\VmLmHangup.vgs 194825.44 6 Loaded VbsAtHangup into:3 194825.44 6 tapi Reply 66324 0 194825.44 6 [VmLmHangup_ForwardLastMsg] Running VB Script... 194825.44 6 RVreplace start (strlen>100) 194825.45 6 VBScript Run continuing... 194825.45 6 Hanging up call... [Run module 2479] 194825.45 6 HangupCall_Common Mode=AfterHangupRun 194825.45 6 ReinitTelephony due to IDLE start 194825.47 6 tapic lineDeallocateCall(MainCall:66170) 0 194825.52 6 lineOpen(6) => 0 194825.52 6 Waiting for a call... 194825.52 6 lineOpen(6)LineHandle=66290 194825.52 6 cl Vm_ForwardMsg 6, 450, C:\WINNT\data\VmSave\_0803194816_1_6__.wav 194825.52 6 vm frwrd vmb 450 194825.52 6 vm frwrd 450->999 194825.53 6 vm copy C:\WINNT\data\VmSave\_0803194816_1_6__.wav -> C:\WINNT\data\VmSave\999_0803194816_1_6__.wav 194825.53 6 vm frwrd vmb 999 194825.53 6 RVreplace start: [Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_NN $RV_DATE/$RV_MONTH] 194825.55 6 RVreplace end: [Voicemail recieved from , at 19:48 3/8] 194825.55 6 RVreplace start: [Voicemail recieved from: $RV_CIDNAME] 194825.55 6 RVreplace end: [Voicemail recieved from: ] 194825.55 6 vm frwrd phone: 9725672583 (scripted system) 194825.55 0 DialListDB_AddCall '9725672583', 0, 1, 2359, MoTuWeThFrSaSu, C:\WINNT\system\voicedlgc\VmbForwardAskAccept.wav, C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart, C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart, [PathSysVoice]{C:\WINNT\system\voicedlgc\}[PathDataVm]{C:\WINNT\data\}[VmbId]{450}[VmFileToPlay]{_0803194816_1_6__.wav}, 60, 2, 5 ESCALATION: 194825.55 6 RVreplace start: [Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_NN $RV_DATE/$RV_MONTH] 194825.55 6 RVreplace end: [Voicemail recieved from , at 19:48 3/8] 194825.55 6 RVreplace start: [Voicemail recieved from: $RV_CIDNAME] 194825.55 6 RVreplace end: [Voicemail recieved from: ] 194829.38 0 dial callque update id=16 next call time 0308031953 194829.38 6 dial found entry: tel[9725672583] ann[C:\WINNT\system\voicedlgc\VmbForwardAskAccept.wav] vgs[C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart] am[C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart] 194829.38 6 Dialing: 9725672583 194829.38 6 MakeCall => 66341 194829.39 6 TapiCbTrigSet 66341 7002 194829.98 6 tapi Reply 66341 0 194829.98 6 TapiCbTrigClear 194829.98 6 linedevstate 2048 0 0 194829.98 6 callstate DIALTONE 66136 0 0 194829.98 6 callstate DIALING 66136 0 0 194829.98 6 callstate PROCEEDING 66136 0 0 194829.98 6 callinfo CALLEDID 194829.98 6 callinfo REASON 194829.98 6 Lev_CallerID [0000,] 194829.98 6 callinfo ORIGIN 194901.33 6 callstate DISCONNECTED 66136,16,0 194901.33 6 LsWaitAfterDialingOut EV_REMOTEPARTY_DISCONNECT 194901.33 6 Answering machine, wait for end of welcome message... 194901.33 6 dial call answered by answering machine 194901.33 0 dial callque delete id=16 194901.33 6 RecSoundStart file[C:\WINNT\data\RecAm_6.wav] ok 194910.38 6 LsDialoutRecAnswerMachineWelcMsg EV_SILENCE_DETECTED 194911.39 6 RecSoundStop ok 194911.39 6 LsDialoutRecAnswerMachineWelcMsg EV_REC_FINISHED 194911.41 6 Run Answer Machine script [C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart] 194911.41 2 tr NewVgsVgm_Goto C:\WINNT\system\vm\vmMsgDeliver.vgs|VmDelivStart,,,,,0 194911.41 6 ERROR 5.0.1024 Error: NewVgsVgm_Goto_Setup failed 194911.41 6 Hanging up call... [LsDialoutRecAnswerMachineWelcMsg NewVgsVgm_Goto] 194911.41 6 RecSoundStop ok 194911.41 6 PlaySoundStop ok 194911.41 6 Waiting for a call... 194911.41 6 fnHangupCall end 194911.44 6 linedevstate 2048 0 0 194911.44 6 callstate IDLE 66136 0 0 194911.45 6 WorkingMode@Idle= 194911.45 6 LineState(iLineId).iVgsIdx = 0 194911.45 6 tapi Reply 66358 0 194912.50 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 194912.50 6 ReinitTelephony due to IDLE start 194912.50 6 tapic lineDeallocateCall(MainCall:66136) 0 194912.56 6 lineOpen(6) => 0 194912.56 6 Waiting for a call... 194912.56 6 lineOpen(6)LineHandle=66221 Share this post Link to post
SupportTeam Report post Posted 08/04/2003 05:21 AM I can see from the trace that the patch was not applied. the trace is still from version 5.0.1024 of vgmulti.exe The version of vgmulti.exe in the Vm_CID_fix.zip patch is 5.0.1027 Share this post Link to post
Guest Andy Haggard Report post Posted 08/04/2003 06:09 AM Thanks....working now. Closing thread. Share this post Link to post