Guest lockerboy Report post Posted 10/07/2003 04:31 AM We have created a "clean-up script" called "onhangup.vgs". In script properties, we have set the "script to run when call is finished = onhangup.vgs". However, this script does not run. The script is one module - a DB query. We have tested this DB query in the first script and it works fine. We just need it to run even if the call is terminated in the middle of one of the modules. How do we get the clean-up script to run? VG v5.1 b2 Share this post Link to post
SupportTeam Report post Posted 10/07/2003 05:21 AM Have you set "script to run when call is finished = onhangup.vgs" in the correct script? It needs to be set in the script which is running when the call is hung up... 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 ryan Report post Posted 10/31/2003 06:17 PM I also have the same problem with VG 4.9.0 Professional. We run a main script file which has the file TG_activation_hang_up_v0.1.vgs set in the main script under menu item "Script Properties"->"Script to run when call is finished" (This is what the help file says to do) So when the the phone hang's up the 'hang-up' script doesn't run as shown below. The hang-up script uses variables from the main script to send an email - none of which is happening. Here's my log file... 70984 6 Hanging up call... 70984 6 PlaySoundStop ok 71000 6 fnHangupCall end 71000 6 LsAwaitingCalls EV_REC_FINISHED 71031 6 tapie linedevstate 2048 0 0 71046 6 tapie callstate IDLE 65739 0 0 71046 6 WorkingMode@Idle= 71046 6 After Hangup script:[C:\Program Files\VoiceGuide\TG_Voice_Files\TG_acitvation_hang_up_v0.1.vgs] 71062 6 VbsAtHangup already loaded:1 71062 6 ERROR RunModule called while iHangupCalledForThisLine>0 71062 6 set EV_TIMEOUT_TIMETOREINITLINE 2 71062 6 tapi Reply 65773 0 72109 6 ReinitTelephony due to IDLE start 72109 6 tapic lineDeallocateCall(MainCall:65739) 0 72265 6 lineOpen(6) => 0 72281 6 Waiting for a call... 72281 6 lineOpen(6)LineHandle=65978 Share this post Link to post
SupportTeam Report post Posted 10/31/2003 11:00 PM Plz email the TG_activation_hang_up_v0.1.vgs to support@katalinatech.com and we'll have a look at what can be going wrong there... Share this post Link to post
Guest Brett Report post Posted 12/02/2003 04:05 AM Was this problem resolved? We are getting the exact same problem? using modem and VG4.9 96039 0 HangupCall called from [] 96039 0 Hanging up call... 96049 0 PlaySoundStop ok 96049 0 fnHangupCall end 97060 0 tapie callstate IDLE 65791 0 0 97060 0 WorkingMode@Idle= 97270 0 After Hangup script:[C:\Program Files\VoiceGuide\Scripts\tender\tender hangup.vgs] 97300 0 Loaded VbsAtHangup into:3 97300 0 tapi Reply 65757 0 97300 0 ERROR RunModule called while iHangupCalledForThisLine>0 97310 0 set EV_TIMEOUT_TIMETOREINITLINE 2 98302 0 ReinitTelephony due to IDLE start 98302 0 tapic lineDeallocateCall(MainCall:65791) 0 98352 0 lineOpen(0) => 0 Share this post Link to post
SupportTeam Report post Posted 12/02/2003 04:29 AM It was resolved in v5.1 (non-beta) onwards... Share this post Link to post