6-11
Cisco AS5350 and Cisco AS5400 Universal Gateway Software Configuration Guide
OL-3418-02 B0
Chapter 6
Configuring Voice over IP
Configuring Basic VoIP
Here are just a few of the things that you can do with these commands (which, as mentioned previously,
you set from config or config-dial-peer mode):
•
Configure destination patterns with wildcards and other operators.
Example:
Use
6...
to denote a 4-digit number beginning with 6.
•
Define fixed-length or variable-length destination patterns.
Example:
Use
6...
to denote a 4-digit number beginning with 6; use
9t
to denote a variable-length
number beginning with 9.
•
Specify that a prefix be added to calls on certain outgoing POTS call legs.
Example:
Prepend 9 to calls that pass through a PBX requiring 9 to access an outside line; replace
prefixes that are stripped by a dial peer because they match the destination pattern.
•
Specify that certain dialed digits be expanded.
Example:
Expand local 5-digit extensions beginning with 7 to the full E.164 number 1-408-7xxx.
•
Create a hunt group to handle inbound calls.
Example:
Establish multiple dial peers, each for a different voice port, and each containing the same
destination pattern; the gateway directs inbound calls to the voice ports in sequence until it reaches
one that is not busy.
•
Set up preferences for routing outbound calls.
Example:
Assign preference 1 to dial-peer voice 1, which directs outbound calls over the IP network;
assign preference 2 to dial-peer voice 2, which directs calls over the PSTN; the gateway, looking for
the longest exact match, finds both dial peers and then uses preference as a tie breaker among those
matches.
Tip
For more information, see Voice over IP for the Cisco AS5300, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t3/voip5300/
Dial-Peer Configuration Table
The next step in creating dial peers is to create a dial-peer configuration table. Under the following
headings, show data for all of your gateways and associated dial peers.
Table 6-7
is for the simple
gateway-to-gateway scenario described earlier; your own will be far more complex.
Table 6-7
Dial-Peer Configuration Table
Dial-Peer
Tag
Extension
Destination
Pattern
Type
Voice Port Session Target
CODEC
QoS
San Jose Gateway
1
5000
5000
pots
1/0:1
—
—
—
2
—
6...
voip
—
172.16.1.1
6.711
best effort
Newark Gateway
3
—
5...
voip
—
172.19.1.1
6.711
best effort
4
6000
6000
pots
1/0:3
—
—
—