|
|
This chapter describes the commands used to configure dial peers. There are two types of dial peers: local and remote, with different protocol types supported for each. Table 10-1 lists the dial-peer configuration commands and the protocol types that support them.
| Dial-Peer Command |
|
|
|
|
|---|---|---|---|---|
|
|
|
| |
|
|
|
| |
| ||||
| ||||
|
|
|
| |
| ||||
|
|
| ||
|
|
|
|
string | The alternate dial-out string. |
No alternate dial-out string is configured.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3 MA | This command was first introduced. |
12.0(2) T and 12.0(1) XA | This command was removed. |
This command applies to Cisco MC3810 POTS, VoFR, VoATM, and VoHDLC dial peers.
The alt-dial command is used for the on-net-to-off-net alternative dialing function with Cisco IOS Releases prior to 12.0(2) T and 12.0(1) XA. The alt-dial string can be used in place of the destination-pattern string for dialing out.
The following example configures an alternate dial-out string of 9,5559871:
alt-dial 9,5559871
| Command | Description |
destination-pattern | Configures either the prefix or the full E.164 telephone number to be used for a dial peer. |
string | Series of digits that specify the E.164 or private dialing plan telephone number. Valid entries are the digits 0 through 9, the letters A through D, and the following special characters: · The asterisk (*) and pound sign (#) that appear on standard touch-tone dial pads. · Comma (,), which inserts a pause between digits. · Period (.), which matches any entered digit (this character is used as a wildcard). The plus sign (+) is not supported on the Cisco MC3810. |
t | Control character indicating that the destination-pattern value is a variable length dial string. |
No destination pattern is specified.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) T | This command was first introduced. |
Use the destination-pattern command to define the E.164 telephone number for this dial peer.
This pattern is used to match dialed digits to a dial peer. The dial peer is then used to complete the call. When a router receives voice data, it compares the called number (the full E.164 telephone number) in the packet header with the number configured as the destination pattern for the voice-telephony peer. The router then strips out the left-justified numbers corresponding to the destination pattern. If you have configured a prefix, the prefix is appended to the front of the remaining numbers, creating a dial string, which the router then dials. If all numbers in the destination pattern are stripped-out, the user receives a dial tone.
There are certain areas in the world (for example, in certain European countries) where valid telephone numbers can vary in length. Use the optional control character t to indicate that a particular destination-pattern value is a variable-length dial-string. In this case, the system does not match the dialed numbers until the interdigit timeout value has expired.
The following example configures the E.164 telephone number, "555-7922," for a dial peer:
dial-peer voice 10 pots destination-pattern 5557922
| Command | Description |
Specifies the prefix of the dialed digits for a dial peer. | |
timeouts interdigit | Configures the interdigit timeout value for a voice port. |
num-digit | The number of digits to be forwarded. If the number of digits is greater than the length of a destination phone number, the length of the destination number is used. The valid range is 0 to 32. Setting the value to 0 is equivalent to entering no forward digits (the default). |
all | Forward all digits. If all is entered, the full length of the destination pattern is used. |
implicit | Exactly matched digits are not forwarded. Only digits matched by the wildcard pattern are forwarded. |
No digits are forwarded.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) MA | This command was first introduced. |
12.0(2) T | The implicit option was added. |
12.0(4) T | This command was modified to support ISDN PRI QSIG signaling calls. |
This command applies only to the Cisco MC3810.
Forwarded digits are always right-justified so that extra leading digits are stripped.
For QSIG ISDN connections, entering forward-digits all implies that all of the digits of the called party number are sent to the ISDN connection. When you enter forward-digits num-digit and enter a number from 1 to 32, the number of digits specified (right justified) of the called part number are sent to the ISDN connection. When you enter forward-digits implicit, the number of matched digits matching the wildcard for the called party number are sent to the ISDN connection. For example, if the called part number is 51234, the digits sent to the ISDN connection are 1234.
The following example configures forward digits for a POTS dial peer on a Cisco MC3810:
dial-peer voice 1 pots
destination-pattern 8...
forward-digits all
| Command | Description |
Defines the prefix or the full E.164 telephone number to be used for a dial peer. |
slot | Slot number where the voice interface card is installed. Valid entries are 1 or 0. |
port | (Cisco MC3810) Voice port number. Valid entries are the following: · Analog voice ports: 1-6 · Digital voice ports: |
No dial peers are associated with the voice port.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) T | This command was first introduced. |
Use the port configuration command to associate the designated voice port with the selected POTS dial peer.
The following example associates a Cisco MC3810 dial peer with voice port 1/1:
dial-peer voice 10 pots port 1/1
| Command | Description |
dial-peer voice | Enters dial-peer configuration mode and specifies the method of voice-related encapsulation. |
voice-group | Configures a list of timeslots for voice Channel Associated Signaling (CAS) on a T1/E1 controller. |
value | An integer value from 0 to 10 in order of decreasing preference. The default value is 0 (highest preference). |
0 (highest preference)
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) MA | This command was first introduced. |
This command applies to POTS dial peers, VoFR dial peers, VoATM dial peers, and VoHDLC dial peers on the Cisco MC3810.
Setting the preference is useful in selecting the desired dial peer when multiple dial peers are matched for a dial string.
The following example configures POTS dial peer 10 to a preference of 1 and VoFR dial peer 20 to a preference of 2:
dial-peer voice 10 pots preference 1 dial-peer voice 20 vofr preference 2
| Command | Description |
Specifies either the prefix or the full E.164 telephone number for a dial peer. | |
Specifies a network-specific address for a dial peer. |
string | Integers representing the prefix of the telephone number associated with the specified dial peer. Valid numbers are 0 through 9, and a comma (,). Use a comma to include a pause in the prefix. |
No prefix is specified.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) T | This command was first introduced. |
Use the prefix command to specify a prefix for a specific dial peer. When an outgoing call is initiated to this dial peer, the prefix string value is sent to the telephony interface first, before the telephone number associated with the dial peer.
If you want to configure different prefixes for dialed numbers on the same interface, you need to configure different dial peers.
The following example specifies a prefix of "9" and then a pause:
dial-peer voice 10 pots prefix 9,
| Command | Description |
Specifies either the prefix or the full E.164 telephone number to be a dial peer. |
To configure a network-specific address for a dial peer, use the session target dial-peer configuration command. Use the no form of this command to disable this feature.
The command appears in the following forms in Cisco IOS Release 11.3
The command appears in the following forms in Cisco IOS Release 12.0
For Cisco MC3810 Voice over Frame Relay dial peers:
interface | Interface type and interface number on the Cisco MC3810. For the range of valid interface numbers for the selected interface type, enter a ? character after the interface type. |
dlci | Frame Relay DLCI. The valid range is 16 to 1007.
|
cid | Subchannel ID for the Frame Relay DLCI. The valid range is 4 to 255. |
For Cisco MC3810 Voice over ATM dial peers:
interface | Interface type and interface number on the Cisco MC3810. The only valid number is 0. |
pvc | The specific ATM permanent virtual circuit (PVC) for this dial peer. |
name | The PVC name. |
vpi/vci | ATM network virtual path identifier (VPI) and virtual channel identifier (VCI) of this PVC. |
vci | ATM network virtual channel identifier (VCI) of this PVC. |
For Cisco MC3810 Voice over HDLC dial peers:
interface | Interface type and interface number associated with this dial peer. |
Enabled with no IP address or domain name defined.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) T | This command was first introduced. |
11.3(1) MA | Support was added for VoFR, VoATM, and VoHDLC dial peers on the Cisco MC38110. |
12.0(3) XG | The cid option was added. |
Use the session target command to specify a network-specific address or domain name for a dial peer. Whether you select a network-specific address or a domain name depends on the session protocol you select.
The following example configures a session target for Voice over Frame Relay with a session target on serial port1 and a DLCI of 200:
dial-peer voice 11 vofr destination-pattern 13102221111 session target Serial1 200
(With Cisco IOS Releases earlier than 12.0) The following example configures a session target for Voice over ATM. The session target is sent to ATM interface Serial 2 with a VCD of 20.
dial-peer voice 12 voatm destination-pattern 13102221111 session target atm Serial 2 vcd 20
(With Cisco IOS Release 12.0 and later) The following example configures a session target for Voice over ATM. The session target is sent to ATM interface 0, and is for a PVC with a VCI of 20.
dial-peer voice 12 voatm destination-pattern 13102221111 session target atm0 pvc 20
The following example configures a session target on serial port 0 for Voice over HDLC:
dial-peer voice 13 vohdlc destination-pattern 13102221111 session target serial0
| Command | Description |
called-number | Enables an incoming VoFR call leg to be bridged to the correct POTS call leg. |
codec (dial-peer) | Specifies the voice coder rate of speech for a dial peer. |
cptone | Specifies a regional tone, ring, and cadence setting for an analog voice port. |
Specifies either the prefix or the full E.164 telephone number to be used for a dial peer. | |
dtmf-relay | Enables the DSP to generate FRF.11 Annex A frames for a dial peer. |
preference | Indicates the preferred selection order of a dial peer within a hunt group. |
session protocol | Establishes a VoFR protocol for calls between the local and the remote routers via the packet network. |
signal-type | Sets the signaling type to be used when connecting to a dial peer. |
This command has no arguments or keywords.
The administrative state of the dial peer is up.
Dial-peer configuration
| Release | Modification |
|---|---|
11.3(1) T | This command was first introduced. |
When a dial peer is shut down, you cannot initiate calls to that dial peer.
The following example changes the administrative state of voice telephony dial peer 10 to down:
configure terminal dial-peer voice 10 pots shutdown
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon May 3 15:09:40 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.