VoiceGuide IVR Software Main Page
Jump to content

Unexpected Routing In Script

Recommended Posts

I have designed a simple script (is there anyway of uploading the script?) but am experiencing problems with unexpected routing issues when a call is received. Two issues have been found so far, but I expect these are related to a common reason. - This could be my inexperience with voiceguide.

 

Script is basically:

 

welcome_message (play file)

Paths:on {timeout 0} goto [main_menu]

 

main_menu (play file)

Paths:on {1} goto [enter_your_number]

on {2} goto [how it works]

on {3} goto [what_next]

 

how_it_works

Paths:on {timeout 1} goto [main_menu]

on {9} goto [main_menu]

 

 

 

 

What happens:

When a call is answered the welcome message is played, this is immediately followed by the main_menu element which takes a keypad input and correctly transfers execution to:

on 1 enter_your_number

on 2 how_it_works

on 3 what_next

 

All of these execute correctly, however if 2 is selected, the script how_it_works plays the appropriate sound file but at the end, fails to return to the main_menu module.

 

Paths in how_it_works module are:

on {timeout 1} goto [main_menu]

on {9} goto [main_menu]

 

 

The on{timeout 1} gogo [main_menu] does not appear to function, after some time, the how_it_works message replays. Keying 9 does however return you to the main_menu module.

 

The log below show call handling, once the call is hung up by the caller, the system continues for a number of minutes after the call is cancelled, ie another problem is that the system is not detecting the line being dropped (Dialogic D/4PCI)

 

The other script problem similar to that above is in the module emerg_intro, this is suppoed to pass execution to the next module emergency_menu when the sound file has been played. The paths are defined as follows:

 

on {timeout 0} goto [emergency_menu]

 

However, this pass does not happen either and after a time (default timeout?) the emerg_intro is replayed.

 

Below is a log of a call showing handling of 1st problem. (some of the sound files are up to a minute in length, is this likely to be an issue?).

 

141050.17 6 linedevstate 2048 0 0

141050.17 6 callstate OFFERING 66459 0 4

141050.17 6 callinfo CALLEDID

141050.19 6 callinfo ORIGIN

141050.19 6 ring 0

141056.17 6 ring 2

141056.17 6 Answer the call at 02/10/2003 14:10:56

141056.17 6 lineAnswer(66459) => 66493

141056.72 6 callstate CONNECTED 66459,1,0

141056.72 6 WorkingModeTAPI=

141056.72 6 WorkingModeScript=

141056.75 6 Inband detection not enabled

141056.75 6 StartLoadedVgs at 02/10/2003 14:10:56

141056.75 6 tapi Reply 66493 0

141056.75 6 [welcome_message] Playing

141056.75 6 [welcome_message] Playing (C:\IVR Dev\wav files\script01\welcome_message.wav)

141056.77 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\welcome_message.wav]

141056.78 6 RunModule PLAY end

141201.80 6 wb(87039000)

141202.81 6 Play End line[6] (id=870390)

141202.81 6 LsPlayMsg EV_PLAY_FINISHED

141202.81 6 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE

141202.81 6 [main_menu] Playing

141202.81 6 [main_menu] Playing (C:\IVR Dev\wav files\script01\main_menu.wav)

141202.83 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\main_menu.wav]

141202.83 6 RunModule PLAY end

141218.75 6 wb(93645300)

141219.77 6 dtmf 2 (50,2)

141219.77 6 LsPlayMsg 2

141219.78 6 PlaySoundStop ok

141219.78 6 Play End line[6] (id=936453)

141219.78 6 [how it works] Playing

141219.78 6 [how it works] Playing (C:\IVR Dev\wav files\script01\how_it_works.wav)

141219.80 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\how_it_works.wav]

141219.81 6 RunModule PLAY end

141344.11 6 wb(95342100)

141345.13 6 Play End line[6] (id=953421)

141345.13 6 LsPlayMsg EV_PLAY_FINISHED

141350.48 6 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG

141350.48 6 [how it works] Playing (C:\IVR Dev\wav files\script01\how_it_works.wav)

141350.50 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\how_it_works.wav]

141354.86 6 dtmf 9 (57,2)

141354.86 6 LsPlayMsg 9

141355.88 6 PlaySoundStop ok

141355.88 6 [main_menu] Playing

141355.88 6 [main_menu] Playing (C:\IVR Dev\wav files\script01\main_menu.wav)

141355.89 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\main_menu.wav]

141355.89 6 RunModule PLAY end

141411.80 6 wb(4951500)

141412.81 6 Play End line[6] (id=49515)

141412.81 6 LsPlayMsg EV_PLAY_FINISHED

141414.89 6 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG

141414.89 6 [main_menu] Playing (C:\IVR Dev\wav files\script01\main_menu.wav)

141414.91 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\main_menu.wav]

141430.77 6 wb(6853100)

141431.78 6 Play End line[6] (id=68531)

141431.78 6 LsPlayMsg EV_PLAY_FINISHED

141433.86 6 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG

141433.86 6 [main_menu] Playing (C:\IVR Dev\wav files\script01\main_menu.wav)

141433.88 6 PlaySoundStart ok [C:\IVR Dev\wav files\script01\main_menu.wav]

141449.77 6 wb(8750000)

141450.78 6 Play End line[6] (id=87500)

141450.80 6 LsPlayMsg EV_PLAY_FINISHED

141501.63 6 LsPlayMsgFinished EV_TIMEOUT_HANGUP

141501.63 6 Hanging up call...

141501.63 6 RecSoundStop ok

141501.63 6 PlaySoundStop ok

141501.63 6 fnHangupCall end

141501.66 6 linedevstate 2048 0 0

141501.66 6 callstate IDLE 66459 0 0

141501.66 6 WorkingMode@Idle=

141501.67 6 tapi Reply 66476 0

141502.72 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

141502.72 6 ReinitTelephony due to IDLE start

141502.72 6 tapic lineDeallocateCall(MainCall:66459) 0

141502.86 6 lineOpen(6) => 0

141502.86 6 Waiting for a call...

141502.86 6 lineOpen(6)LineHandle=66323

Share this post


Link to post
The on{timeout 1} gogo [main_menu] does not appear to function, after some time, the how_it_works message replays.

The timout starts after the last replay of the main message in module - what is the "Replay" value set to in that module?

another problem is that the system is not detecting the line being dropped (Dialogic D/4PCI)

Plese read thread: http://voiceguide.com/forums/index.php?showtopic=599

some of the sound files are up to a minute in length, is this likely to be an issue?.

No. Any length sound files can be used.

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
×