AACC menu choices prompt
AACC menu choices prompt
(OP)
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
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
RE: AACC menu choices prompt
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