
6-5
Cisco AS5350 and Cisco AS5400 Universal Gateway Software Configuration Guide
OL-3418-02 B0
Chapter 6
Configuring Voice over IP
VoIP Basics
Example
Let us say, for a very simple example (your implementation will be far more complex), that a company
has offices in San Jose and Newark. Extensions in the San Jose office are in the range 5000 to 5999, those
in the Newark office in the range 6000 to 6999. A caller at San Jose extension 5000 wants to call Newark
extension 6000. The following dial peers are needed to make this connection:
When the San Jose caller at extension 5000 dials the digits 6000, the originating gateway in San Jose
does the following:
1.
Receives, through port 1/0:1 to which extension 5000 connects, the dialed digits 6000.
2.
Searches its VoIP dial peers until it finds dial-peer 2, whose destination pattern best matches the
dialed digits.
3.
Sends the dialed digits through the IP network to the gateway specified by dial-peer 2’s session
target (172.16.1.1).
The destination gateway in Newark now does the following:
1.
Receives the dialed digits through the IP network.
2.
Searches its POTS dial peers until it finds dial-peer 4, whose destination pattern matches the dialed
digits.
3.
Sends the call out the port specified by that dial peer (port 1/0:3, which connects to extension 6000).
In this west-to-east scenario, dial peers 2 and 4 are used, in that order. If Newark extension 6000 were
to call San Jose extension 5000, dial peers 3 and 1 would be used, in that order.
Table 6-4
Sample Dial Peers
Dial-peer (tag)
number
Dial peer
Function
San Jose Gateway
1
dial-peer voice 1 pots
destination-pattern 5000
port 1/0:1
Associates San Jose extension 5000 with
San Jose gateway port 1/0:1.
2
dial-peer voice 2 voip
destination-pattern 6...
session target ipv4:172.16.1.1
Transmits San Jose’s Newark-bound calls
(extensions 6000-6999) to the gateway in
Newark whose IP address is 172.16.1.1.
Newark Gateway
3
dial-peer voice 3 voip
destination-pattern 5...
session target ipv4:172.19.1.1
Transmits Newark’s San Jose-bound calls
(extensions 5000-5999) to the gateway in
San Jose whose IP address is 172.19.1.1.
4
dial-peer voice 4 pots
destination-pattern 6000
port 1/0:3
Associates Newark extension 6000 with
Newark gateway port 1/0:3.