Specifications
6-19
Catalyst 4224 Access Gateway Switch Software Configuration Guide
OL-2031-02
Chapter 6 Configuring VoIP
Configure Dial Peers
To complete the end-to-end call between dial peer 1 and dial peer 4, as illustrated
in Figure 6-6, enter the following commands on Catalyst 4224 10.1.1.2:
c4224(config)# dial-peer voice 4 pots
c4224(config-dial-peer)# destination-pattern 13105551000
c4224(config-dial-peer)# port 0/0
c4224(config)# dial-peer voice 3 voip
c4224(config-dial-peer)# destination-pattern 14085554000
c4224(config-dial-peer)# session target ipv4:10.1.2.2
Create a Dial-Peer Configuration Table
Each dial peer needs to be identified by its unique data before you can configure
dial peers in VoIP. Do this is by creating a dial peer configuration table.
Using the example in Figure 6-2 on page 6-13, Router 1, with an IP address of
10.1.1.1, connects a small sales branch office to the main office through Router
2. There are three telephones in the sales branch office that need to be established
as dial peers. Router 2, with an IP address of 10.1.1.2, is the primary gateway to
the main office. There are four devices that need to be established as dial peers in
the main office, and all are basic telephones connected to the PBX. Figure 6-2 on
page 6-13 shows a diagram of this small voice network, and Table 6-2 shows the
dial peer configuration table for the example in the figure.
Table 6-2 Dial Peer Example Configuration Table
Router Dial Peer Tag
Commands
Destination-
Pattern Type Session Target codec QoS
Cisco 1750
Router 1
10 1729555.... VoIP IPV4 10.1.1.2 G.729 Best effort
Cisco 1750
Router 2
11 1408555.... VoIP IPV4 10.1.1.1 G.729 Best effort