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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 AA ? 2

Status
Not open for further replies.

ArmyITGuy

MIS
Nov 3, 2003
56
US
Calls hit AA, which prompts for various (6) options:

I've accounted for callers that enter nothing, but don't know how to account for callers that dial 0,7, or 8. Can I cover all three with one line in the vector? Or do I have to put in a line for each?
 
Usually, this is how I would write a vector.

collect 1 digit after announcements 2345
route to number 1234 with cov n if digit = 1
route to number 1235 with cov n if digit = 2
route to number 1236 with cov n if unconditionally
stop

The "unconditionally" means that if the caller dials any option that I have not specified (3,4,5,6,7,8,9,0) or dials nothing, it will follow that statement. If you want to do something different if they press any other digit, such as repeat the menu, then you could write it like this...

collect 1 digit after announcements 2345
route to number 1234 with cov n if digit = 1
route to number 1235 with cov n if digit = 2
goto step 1 if digit = ?
route to number 1236 with cov n if unconditionally
stop

The "?" means any digit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top