Call Prompti ng
5-6 Issue 4 September 1995
These functions are illustrated in the following sections.
Treating Digits as a Destination
Call Promptin g allows you to route calls ac cording to the digits collected from the
caller. Once the digits are collected via the
collect digits
command, the

route-to

digits
command attem pts to route the call to the destination that the d igits
represent. The comman d always routes the call to the desti nat ion tha t is
indicated by the digits processed by the most recent collect digits command.
The digit s can r eprese nt any of the foll owing desti nations:
Internal (local) extension (for example, sp lit/hunt group, station,
announcement, etc.)
VDN extension
Attendant
Remote access extension
External number, such as a trunk access code (TAC) or an Automatic
Alternate Route/Automatic Route Select ion (AAR/ARS) feature acce ss
code (FA C) followed by a public network number (for e xample, 7 dig it
ETN, 10 digit DDD, etc.).
Let’s take a look at a vector that illu strates how a call is routed via di gits that are
collected from a caller:
Figure 5-1. Treating Digits as a Destination
In this vector, the caller is prompted to enter the destination extension of the
party he or she would like to reach (Step 2). (The extension in this vector may
contain up to 5 digits.) The vector collects the digits, then routes to the
destination via the

route to digits

command in Step 3.
If the
route-to digits
command fails (because the caller fails to enter any digits, or
because the extension number entered is invalid), the

route-to number c ommand

in Step 4 routes the call to the attendant ( d e faul t). However, as long as the
destination is a valid extension, the
route-to digits
command succeeds, coverage
1. wait-time 0 seconds hearing ringback
2. collect 5 digits after announcement 300
(‘‘You have reached Redux Electric in Glenrock.
Please dial a 5-digit extension or wait for the
attendant.’’)
3. route-to digits with coverage y
4. route-to number 0 with cov n if unconditionally
5. stop