16

The destination-pattern command defines the telephone number associated with the VoFR dial peer. The session target
command specifies a destination DLCI for the VoFR dial peer.
Use the dial-peer voice command to define dial peers and to change to dial peer configuration mode. For examples, see the
“Configuring FXS Interfaces” section on page 17, the “Configuring FXO Interfaces” section on page 23, and the “Configuring
E&M Interfaces” section on page 24.

Wildcards and Number Expansion

Office PBXs are configured so that a user can dial a local call (within the same PBX) by dialing the extension only—for instance,
the four-digit extension 3737, or the five-digit extension 53737—rather than dialing the full telephone number, 1 408 555-3737.
You can provide the same shortcut on a VoIP network by using the number-expansion (num-exp) command.
Router(config)# num-exp 5.... 1408555....
This command tells the router to expand a particular sequence of dialed numbers into a complete telephone number (destination
pattern) as shown in Table1.
You can use a period (.) as a wildcard character representing a single digit in a telephone number.
You can use the show num-exp command to verify the number expansion information.
Router# show num-exp [dialed-number]
After you have configured dial peers and assigned destination patterns to them, you can use the show dialplan number command
to see how a telephone number maps to a dial peer.
Router# show dialplan number [dialed-number]
Note You must still configure each telephone number in full on a local dial peer so that the router can find the voice port to
which it belongs.
Configuring Voice Interface Cards
The router supports one to four Cisco VICs. Each VIC provides two ports. You need one VIC port for each voice connection.
Note To transmit voice calls over an IP WAN, you need (in addition to the VICs) at least one WIC in the router to provide
the connection to the WAN.
There are five types of VIC interfaces:
An FXS (foreign exchange station) interface connects directly to a standard telephone, a fax machine, or a similar device.
The FXS VIC interface supplies ringing voltage, dial tone, and similar signals to the station. Ports on this VIC are gray.
Table1 Sample Number Expansion Table

Extension

Destination

Pattern Num-Exp Command Entry Description

3737 14085553737 num-exp 3737
14085553737
To expand 3737 to
14085553737
.... 1408555.... num-exp .... 1408555.... To expand any dialed sequence
of four digits (represented by
four periods) by prefixing
1408555 to it
5.... 1408555.... num-exp 5.... 1408555.... To expand a five-digit extension
beginning with the numeral 5 by
prefixing 140855 to it