Information Technology Reference
In-Depth Information
Packet Voice Example
Figure 12-1
8-1234
Router B
10.10.10.1
FXS
PSTN
8-4567
6-1234
FXS
7-1234
Router A
10.1.1.1
6-4567
FXS
WAN
Router C
10.20.20.1
7-4567
The dial plan for Router A from Figure 12-1 is shown in Table 12-1.
Table 12-1
Dial Plan for Router A
Phone Number
Destination
Calls to 8xxxx
Forward to IP: 10.10.10.1
Calls to 7xxxx
Forward to IP: 10.20.20.1
Outside calls
Forward to PSTN
6-1234
Voice FXS port 1/1
6-4567
Voice FXS port 1/2
Router A is configured for VoIP, as shown in Example 12-1. Dial peers are created and they map
dialed digits to a destination. Dial peer 6000 maps digits 61234 to the FXS port 1/1. Dial peer
6001 maps digits 64567 to port 1/2. Dial peers 8000 and 8001 configure VoIP destinations. Dial
peer 8000 maps digit 8 followed by any 4 digits to the IP destination 10.10.10.1 and sets the IP
precedence bits to 101 for VoIP packets. Dial peer 8001 maps digit 7 followed by any 4 digits
to the IP destination 10.20.20.1 and sets the VoIP packet's IP precedence bits to 101.
Compressed RTP is also configured on the serial interface.
Example 12-1 VoIP Configuration Example
dial-peer voice 6000 pots
destination-pattern 61234
port 1/1
!
dial-peer voice 6001 pots
destination-pattern 64567
port 1/2
continues
 
Search WWH ::




Custom Search