Here is an simple example:
Announcement 4501: Using the touchpad on your phone please enter the first 4 letters of the name you are trying to call.
Announcement 4502: Please continue spelling the last name
Annnouncement 4503: Please enter the first 2 letters of the first name.
Announcement 4504: I'm sorry we cannot find a match for that name, press 1 to try again, press 0 or remain on the line to go to the attendant.
Here's how it works: The name is read out of the name field of the extensions in the switch. They must be in the format Last name, First name. IF the last name is Smith, the call will route to that person after the caller enters SMIT. If there is a Smith & a Smithe, it will prompt to continue entering the last name, so it can distingush. If there are 2 Smiths, it will prompt for the first name, so it can distinguish.
VECTOR:
01 wait-time 0 secs hearing silence
02 collect 4 digits after announcement 4501
03 route-to name1 with coverage y
04 goto step 11 if nomatch
05 collect 11 digits after announcement 4502
06 route-to name2 with coverage y
07 goto step 11 if nomatch
08 collect 2 digits after announcement 4503
09 route-to name3 with coverage y
10 goto step 11 if nomatch
11 collect 1 digit after announcement 4504
12 goto step 2 if digits = 1
13 route to number 0 with coverage y if digits = 0
14 route to number 0 with coverage y if unconditionally
15 stop
If the switch does not recognize "name1,name2,name3" or "nomatch" then you do not have dial by name enabled, but I believe it is default after Rls 10, it used to only be available on Guestworks.
Paul Beddows
Avaya Implementation
Telus
Vancouver, Canada
E-mail via