These commands are summarized in Figure 12.

Configuring Voice-over-IP

Note The telephone numbers used in this guide are only examples and are invalid for public use in the United States. When you configure your network, be sure to substitute your own telephone numbers.

To configure the router with the dial-peer information in Table 7, enter the following global configuration commands:

West> enable

 

Password:

 

 

West# configure terminal

 

West(config)# dial-peer

voice 401 pots

West(config-dial-peer)#

destination-pattern 14085553737

West(config-dial-peer)#

port 0/0

West(config)# dial-peer

voice 402 pots

West(config-dial-peer)#

destination-pattern 14085554141

West(config-dial-peer)#

port 0/1

West(config-dial-peer)#

exit

West(config)#

 

These commands are summarized in Figure 12.

Figure 12

West Router Configured for Local Dial Peers

dial-peer voice 401 pots destination-pattern 14085553737 port 0/0

FXS VIC

0/0

IP cloud

West

FXS VIC

0/1

dial-peer voice 402 pots destination-pattern 14085554141 port 0/1

22635

The dial-peercommand always takes the argument voice. The number following it is the dial-peer tag, and pots is the type of dial peer.

Cisco IOS software refers to a telephone number as a destination pattern because it is the destination for an incoming or outgoing call. Enter these numbers with the destination-patterncommand. A destination pattern can include asterisks (*) and pound signs (#) from the telephone keypad, and commas

(,)and periods (.), which have special meanings. Parentheses ( () ), hyphens (-), slashes (/), and spaces ( ), which are often used to make telephone numbers easier for humans to read, are not allowed.

Notice that the commands in the examples puts the prefix 1 (used in the United States to indicate a long-distance number) and an area code in front of the remaining numbers to complete the destination pattern. You need to include similar codes for your country if the VoIP equipment needs to establish a connection to the PSTN.

Note The Cisco IOS software does not check the validity of the telephone number. It accepts any string of permitted characters as a valid number.

The business that owns the West router also has a branch office in the East. Figure 13 shows the East office network, and Table 8 lists the phone numbers, voice ports, and dial-peer tags for this office.

Cisco 1751 Voice-over-IP Quick Start Guide

 

78-11259-05

17

 

 

 

Page 17
Image 17
Cisco Systems CISCO1751 quick start These commands are summarized in Figure