Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AACC menu choices prompt

Status
Not open for further replies.

pshook

Technical User
Mar 9, 2005
127
US
I am having an issue with a voice session. I am playing a menu choices message and option 4 is to replay the option prompt. Here is the section that i can't get working. Anyone have any ideas?

OPEN VOICE SESSION

PLAY PROMPT VOICE SEGMENT Bus_Off_Main
COLLECT 1 DIGITS INTO BusOff_Digit INTER DIGIT TIMER 5
WHERE BusOff_Digit EQUALS
VALUE 1: Route Call 912345678901
VALUE 2: Route Call 3838
VALUE 3: Assign Bus_Office TO Pref_BusOff_cv
VALUE 4: EXECUTE ????????? /*REPLAY CHOICES */
VALUE 0: Route Call 912345678901
VALUE 4..9: Assign Bus_Office TO Pref_BusOff_cv

END WHERE

END VOICE SESSION
 

Note there is not a need for VALUE 3 as it is the same as the DEFAULT, you could take it out. It is common to leave it in if spoken.

Here are two options:

Option 1 - Has to reconnect to start the voice session if repeat is selected. In theory that is not common callers cannot tell and most do not notice. Note that someone could keep selecting 4, sometimes it is desired to prevent this with a counter, mostly not a big deal unless it is a really long message and you are short on ports.

SECTION Bus_Off_Main_sec

OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Bus_Off_Main
COLLECT 1 DIGITS INTO BusOff_Digit INTER DIGIT TIMER 5
END VOICE SESSION

WHERE BusOff_Digit EQUALS
VALUE 1: Route Call 912345678901
VALUE 2: Route Call 3838
VALUE 3: Assign Bus_Office TO Pref_BusOff_cv
VALUE 4: EXECUTE Bus_Off_Main_sec /*REPLAY CHOICES */
VALUE 0: Route Call 912345678901
VALUE DEFAULT: Assign Bus_Office TO Pref_BusOff_cv
END WHERE

END VOICE SESSION


Option 2 - checks for repeat before ending the voice session, all other checks after the voice session. Doesn't need a Section or Execute. Can only repeat 1 time unless you get more complex.

OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Bus_Off_Main
COLLECT 1 DIGITS INTO BusOff_Digit INTER DIGIT TIMER 5
IF BusOff_Digit = 4 THEN
PLAY PROMPT VOICE SEGMENT Bus_Off_Main
COLLECT 1 DIGITS INTO BusOff_Digit INTER DIGIT TIMER 5
END IF
END VOICE SESSION

WHERE BusOff_Digit EQUALS
VALUE 1: Route Call 912345678901
VALUE 2: Route Call 3838
VALUE 3: Assign Bus_Office TO Pref_BusOff_cv
VALUE 0: Route Call 912345678901
DEFAULT: Assign Bus_Office TO Pref_BusOff_cv
END WHERE



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top