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!

program vector for extension?? 1

Status
Not open for further replies.

NewtoEverything1

Programmer
Oct 4, 2007
19
US
can someone help me program a vector that will ask the customer to enter an ext. and if they enter the wrong extension then they are prompt to enter the extension again. if they enter for the third time the wrong ext. then they are routed to the operator.
 
what system are you on? do you have variables? and how many user extensions are in your system?
if total number of extensions in your system is not that high, I think you could write a simple vector that checks a VRT, but if you got alot, the maintenence alone would be a nightmare.
With variables, you can single out a extension range, so if all user extenions were 5xxx, or 51xx-55xx, etc, they could be weeded out,
if user extensions, vdn, announcement extensions, and the like are all mixed together, I think it would be close to impossible to filter..
 
There will be about 10 different ext. that im trying to program in the ASA. For example they will have a options to press 3 if they know their party's ext. After, they are allowed 2 attempts and then they are routed to the front desk. no im not using variables at all. Could you lend me some ideas?
 
if not using variables, and only about 10 extensions, then I would say use a VRT...

so first define the vrt..
do a list vrt
to see what you have listed, then
add vrt xx (where xx is the number you want,, lets assume it is the first one so add vrt 1)

then name your vrt, and add the extension numbers to the table.

now for the vector..


01 wait-time 2 secs hearing ringback
02 collect 4 digits after announcement 6001 for none (enter your parties extension now)
03 goto step 9 if digits in table 1
04 announcement 6002 (invalid extension)
05 collect 4 digits after announcement 6001 for none (you could do collect 3 digits if using three digit extensions)
06 goto step 9 if digits in table 1
07 route-to number 5000 with cov y if unconditionally (use your atendant extension)
08 stop
09 route-to digits with coverage y
10 stop

 
Ok, I realized that they probably want more than just 10 numbers to be routed. how can i go about programming that?
 
the vrt has room for 100
but if you have that many,,, you will need to be very organized and update when new additions/deletions occur....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top