VoiceGuide IVR Software Main Page
Jump to content

Script After Hangup Not Running!

Recommended Posts

Hi... I can't get any scripts to run after hangup. I went into the script settings under the Edit menu and selected the script I want to run after the call but it does not seam to run.

 

Please help!

 

Thanks!

Share this post


Link to post

That fixed the problem but now I have another problem.

 

I set the script to send a phone message and it isn't dialing out.

 

Here is the trace log for this example script I can't get to dial out using that module.

 

55905 0 tapie callstate OFFERING 66459 0 4

55905 0 tapie ring 1

58789 0 tapie ring 2

58789 0 Answer the call

58799 0 lineAnswer(66459) => 66135

58799 0 tapie callstate ACCEPTED 66459 0 0

60061 0 tapi Reply 66135 0

60071 0 tapie callstate CONNECTED 66459,0,0

60071 0 WorkingModeTAPI=

60071 0 WorkingModeScript=

60071 0 Inband detection not enabled

60071 0 StartLoadedVgs start

60071 0 [Phone Message 1] Make Outbound Call

60071 0 HangupCall called from [Run module 3018]

60081 0 Hanging up call...

60081 0 PlaySoundStop ok

60081 0 fnHangupCall end

60261 0 tapie callstate DISCONNECTED 66459,1,0

60271 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT

60271 0 PlaySoundStop ok

60271 0 HangupCall called from []

60271 0 Hanging up call...

60271 0 PlaySoundStop ok

60281 0 fnHangupCall end

60281 0 tapie callstate IDLE 66459 0 0

60281 0 WorkingMode@Idle=

60291 0 set EV_TIMEOUT_TIMETOREINITLINE 2

60291 0 tapi Reply 66493 0

60301 0 tapi Reply 66442 0

61203 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

61203 0 ReinitTelephony due to IDLE start

61203 0 tapic lineDeallocateCall(MainCall:66459) 0

61824 0 lineOpen(0) => 0

61824 0 Waiting for a call...

61834 0 lineOpen(0)LineHandle=66476

61834 0 Loading from C:\Program Files\ivg\data\DialListNew.txt

61844 0 Loaded 1 entries.

Share this post


Link to post

Looks like the Make Outbound Call module completed it task (queued an outbound call to be made by the VoiceGudie Dialer), and then the script hangs up as there was no Success path defined for this module.

 

At the bottom of trace we can see that the IVG Dialer loaded the details of the new call to be made:

 

61834 0 Loading from C:\Program Files\ivg\data\DialListNew.txt

61844 0 Loaded 1 entries.

 

The Dialer will now make the call when a line becomes free.

 

Are you running an evaluation version or a registered version of VoiceGuide? If a registered version then have you purchased the Dialer add-on option?

Share this post


Link to post

Hi, I'm running the evaluation version. I did notice that it added the entry in to the dialer list but it does't dial out ever since I applied that patch.

 

Thanks.

Share this post


Link to post

I uninstalled IVG and reinstalled the version I downloaded and now the dialer works. So now I'm sure the problem is with the patch I applied. Are you guys working on a new one?

 

Thanks!

Share this post


Link to post

Hi, It's me again.

 

Ok, to summerize: Evaluation Version 4.9.0 Dialer works but afterhangup script does not. Version 4.9.1 (patch) Dialer doesn't work and afterhangup script does work.

 

I also noticed that in version 4.9.0, the message to phone (dialer module) does not exculate to the alternitive numbers. Here is a log of it if that helps. I noticed that after the first attempt with 0 retries it just removed the entry in the database. I also noticed that there is no data in the EscalationCalls field.

 

59870 0 tapie callstate OFFERING 65785 0 4

59870 0 tapie ring 1

62754 0 tapie ring 2

62754 0 Answer the call

62754 0 lineAnswer(65785) => 65563

62754 0 tapie callstate ACCEPTED 65785 0 0

64036 0 tapi Reply 65563 0

64046 0 tapie callstate CONNECTED 65785,0,0

64046 0 WorkingModeTAPI=

64046 0 WorkingModeScript=

64046 0 Inband detection not enabled

64046 0 [Run VB Script 1] Running VB Script...

64136 0 VBScript Run waiting...

65037 0 Found result file: VGRUNRESULT_0.TXT

65037 0 Run Results >>>[CallDate]{7/14/2003}[CallTime]{5:16:21 PM}[CallDay]{Mon}<<<

65047 0 [QueryTech] DB Query

65047 0 Jet mode used (To use ODBC mode specify ODBC Connect string)

