Configuring Voice over IP
Configuring Basic VoIP
100
Cisco VGD 1T3 Voice Gateway Software Configuration Guide
Use these commands (which, as mentioned previously, you set from global configuration or dial peer
configuration mode) to complete the following tasks:
•
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.
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 7
is for the simple
gateway-to-gateway scenario described earlier; your own will be far more complex.
translate-outgoing
Sets translation rule.
vad
Sets use of Voice Activity Detection.
voice-class
Sets dial-peer voice-class control parameters.
Table 6
VoIP Dial-Peer Configuration Commands (continued)
Command
Purpose
Table 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
Содержание VGD-1T3
Страница 10: ...Contents x Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...
Страница 14: ...Notices OpenSSL Open SSL Project 4 Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...
Страница 120: ...Configuring Voice over IP Additional Resources 110 Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...
Страница 196: ...Using the Setup Script Where to Go Next 186 Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...