20
Cisco 1751 Voice-over-IP Quick Start Guide
78-11259-05
Configuring Voice-over-IP
Construct a table similar to
Table 10
for your own routers, assigning your own telephone numbers,
IP addresses, and dial-peer tags.
Note
The IP addresses shown in this guide are meant only as examples. When you configure your network, be
sure to substitute your own IP addresses.
Enter the following information on the
West
router to create the dial-peer configuration given in
Table 10
:
West(config)#
dial-peer voice 501 voip
West(config-dial-peer)#
destination-pattern 1919555....
West(config-dial-peer)#
session target ipv4:192.168.11.3
Cisco IOS software describes the remote network as the
session target
. This command is followed by
the IP address of the remote router. The prefix
ipv4
means IP version 4. Alternatively, you can use the
prefix
dns
followed by the Domain Name System (DNS) name as follows:
West(config-dial-peer)#
session target dns:voice.eastrouter.com
Configure a dial peer on each router for each telephone number on every other router connected to it.
Make things easier by configuring number expansion for
East
router telephone numbers on the
West
router:
West(config)#
num-exp 5.... 1919555....
Now users can dial a five-digit extension beginning with 5 from a telephone on the
West
router to reach
a telephone on the
East
router.
These commands are summarized in
Figure 16
.
Figure 16
West Router Configured for Remote Dial Peers
The
West
router is now configured to send calls to the
East
router.
Table 11
shows how to configure the
East
router to send calls to the
West
router.
Table 10
West Router Remote Dial Peers with Wildcards
Remote Location
Telephone Number
Destination Pattern
IP Address
Dial-Peer Tag
East
919 555-xxxx
1919555....
192.168.11.3
501
919 555-xxxx
East
West
22336
192.168.11.3
dial-peer voice 501 voip
destination-pattern 1919555….
session target ipv4:192.168.11.3
num-exp 5…. 1919555….
Source
Destination
IP cloud