65057 0 RVreplace start: [select Phone1, Phone2, Phone3 From Schedule where StartDate <= #$RV[CallDate]# And EndDate >= #$RV[CallDate]# And StartTime <= #$RV[CallTime]# And EndTime >= #$RV[CallTime]# And Days Like '*$RV[CallDay]*']

65057 0 RVreplace end: [select Phone1, Phone2, Phone3 From Schedule where StartDate <= #7/14/2003# And EndDate >= #7/14/2003# And StartTime <= #5:16:21 PM# And EndTime >= #5:16:21 PM# And Days Like '*Mon*']

65057 0 About to execute Retrieve Operation [select Phone1, Phone2, Phone3 From Schedule where StartDate <= #7/14/2003# And EndDate >= #7/14/2003# And StartTime <= #5:16:21 PM# And EndTime >= #5:16:21 PM# And Days Like '*Mon*']

65067 0 [QueryTech] row count=1

65077 0 [Phone Message 1] Make Outbound Call

65087 0 HangupCall called from [Run module 3018]

65087 0 Hanging up call...

65087 0 PlaySoundStop ok

65097 0 fnHangupCall end

65278 0 tapie callstate DISCONNECTED 65785,1,0

65288 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT

65288 0 PlaySoundStop ok

65288 0 HangupCall called from []

65288 0 Hanging up call...

65298 0 PlaySoundStop ok

65298 0 fnHangupCall end

65298 0 tapie callstate IDLE 65785 0 0

65298 0 WorkingMode@Idle=

65318 0 set EV_TIMEOUT_TIMETOREINITLINE 2

65328 0 tapi Reply 66384 0

65328 0 tapi Reply 66469 0

66229 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

66229 0 ReinitTelephony due to IDLE start

66229 0 tapic lineDeallocateCall(MainCall:65785) 0

66860 0 lineOpen(0) => 0

66870 0 Waiting for a call...

66870 0 lineOpen(0)LineHandle=65717

66880 0 Loading from C:\Program Files\ivg\data\DialListNew.txt

66890 0 Loaded 1 entries.

66900 0 Ready To DialOut : 1 (out of 1)

68913 0 Ready To DialOut : 1 (out of 1)

70926 0 Ready To DialOut : 1 (out of 1)

72949 0 Ready To DialOut : 1 (out of 1)

72949 0 Dialing: 126

72959 0 MakeCall => 65920

72959 0 TapiCbTrigSet 65920 7002

72959 0 tapi Reply 65920 0

72959 0 TapiCbTrigClear

73069 0 tapie callstate DIALING 66041 0 0

73079 0 tapie callstate PROCEEDING 66041 0 0

76634 0 tapie callstate CONNECTED 66041,0,0

76634 0 WorkingModeTAPI=

76634 0 WorkingModeScript=

76634 0 Dialing: Playing introduction message

76694 0 PlaySoundStart ok [C:\Program Files\ivg\system\voice\AcceptAutoCall.wav]

76974 0 Erasing Script Id 1

83384 0 Play End line[0] (id=976654)

83384 0 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED

83424 0 PlaySoundStart ok [C:\Program Files\ivg\system\voice\AcceptAutoCall.wav]

90113 0 Play End line[0] (id=983384)

90113 0 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED

90163 0 PlaySoundStart ok [C:\Program Files\ivg\system\voice\AcceptAutoCall.wav]

96853 0 Play End line[0] (id=990123)

96853 0 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED

96893 0 PlaySoundStart ok [C:\Program Files\ivg\system\voice\AcceptAutoCall.wav]

03583 0 Play End line[0] (id=996853)

03583 0 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED

03593 0 DELETE FROM CallQue WHERE ID=24;

03593 0 HangupCall called from [play accept auto 2]

03603 0 Hanging up call...

03603 0 PlaySoundStop ok

03723 0 Waiting for a call...

03723 0 fnHangupCall end

03783 0 tapie callstate DISCONNECTED 66041,1,0

03793 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT

03793 0 PlaySoundStop ok

03793 0 HangupCall called from []

03793 0 Hanging up call...

03803 0 PlaySoundStop ok

03803 0 Waiting for a call...

03803 0 fnHangupCall end

03803 0 tapie callstate IDLE 66041 0 0

03813 0 WorkingMode@Idle=

03813 0 LineState(iLineId).iVgsIdx = 0

03813 0 set EV_TIMEOUT_TIMETOREINITLINE 1

03823 0 set EV_TIMEOUT_TIMETOREINITLINE 2

03823 0 tapi Reply 66401 0

03833 0 tapi Reply 65768 0

04734 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

04734 0 ReinitTelephony due to IDLE start

04734 0 tapic lineDeallocateCall(MainCall:66041) 0

05375 0 lineOpen(0) => 0

05375 0 Waiting for a call...

05375 0 lineOpen(0)LineHandle=66315

05405 0 Erasing Script Id 2

Share this post


Link to post

Can you answer these questions please! I would greatly appreciate it! I need a stable version that will address these issues. Please see my other posts.

 

Thanks.

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
×