VoiceGuide IVR Software Main Page
Jump to content

Clean-up Script

Recommended Posts

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

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×