|
Printable Pdf This document describes how to configure digital T1 packet voice trunk network modules on Cisco 2600 and 3600 routers and includes the following sections: - Feature Overview, page 1
- Supported Platforms, page 10
- Supported Standards, MIBs, and RFCs, page 10
- Prerequisites, page 11
- Configuration Tasks, page 12
- Monitoring and Maintaining T1 Digital Packet Voice Configuration, page 25
- Configuration Examples, page 33
- Command Reference, page 44
- Glossary, page 66
Feature Overview Digital T1 packet voice trunk network modules for Cisco 2600 and 3600 series routers allow enterprises or service providers, using the equipped routers as customer premises equipment, to deploy digital voice and fax relay. These modules receive constant bit-rate telephony information over T1 interfaces and can convert that information to a compressed format, so that it can be transmitted as voice over IP.
Cisco IOS software configuration allows you to set up a variety of applications. Here are a few examples: - Compressed voice over WANs
- Routing of dialed variable-length digits collected from the public switched telephone network or PBX for VoIP calls
- Support for FRF.12 fragmentation and queuing in a VoIP over Frame-Relay network
- Setup of private-line auto-ringdown (PLAR) to allow a station or DS0 to go off hook and have the call completed without dialing (especially applicable to off-premises extensions)
- Transparent trunk connections among routers
- Drop and Insert of T1 channels on a T1 trunk to allow some PBX channels to be directed to the PSTN while others are used for compressed VoIP
For more information about these applications, see “Configuration Examples” on page 33.
T1 digital voice over IP includes the following functionality: - T1 Channel Associated Signaling (CAS) for the following line-signaling types:
— rEceive and transMit or Ear and Mouth (E&M) immediate start
— E&M wink start
— E&M delay start (also called “dial repeating”)
— Foreign Exchange Station (FXS) and Foreign Exchange Office (FXO) loop start
— FXS and FXO ground start - Dynamic bandwidth allocation using voice activity detection (VAD)
- Drop-and-Insert capability, allowing the interchange of time-division multiplexing (TDM) slots between the ports on a two-port T1 multiflex trunk voice/WAN interface card installed in a digital T1 packet voice trunk network module
- Support for a wide range of International Telecommunication Union (ITU-T) G-series compression specifications, including:
— G.711 A Law at 64,000 bps
— G.711 u Law at 64,000 bps
— G.723.1 Annex A at 5,300 bps
— G.723.1 Annex A at 6,300 bps
— G.723.1 at 5,300 bps
— G.723.1 at 6,300 bps
— G.726 at 16,000 bps
— G.726 at 24,000 bps
— G.726 at 32,000 bps
— G.728 at 16,000 bps
— G.729 at 8,000 bps
— G.729 Annex A at 8,000 bps
— G.729 Annex B at 8,000 bps
— G.729 Annex B with Annex A at 8,000 bps - Depending on codec complexity, either 30 or 60 channels of compressed voice
- High-quality voice endpoint-standard features, such as high-quality echo cancellation, silence suppression, comfort noise generation, and DTMF relay
- Group 3 fax relay
- Support for the following framing formats and line coding:
— Super Frame (SF)
— Extended Super Frame (ESF)
— Alternate mark inversion (AMI) line coding
— Binary 8-zero substitution (B8ZS) line coding Benefits Digital T1 packet voice trunk network modules allow Cisco 2600 and 3600 series routers to provide T1 connectivity to PBXs or to a central office (CO). With digital T1 connectivity, Cisco 2600 and 3600 series routers can provide greater voice density for enterprise and service provider VoIP networks than they could before. A digital T1 packet voice trunk network module is a complete solution, made up of a network module with installed packet voice data modules (PVDMs), and one T1 multiflex trunk voice/WAN interface card with either one or two T1 ports. VoIP: T1 Timing, Signaling, Framing, and Line Encoding With the introduction of the digital T1 packet voice trunk network modules for the Cisco 2600 and 3600 series routers, you must set timing, signaling, framing, and line encoding. The digital T1 packet voice trunk network modules can connect to either a PBX (or similar telephony device) or to a Central Office (CO) in order provide PSTN connectivity.
The differences that set T1 digital configuration apart from analog configuration are as follows: - Timing. Analog interfaces do not require specific timing configuration. Digital T1 interfaces require not only that you set timing but that you consider the source of the timers.
- Framing. Analog interfaces do not require specific framing configuration. Digital T1 interfaces require that you configure either SuperFrame (SF or D4 framing) or Extended SuperFrame (ESF) framing. Set the framing format to match that of the PBX or CO that connects to the digital T1 packet voice trunk network module.
- Line Encoding. Analog interfaces do not require that specific line encoding be configured. Digital T1 require that you configure either AMI (alternative mark inversion) or B8ZS (bipolar 8- zero substitution). Set the line encoding to match that of the PBX or CO that connects to the digital T1 packet voice trunk network module.
Timing This section describes the five basic timing scenarios that can occur when a digital T1 packet voice trunk network module is connected to a PBX, CO, or both. In all of the examples below, the PSTN (or Central Office) and the PBX are interchangeable for the purposes of providing or receiving clocking.
The digital T1 module has an on-board PLL (Phase-Lock Loop) chip that can either provide a clock source to both T1s or receive clocking that can drive the second T1. All timing commands are T1 controller configuration commands. Single T1 Port Provides Clocking In this scenario, the digital T1 module is the clock source for the connected device. The PLL generates the clock internally and drives the clocking on the T1 line.
Figure 1 Single T1 Port Providing Clock The following configuration sets up this clocking method:
controller T1 1/0 framing esf linecoding b8zs clock source internal ds0-group 1 timeslots 1-24 type e&m-wink Note Generally this method is useful only when connecting to a PBX, key system or channel bank. A Cisco VoIP Gateway rarely provides clocking to the CO, because CO clocking provides a higher Stratum level. Single T1 Port Receiving Clock from the Line In this scenario, the digital T1 module receives clocking from the connected device (CO or PBX). The PLL clocking is driven by the clock reference on the receive (Rx) side of the T1 connection.
Figure 2 Single T1 Receiving Clock from Line The following configuration sets up this clocking method:
controller T1 1/0 framing esf linecoding b8zs clock source line ds0-group 1 timeslots 1-24 type e&m-wink Dual T1s, Both Receive Clocking from the Line In this scenario, the digital T1 has two reference clocks, one from the PBX and another from the CO. Since the PLL can only derive clocking from one source, this case is more complex than the two preceding examples.
Before looking at the details, consider two important concepts that underlay the clocking method: - Looped-Time Clocking. The T1 port takes the clock received on its Rx (receive) pair and regenerates it on its Tx (transmit) pair. While the port receives clocking, the port is not driving the PLL on the card but is “spoofing” the T1 so that the connected device has a viable clock and does not see slips. PBXs are not designed to accept slips on a T1 line and such slips cause a PBX to drop the link into failure mode. While in looped-time mode, the router often sees slips, but because these are controlled slips, they usually do not force failures of the router’s T1 port.
- Slips. These messages indicate that the T1 port is receiving clock information that is out of phase, that is, out of synch. Because the router has only a single PLL, it can experience controlled slips while it receives clocking from two different time sources. The router can usually handle controlled slips because its single PLL architecture anticipates them.
Note Physical layer issues, such as bad cabling or faulty clocking references, can also cause slips. Eliminate these slips by addressing the physical layer or clock reference problems. Figure 3 Dual T1s Receiving Line Clocking  In this scenario, the PLL derives clocking from the CO and puts the T1 port connected to the PBX into looped-time mode. This is usually the best method because the CO provides an excellent clock source (and usually requires that it provide that source) and a PBX usually must receive clocking from the other T1.
The following configuration sets up this clocking method:
controller T1 1/0 < < description - connected to the CO framing esf linecoding b8zs clock source line primary ds0-group 1 timeslots 1-24 type e&m-wink ! controller T1 1/1 < < description - connected to the PBX framing esf linecoding b8zs clock source line ds0-group 1 timeslots 1-24 type e&m-wink The clock source line primary command tells the router to use this T1 port to drive the PLL. All other T1 ports configured as clock source line are then put into an implicit loop-timed mode. If the primary T1 port fails or goes down, the other T1 instead receives the clock that drives the PLL. In this configuration, T1 1/1 may see controlled slips, but these should not force it down. This method prevents the PBX from seeing slips. Dual T1s, One Receives Clocking and One Provides Clocking In this scenario, the digital T1 module receives clocking for the PLL from T1 0 and uses this clock as a reference to clock T1 1. If T1 0 fails, the PLL internally generates the clock reference to drive T1 1.
Figure 4 Dual T1s, One Receiving and One Providing Clocking The following configuration sets up this clocking method:
controller T1 1/0 framing esf linecoding b8zs clock source line ds0-group 1 timeslots 1-24 type e&m-wink ! controller T1 1/1 framing esf linecoding b8zs clock source internal ds0-group 1 timeslots 1-24 type e&m-wink Dual T1s, Both Clocks from Router In this scenario, the router is “Master of the Timing Universe,” generating the clock for the PLL and therefore for both T1s.
Figure 5 Dual T1s, Both Clocks from Router The following configuration sets up this clocking method:
controller T1 1/0 framing esf linecoding b8sz clock source internal ds0-group 1 timeslots 1-24 type e&m-wink ! controller T1 1/1 framing esf linecoding b8zs clock source internal ds0-group 1 timeslots 1-24 type e&m-wink Signaling There are three types of signaling that you should consider for digital T1: - Channel-Associated Signaling (CAS). CAS signaling means that instead of having a specific time slot (such as an ISDN D channel in PRI) designated to provide signaling only, signaling bits (on-hook and off-hook) are within the sixth, twelfth, eighteenth and twenty-fourth frames of each time slot. CAS signaling is often called robbed-bit signaling (RBS) because it takes bits from bearer channels and uses them for signaling. CAS signaling must be specified on both ends of the T1 link and is enabled by default on digital T1 packet voice trunk network modules.
Note Digital T1 packet voice trunk network modules support T1 CAS at this time, but later plans are to support E1, Primary Rate Interface (PRI), R2, and Common-Channel (CCS) signaling. The digital T1 module can support E&M wink-start, immediate-start, and delay-start signaling, as well as FXS and FXO ground-start and loop-start signaling.
- E&M Signaling. E&M connections can use one of three different signaling types to acknowledge on-hook and off-hook states: wink-start, immediate-start and delay-start. E&M wink-start is usually preferred because it provides better Answer Supervision (knowledge that the connected device is ready to answer the call). However, not all COs and PBXs can handle wink-start signaling. The E&M connection between the router and switch (CO or PBX) must use matching E&M signaling types or calls are not be connected properly. E&M signaling is defined with the ds0-group controller configuration command, as in the following example:
controller T1 1/0 ds0-group 1 timeslots 1-24 type e&m-wink-start Note Currently, wink-start signaling provides only the functionality of Feature-Group B and not that of Feature-Group D, which will be supported in later releases.
- FXO and FXS Signaling. While most digital T1 connections used for switch-to-switch (or switch-to-router) trunks are E&M connections, a digital T1 module can also support FXS and FXO connections, which people normally use to provide emulated-OPX (Off-Premise eXtensions) from a PBX to remote stations. As a general rule, FXO ports connect to FXS ports. Either ground-start or loop-start signaling is appropriate for these connections. Ground-start provides better Disconnect Supervision to detect when a remote user has hung up the phone, but ground-start is not available on all PBXs. The FXO or FXS connection between the router and switch (CO or PBX) must use matching signaling or calls are not be connected properly. FXS and FXO signaling are defined with the ds0-group controller configuration command, as in the following example:
controller T1 1/0 ds0-group 1 timeslots 1-24 type fxo-ground-start or controller T1 1/0 ds0-group 1 timeslots 1-24 type fxs-loop-start Note While some switches (CO or PBX) can specify both an inbound and outbound signaling method, Cisco VoIP gateway routers can only specify one signaling type for both inbound and outbound calls. The switch inbound and outbound signaling types must match, or calls may only work in one direction.
Framing Digital T1 packet voice trunk network modules support two types of framing for T1 CAS: ESF (Extended SuperFrame) and SF (SuperFrame), also called D4 framing. The framing type of the router and switch (CO or PBX) must match. The framing controller configuration command defines T1 framing, as in the following example:
controller T1 1/0 framing esf
or controller T1 1/0 framing sf Line Encoding Digital T1 packet voice trunk network modules support two types of framing for T1 CAS: B8ZS (bipolar-8 zero substitution) and AMI (alternate mark inversion). The line encoding of the router and switch (CO or PBX) must match. The linecoding controller configuration command defines T1 framing, as in the following example:
controller T1 1/0 linecoding b8zs
or controller T1 1/0 linecoding ami Verifying Configuration Use the show controller privileged EXEC command to verify the proper digital T1 configuration:
router# show controller T1 1/0 T1 1/0 is up. Applique type is Channelized T1 Cablelength is short 133 Description: Digital T1 WIC No alarms detected. Framing is ESF, Line Code is B8ZS, Clock Source is Line Primary. Data in current interval (2 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs Restrictions The following restrictions apply to digital T1 packet voice trunk network module configuration: - Group 4 fax is not supported.
- The high-density voice network module has one slot for a voice/WAN interface card (VWIC); VWICs supply one or two ports. Only the dual-mode (voice/WAN) multiflex trunk cards are supported in the digital T1 packet voice trunk network module, not older VICs. For more information, see the “Prerequisites” section on page 11.
- Drop-and-Insert capability is supported only between two ports on the same multiflex card.
- Voice over Frame Relay is not supported.
- Wink-start signaling Feature-Group D is not supported.
- Common-channel signaling (CCS) and Primary Rate Interface (PRI) are not supported.
- R2 signaling is not supported.
- Voice over ATM—including AAL5 encapsulation, circuit emulation service (CES), and AAL2—is not supported for VoATM.
- Digital T1 voice is not manageable through Simple Network Management Protocol (SNMP) using existing versions of Cisco Voice Manager. Release 2.0 of Cisco Voice Manager is planned to support the feature.
Related Features and Technologies VoIP Quality of Service
This section explains the quality issues that you should consider when building Voice over IP (VoIP) networks and offers a few tips about configuring VoIP with the appropriate Quality of Service (QoS): - Delay. Delay is the time it takes for VoIP packets to travel between two endpoints and you should design networks to minimize this delay. However, because of the speed of network links and the processing power of intermediate devices, some delay is expected. The human ear normally accepts up to about 150 milliseconds (ms) of delay without noticing problems (the ITU's G.114 standard recommends no more than 150 ms of one-way delay). Once delay exceeds 150 ms, a conversation becomes more and more like a walkie-talkie interchange, where one person must wait for the other to stop speaking before beginning to talk. This type of delay is often evident on international long-distance calls. You can measure delay fairly easily by using ping tests at various times of the day with different network traffic loads. If network delay is excessive, reduce it before deploying VoIP networks.
- Jitter. While delay can cause unnatural starting and stopping of conversations, variable-length delays (also known as jitter) can cause a conversation to break and become unintelligible. Jitter is not usually a problem with public switched telephone network (PSTN) calls, because the bandwidth of calls is fixed. However, in VoIP networks where existing data traffic might be bursty, jitter can become an issue. Cisco voice gateways have built-in de-jitter buffering to compensate for a certain amount of jitter, but if jitter is constant on a network, identify the source and control it before deploying a VoIP network.
- Serialization. Serialization is a term that describes what happens when a router attempts to send both voice and data packets out of an interface. In general, voice packets are very small (80 to 256 bytes), while data packets can be very large (1,500 to 18,000 bytes). On relatively slow links, such as WAN connections, large data packets can take a long time to transmit onto the wire. When these large packets are mixed with smaller voice packets, the excessive transmission time can lead to both delay and jitter. You can use fragmentation to reduce the size of the data packets so that the delay and jitter also decrease.
- Bandwidth Consumption. Traditional voice conversations consume 64 Kb of network bandwidth. When this voice traffic is run though a VoIP network, it can be compressed and digitized by digital signal processors (DSPs) built into the routers. This compression can reduce the calls to sizes as small as 5.3 Kb for voice samples. Once the packets go onto the IP network, the appropriate IP/UDP/RTP headers must be added, and this can add a significant amount of bandwidth to each call (about 40 bytes per packet). Technologies such as RTP header compression, however, can reduce the IP header overhead to about 2 bytes. In addition, VAD (voice activity detection) does not send any packets unless there is active speech.
Supported Platforms This feature is supported on the following platforms: - Cisco 2610
- Cisco 2611
- Cisco 2612
- Cisco 2613
- Cisco 2620
- Cisco 2621
- Cisco 3620
- Cisco 3640
- Cisco 3661
- Cisco 3662
Supported Standards, MIBs, and RFCs RFCs - RFC 1890
- RFC 1889
MIBs - CISCO-ENTITY-VENDORTYPE-OID-MIB
- OLD-CISCO-CHASSIS-MIB
- CAS_INTF_MIB
International Telecommunication Union (ITU-T) G-Series Codec Compression Specifications - G.711 A Law at 64,000 bps
- G.711 u Law at 64,000 bps
- G.723.1 Annex A at 5,300 bps
- G.723.1 Annex A at 6,300 bps
- G.723.1 at 5,300 bps
- G.723.1 at 6,300 bps
- G.726 at 16,000 bps
- G.726 at 24,000 bps
- G.726 at 32,000 bps
- G.728 at 16,000 bps
- G.729 at 8,000 bps
- G.729 Annex A at 8,000 bps
- G.729 Annex B at 8,000 bps
- G.729 Annex B with Annex A at 8,000 bps
Prerequisites Digital T1 packet voice requires specific service, software, and hardware: - Obtain T1 service from your service provider or PBX.
- Install Cisco IOS Software Release 12.0(5)XK, 12.0(7)T or a later release. The minimum DRAM memory requirements to support digital T1 packet voice trunk network modules are as follows:
— 32 Mb with one or two T1s
— 48 Mb with three or four T1s
— 64 Mb with five to ten T1s
— 128 Mb with more than ten T1s
The memory required may be greater than listed above for high-volume applications.
Support for digital T1 packet voice trunk network modules is included in Plus feature sets. The IP Plus feature set requires 8 Mb of flash memory; other Plus feature sets require 16 Mb. - Install one of the following high-density T1 network modules in the router chassis:
— Single-Port 24 Channel T1 High-Density Voice Network Module (NM-HDV-1T1-24)
— Single-Port Enhanced 24 Channel T1 High-Density Voice Network Module (NM-HDV-1T1-24E)
— Dual-Port 48 Channel High-Density Voice Network Module (NM-HDV-2T1-48) Note You can install one module in a Cisco 2600 series router or a Cisco 3620 router. A Cisco 3640 router can support three modules, and you can install as many as six modules in a Cisco 3660 router.
- Install at least one packet voice data module (PVDM-12) in the high-density digital T1 network module if it is not already equipped. The digital T1 packet voice trunk network module contains five 72-pin SIMM sockets or banks, numbered 0 through 4, for PVDMs. Each socket can be filled with a single 72-pin PVDM. A digital T1 packet voice trunk network module can support the following numbers of channels:
— When the digital T1 packet voice trunk network module is configured for high-complexity codec mode, up to six voice or fax calls can be completed per PVDM-12, using the following codecs: G.711, G.726, G.729, G.729 Annex B, G.723.1, G.723.1 Annex A, G.728, and fax relay.
— When the digital T1 packet voice trunk network module is configured for medium-complexity codec mode, up to twelve voice or fax calls can be completed per PVDM-12, using the following codecs: G.711, G.726, G.729 Annex A, G.729 Annex B with Annex A, and fax relay. Note Each PVDM holds three digital signal processors (DSPs). With five PVDM slots populated, a total of 15 DSPs are provided. High-complexity codecs support two simultaneous calls on each DSP, while medium-complexity codecs support four calls on each DSP.
- Install at least one dual-mode voice/WAN interface card (VWIC) for a voice connection if a VWIC was not included with the network module. You can install one VWIC (providing one or two line interfaces) in the digital T1 packet voice trunk network module. Only the one- and two-port T1 multiflex trunk interface cards (VWIC-1MFT-T1, VWIC-2MFT-T1,
VWIC-2MFT-T1-DI) are supported with channel-associated signaling (CAS).
For Drop-and-Insert capability, you must install a two-port Drop-and-Insert T1 multiflex trunk voice/WAN interface card (VWIC-2MFT-T1-DI). To install a VWIC in a network module, see Cisco WAN Interface Cards Hardware Installation Guide. - Install at least one other network module orWAN interface card to provide the connection to the IP LAN or WAN.
- Establish a working IP network. For more information about configuring IP, see “IP Overview,” “Configuring IP Addressing,” and “Configuring IP Services” chapters in the Cisco IOS Release 12.0 Network Protocols Configuration Guide, Part 1.
- Complete your company’s dial plan.
- Establish a working telephony network based on your company's dial plan.
Voice, Video, and Home Applications Configuration Guide and Voice, Video, and Home Applications Command Reference for Cisco IOS Release 12.0 provide information about setting up voice networks. Configuration Tasks Perform the following tasks to configure a digital T1 packet voice trunk network module: - Set up voice cards and T1 controllers.
- Configure serial and LAN interfaces.
- Set up voice ports.
- Configure voice dial peers.
Configuring Voice Card and T1 Controller Settings The following steps specify codec settings for voice cards and set up T1 controllers for clocking and other T1 parameters, as well as for DS0 groups that define the channels for compressed voice and TDM groups for Drop-and-Insert capability. | Step | Command | Purpose | | 1 | Router# configure terminal | Enter global configuration mode. | | 2 | Router(config)# voice-card slot | Enter voice card interface configuration mode and specify the slot location by using a value from 0 to 5, depending upon your router. | | 3 | Router(config-voice-ca)# codec complexity {high | medium} | Specify the codec complexity based on the codec standard you are using. High-complexity codecs support lower call density than do medium-complexity codecs. The number of channels supported is based on the number of PVDMs installed and the codec complexity. Here is a guideline:
• When the digital T1 packet voice trunk network module is configured for high-complexity codec mode, up to six voice or fax calls can be completed per PVDM-12, using the following codecs: G.711, G.726, G.729, G.729 Annex B, G.723.1, G.723.1 Annex A, G.728, and fax relay.
• When the digital T1 packet voice trunk network module is configured for medium-complexity codec mode, up to twelve voice or fax calls can be completed per PVDM-12, using the following codecs: G.711, G.726, G.729 Annex A, G.729 Annex B with Annex A, and fax relay
All voice cards in a router must use the same codec complexity setting.
The keyword that you specify for codec complexity affects the choice of codecs available using the codec dial-peer configuration command. See Step 7 in “Configuring Voice Dial Peers” on page 22.
Note You cannot change codec complexity while DS0 groups are defined. If they are already set up, use the no ds0-group command before resetting the codec complexity. For more information about the ds0-group command, see Step 9. | | 4 | Router(config)# controller T1 slot/ port | Enter controller configuration mode for the T1 controller at the specified slot/port location. Valid values for slot and port are 0 and 1. | | 5 | Router(config-controller)# clock source {line [primary] | internal} | Configure controller T1 1/0 to specify the clock source. The line keyword specifies that the clock source is derived from the active line—rather than from the free-running internal clock. This is the default setting and is generally more reliable. These rules apply to clock sourcing on the T1 controller ports:
• When both ports are set to line clocking with no primary specification, port 0 is the default primary clock source and port 1 is the default secondary clock source.
• When both ports are set to line and one port is set as the primary clock source, the other port is by default the backup or secondary source and is loop-timed.
• If one port is set to clock source line or clock source line primary and the other is set to clock source internal, the internal port recovers clock from the clock source line port if the clock source line port is up. If it is down, then the internal port generates its own clock.
• If both ports are set to clock source internal, there is only one clock source—internal. | | 6 | Router(config-controller)# framing {sf | esf} | Set the framing according to your service provider’s instructions. Choose Extended Superframe (ESF) format or Superframe (SF) format. | | 7 | Router(config-controller)# linecode {b8zs | ami} | Set the line encoding according to your service provider’s instructions. Bipolar-8 zero substitution (B8ZS) encodes a sequence of eight zeros in a unique binary sequence to detect line coding violations. Alternate mark inversion (AMI) represents zeros using a 01 during each bit cell, and ones are represented by 11 or 00, alternately, during each bit cell. AMI requires that the sending device maintain ones density. Ones density is not maintained independent of the data stream. | | 8 | Router(config-controller)# cablelength long {gain26 | gain36} {-15db | -22.5db | -7.5db | 0db}
or
cablelength short {133 | 266 | 399 | 533 | 655} | (T1 interfaces only) The cable length setting must conform to the actual cable length you are using. For example, if you attempt to enter the cablelength short command on a long-haul T1 link, the command is rejected.
To set a cable length longer than 655 feet for a T1 link, use the cablelength long command. The keywords are as follows:
• gain26 specifies the decibel pulse gain at 26. This is the default pulse gain.
• gain36 specifies the decibel pulse gain at 36.
• -15db specifies the decibel pulse rate at -15 decibels.
• -22.5db specifies the decibel pulse rate at -22.5 decibels.
• -7.5db specifies the decibel pulse rate at -7.5 decibels.
• 0db specifies the decibel pulse rate at 0 decibels. This is the default pulse rate.
To set a cable length 655 feet or less for a T1 link, use the cablelength short command. There is no default for cablelength short. The keywords are as follows:
• 133 specifies a cable length from 0-133 feet.
• 266 specifies a cable length from 134-266 feet.
• 399 specifies a cable length from 267-399 feet.
• 533 specifies a cable length from 400-533 feet.
• 655 specifies a cable length from 534-655 feet.
If you do not set the cable length, the system defaults to a setting of cablelength long gain26 0db. | | 9 | Router(config-controller)# ds0-group ds0-group-no timeslots timeslot-list type {e&m-immediate | e&m-delay |e&m-wink | fxs-ground-start | fxs-loop-start | fxo-ground-start | fxo-loop-start} | This command defines the T1 channels for use by compressed voice calls as well as the signaling method the router uses to connect to the PBX or CO. You should set up DS0 groups after you have specified codec complexity in voice-card configuration, as shown in Step 3. If you modify the codec complexity command parameters, you must first remove any existing DS0 groups, then reinstate them after the change to the codec complexity.
ds0-group-no is a value from 0 to 23 that identifies the DS0 group.
Note The ds0-group command automatically creates a logical voice port that is numbered as follows: slot/port:ds0-group-no. Although only one voice port is created, applicable calls are routed to any channel in the group.
timeslot-list is a single number, numbers separated by commas, or a pair of numbers separated by a hyphen to indicate a range of timeslots. For T1, allowable values are from 1 to 24. To map individual DS0 timeslots, define additional groups. The system maps additional voice ports for each defined group. See Step 2 of “Configuring Voice Ports” on page 20.
The signaling method selection for type depends on the connection that you are making:
• The E&M interface allows connection for PBX trunk lines (tie lines) and telephone equipment. The wink and delay settings both specify confirming signals between the transmitting and receiving ends, whereas the immediate setting stipulates no special offhook/onhook signals.
• The FXO interface is for connection of a central office (CO) to a standard PBX interface where permitted by local regulations; the interface is often used for off-premises extensions.
• The FXS interface allows connection of basic telephone equipment and PBXs. | | 10 | Router(config-controller)# tdm-group tdm-group-no timeslots timeslot-list type [e&m | fxs [loop-start | ground-start] fxo [loop-start | ground-start]] | (Optional) Use this command only when you need TDM channel groups for the Drop-and-Insert (also called TDM Cross-Connect) function with a two-port T1 multiflex trunk interface card.
tdm-group-no is a value from 0 to 23 that identifies the channel group.
timeslot-list is a single number, numbers separated by commas, or a pair of numbers separated by a hyphen to indicate a range of timeslots. For T1, allowable values are from 1 to 24.
The signaling method selection for type depends on the connection that you are making. The fxs and fxo options allow you to specify a ground-start or loop-start line. Choose a type based on the criteria described above in Step 9.
Note The group numbers for controller groups must be unique. For example, a TDM group should not have the same ID number as a DS0 group. | | 11 | Router(config-controller)# no shutdown | Activate the controller. | | 12 | Router(config-controller)# exit | Exit controller configuration mode. Skip the next step if you are not setting up Drop and Insert. | | 13 | Router(config)# connect id T1 slot/ port tdm-group-no-1 T1 slot/ port tdm-group-no-2 | (Optional) This global configuration command sets up the connection between two T1 TDM groups of timeslots on the trunk interfaces—for Drop and Insert.
id is a name for the connection.
Identify each T1 controller by its slot/port location. Valid values for slot and port are 0 and 1.
tdm-group-no-1 and tdm-group-no-2 identify the TDM group numbers (from 0 to 23) on the specified controller. The groups were set up in Step 10.
See the “Configuration Examples” section on page 33 for sample Drop and Insert configurations. | Verifying Voice Card and Controller Settings To verify the configuration of voice card and controller settings, follow these steps: | Step 1 | Enter the show running-config command to display the current voice-card setting. If no codec complexity is shown, the default of medium complexity is set. The following example shows an excerpt from the command output:
Router# show running-config . . . hostname router-alpha
voice-card 1 codec complexity high . . . | | Step 2 | The privileged EXEC show controllers t1 command displays the status of T1 controllers and displays information about clock sources and other settings for the T1 ports:
Router# show controller T1 1/0
T1 1/0 is up. Applique type is Channelized T1 Cablelength is short 133 Description: T1 WIC card Alpha No alarms detected. Framing is ESF, Line Code is B8ZS, Clock Source is Line Primary. Data in current interval (1 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs | | Step 3 | The privileged EXEC show connection all command displays the status of T1 or E1 TDM controller groups and how they are set up:
Router# show connection all
ID Name Segment 1 Segment 2 State ==================================== 1 Test -T1 1/0 01 -T1 1/1 02 ADMIN UP | Configuring Serial Interfaces The way you set up serial and LAN interfaces depends on your application. To configure VoIP, you must at least set up IP addresses for serial interfaces. When a user dials enough digits to match a configured destination pattern, the telephone number is mapped to an IP host through the dial plan mapper. The IP host has a direct connection to either the destination telephone number or a PBX that completes the call to the configured destination pattern.
This document does not explain all possible serial interface configuration options, nor does it show LAN interface configuration. For complete information, see the Cisco IOS Release 12.0 Cisco IOS Interface Configuration Guide and the Cisco IOS Interface Command Reference.
The “Configuration Examples” section on page 33 shows a sample configuration that sets up VoIP over Frame Relay. For more information about setting up voice networks, see Voice, Video, and Home Applications Configuration Guide for Cisco IOS Release 12.0. Note For information about monitoring serial interfaces in order to trigger a busyout condition on a voice port when an interface is down, see “Configuring Voice Ports” on page 20. | Step | Command | Purpose | | 1 | Router# configure terminal | Enter global configuration mode. | | 2 | Router(config)# interface serial slot/ port: channel-group | Enter interface configuration mode for a serial interface that you specify by slot and port. The :channel-group portion of the command is only required for channelized T1 interfaces. (For setting up channelized T1 interfaces, see Dial Solutions Configuration Guide for Cisco IOS Release 12.0.) | | 3 | Router(config-if)# ip address ip-address mask | Assign the IP address and subnet mask to the interface. | Verifying Serial Interface Configuration To verify serial interface configuration, enter the privileged EXEC command showinterfaces serial, which displays the status of all serial interfaces or of a specific serial interface, as shown in the following example. You can use this command to check the encapsulation, IP addressing, and other settings:
Router #show interface serial0/0:0 Serial0/0:0 is up, line protocol is up Hardware is QUICC Serial Internet address is 1.156.1.1/24 MTU 1500 bytes, BW 1536 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation HDLC, loopback not set Keepalive not set Last input 00:00:00, output 00:00:00, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 1000 bits/sec, 1 packets/sec 5 minute output rate 1000 bits/sec, 1 packets/sec 637 packets input, 64736 bytes, 0 no buffer Received 181 broadcasts, 0 runts, 5 giants, 0 throttles 3617 input errors, 1506 CRC, 1646 frame, 0 overrun, 0 ignored, 0 abort 682 packets output, 67213 bytes, 0 underruns 0 output errors, 0 collisions, 1070 interface resets 0 output buffer failures, 0 output buffers swapped out 13 carrier transitions Timeslot(s) Used:1-24, Transmitter delay is 0 flags Configuring Voice Ports Follow these steps to set up voice ports to support the local and remote stations. Not all possible commands are shown here. To learn more, see Voice, Video, and Home Applications Configuration Guide and Voice, Video, and Home Applications Command Reference for Cisco IOS Release 12.0. | Step | Command | Purpose | | 1 | Router# configure terminal | Enter global configuration mode. | | 2 | Router(config)# voice-port slot/port:ds0-group-no | Enter voice-port configuration mode.
slot is the router location where the voice module is installed. Valid entries are from 0 to 3.
port indicates the voice interface card location. Valid entries are 0 or 1.
Each defined DS0 group number is represented on a separate voice port. This allows you to define individual DS0s on the digital T1 card. For more information about DS0 groups, see Step 12 of “Configuring Voice Card and T1 Controller Settings” on page 13.
Note This voice-port command syntax does not apply to analog voice network modules and voice interface cards. The latter are specified using slot/subunit/port, designating the router slot for the voice network module, the location of the voice interface card in the network module, and the port on the voice interface card | | 3 | Router(config-voice-port)# busyout monitor interface interface number | (Optional) This command allows you to specify a LAN or WAN interface that will be monitored, and, when it is down, trigger a busyout (offhook) state on the voice port. This allows rerouting of calls. For example, if you specify Serial 1/0 as the interface and number, the voice port sends a busyout signal when that interface is down. You can issue the command repeatedly to specify as many interfaces, virtual interfaces, and subinterfaces as are required for a voice port.
For example, if you issue the command three times so that three interfaces are monitored, the voice port only goes into busyout state when all three interfaces are down. When any one of the interfaces is operational, the busyout state is removed. | | 4 | Router(config-voice-port)# comfort-noise | (Optional) This parameter is enabled by default. It creates subtle background noise to fill silent gaps during calls when VAD is enabled on voice dial peers. If comfort noise is not generated, the silence can be unsettling to callers. | | 5 | Router(config-voice-port)# echo-cancel enable | (Optional) This setting is enabled by default. Echo cancellation adds to the quality of voice transmissions by adjusting the echo that occurs on the interface due to impedance mismatches. Some echo is reassuring; echo over 25 milliseconds can cause problems. | | 6 | Router(config-voice-port)# echo-cancel coverage {16 | 24 |32 | 8} | (Optional) This command adjusts the echo canceller by the specified number of milliseconds; the default is 16. | | 7 | Router(config-voice-port)# connection {plar |trunk} string | (Optional) This command sets up a connection mode for the voice port.
plar specifies a private line auto ring down (PLAR) connection, which rings a remote telephone when the dial peer goes off hook.
trunk specifies a straight tie-line connection to a PBX.
string specifies the remote telephone number or significant start digits of the number.
See the “Configuration Examples” section on page 33 for sample PLAR and trunk configurations. | | 8 | Router(config-voice-port)# timeouts interdigit seconds | (Optional) This command sets the number of seconds the system waits—after the caller has input the initial digit—for a subsequent digit of the dialed string. If the timeout ends before the destination is identified, a tone sounds and the call ends. The default value is 10 seconds, and the timeout can be set from 0 to 120 seconds.
Note Changes to the default for this command normally are not required. Other timing settings may also be needed. For more information, see the Cisco IOS Release 12.0 Voice, Video, and Home Applications Configuration Guide. | | 9 | Router(config-voice-port)# exit | Exit voice-port configuration mode.
Repeat Steps 2 through 9 for each DS0 group you create. | Verifying Voice Ports Follow the procedure below to verify voice-port configuration. To learn more about these commands, see Voice, Video, and Home Applications Command Reference for Cisco IOS Release 12.0.
Important command output is shown in bold.
To verify the voice-port configuration, enter the privileged EXEC show voice port slot/port:ds0-group command. The following sample output from the command shows explanatory information after the “<<“ characters:
cisco-router# show voice port 1/0:1
receEive and transMit Slot is 1, Sub-unit is 0, Port is 1 << voice-port 1/0:1
Type of VoicePort is E&M Operation State is DORMANT Administrative State is UP No Interface Down Failure Description is not set Noise Regeneration is enabled Non Linear Processing is enabled Music On Hold Threshold is Set to -38 dBm In Gain is Set to 0 dB Out Attenuation is Set to 0 dB Echo Cancellation is enabled Echo Cancel Coverage is set to 8 ms Connection Mode is normal Connection Number is not set Initial Time Out is set to 10 s Interdigit Time Out is set to 10 s Region Tone is set for US Configuring Voice Dial Peers Follow these steps to set up voice dial peers to support the local and remote stations. Not all possible commands are shown here. To learn more, see Voice, Video, and Home Applications Configuration Guide and Voice, Video, and Home Applications Command Reference for Cisco IOS Release 12.0. | Step | Command | Purpose | | 1 | Router# configure terminal | Enter global configuration mode. | | 2 | Router(config)# dial-peer voice number pots | Enter dial-peer configuration mode and define a local dial peer that will connect to the plain old telephone service (POTS) network.
number is one or more digits identifying the dial peer. Valid entries are from 1 to 2147483647.
pots indicates a peer using basic telephone service. | | 3 | Router(config-dialpeer)# destination-pattern string [T] | Configure the dial peer's destination pattern so that the system can reconcile dialed digits with a telephone number.
string is a series of digits that specify the E.164 or private dialing plan phone number. Valid entries are the digits 0 through 9 and the letters A through D. The plus symbol (+) is not valid. The following special characters can be entered:
• The star character (*) that appears on standard touch-tone dial pads can be in any dial string but not as a leading character (for example, *650).
• The period (.) acts as a wildcard character.
• The comma (,) can be used only in prefixes and inserts a one-second pause.
When the timer (T) character is included at the end of the destination pattern, the system collects dialed digits as they are entered—until the interdigit timer expires (10 seconds, by default)—or the user dials the termination of end-of-dialing key (default is #).
Note The timer character must be a capital T. | | 4 | Router(config-dialpeer)# prefix string | (Optional) Include a dial-out prefix that the system enters automatically instead of people dialing it.
string is a value from 0 to 9, and you can use a comma (,) to indicate a pause.
Note There are other digit manipulation commands available to handle such situations as prefixes for special services, ignoring some digits, and dialing into remote PBXs as though they are local. | | 5 | Router(config-dialpeer)# port slot/ port: ds0-group-no | This command associates the dial peer with a specific logical interface.
slot is the router location where the voice module is installed. Valid entries are from 0 to 3.
port indicates the voice interface card location. Valid entries are 0 or 1.
Each defined DS0 group number is represented on a separate voice port. This allows you to define individual DS0s on the digital T1 card. | | 6 | Router(config)# dial-peer voice number voip | Enter dial-peer configuration mode and define a remote VoIP dial peer.
number is one or more digits identifying the dial peer. Valid entries are from 1 to 2147483647.
voip indicates a VoIP peer using voice encapsulation on the IP network. | | 7 | Router(config-dialpeer)# codec {g711alaw | g711ulaw | g723ar53 | g723ar63 | g723r53 | g723r63 | g726r16 | g726r24 | g726r32 | g728 | g729r8 [pre-ietf] | g729br8 } [ bytes] | The voice-card configuration codec complexity command sets the codec options that are available when you execute this command. See Step 3 of the “Configuring Voice Card and T1 Controller Settings” section on page 13.
If you do not set codec complexity, g729r8 with IETF bit-ordering is used.
If you set codec complexity to high, the following options are available:
• g711alaw—G.711 A Law 64,000 bps
• g711ulaw—G.711 u Law 64,000 bps
• g723ar53—G.723.1 Annex A 5,300 bps
• g723ar63—G.723.1 Annex A 6,300 bps
• g723r53—G.723.1 5,300 bps
• g723r63—G.723.1 6,300 bps
• g726r16—G.726 16,000 bps
• g726r24—G.726 24,000 bps
• g726r32—G.726 32,000 bps
• g728—G.728 16,000 bps
• g729r8---G.729 8,000 bps (default)
• g729br8—G.729 Annex B 8,000 bps
If you set codec complexity to medium, the following options are valid:
• g711alaw—G.711 A Law 64,000 bps
• g711ulaw—G.711 u Law 64,000 bps
• g726r16—G.726 16,000 bps
• g726r24—G.726 24,000 bps
• g726r32—G.726 32,000 bps
• g729r8—G.729 Annex A 8,000 bps
• g729br8—G.729 Annex B with Annex A 8,000 bps
The optional bytes parameter sets the number of voice data bytes per frame. Acceptable values are from 10 to 240 in increments of 10 (for example, 10, 20, 30, and so on). Any other value is rounded down (for example, from 236 to 230).
If you specify g729r8, then the IETF (Internet Engineering Task Force) bit-ordering is used. For interoperability with a Cisco 2600, 3600, or AS5300 router running a Cisco IOS release prior to Release 12.0(5)T or12.0(4)XH, you must specify the additional key word pre-ietf after g729r8. | | 8 | Router(config-dialpeer)# vad | (Optional) This setting is enabled by default. It activates voice activity detection (VAD). VAD allows the system to reduce unnecessary voice transmissions caused by unfiltered background noise. | | 9 | Router(config-dialpeer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | (Optional) Dual-tone multifrequency (DTMF) describes the tone that sounds in response to a keypress on a touch-tone phone. DTMF tones are compressed at one end of a call and decompressed at the other end.
If a low-bandwidth codec, such as a G.729 or G.723, is used, the tones can sound distorted. The dtmf-relay command transports DTMF tones generated after call establishment out-of-band by using a method that transmits with greater fidelity than is possible in-band for most low-bandwidth codecs. Without DTMF relay, calls established with low-bandwidth codecs may have trouble accessing automated phone menu systems, such as voice mail and interactive voice response (IVR) systems.
A signaling method is supplied only if the remote end supports it, and the options are: Cisco proprietary (cisco-rtp), standard H.323 (h245-alphanumeric), and H.323 standard with signal duration (h245-signal). | | 10 | Router(config-dialpeer)# fax-rate {2400 | 4800 | 7200 | 9600 | 12000 | 14400 | disable | voice} | (Optional) Specify the transmission speed of a fax to be sent to this dial peer. disable turns off fax transmission capability, and voice specifies the highest possible fax speed supported by the voice rate. | | 11 | Router(config-dialpeer)# destination-pattern string [T] | See Step 3 in this procedure. | | 12 | Router(config-dialpeer)# session target {ipv4: destination-address | dns:[$s$. | $d$. | $e$. | $u$.] host-name} | Configure the IP session target for the dial peer. ipv4:destination-address indicates IP address of the dial peer.
dns:host-name indicates that the domain name server will resolve the name of the IP address. Valid entries for this parameter are characters representing the name of the host device.
There are also wildcards available for defining domain names with the keyword by using source, destination, and dialed information in the host name. For complete command syntax information, see Voice, Video, and Home Applications Command Reference for Cisco IOS Release 12.0. | Verifying Voice Dial Peers Follow the procedure below to verify dial-peer configuration. To learn more about these commands, see Voice, Video, and Home Applications Command Reference for Cisco IOS Release 12.0.
Important command output is shown in bold.
Enter the privileged EXEC show dial-peer voice command. The following text is sample output from the command for a POTS dial peer:
router# show dial-peer voice 1 VoiceEncapPeer1 tag = 1, dest-pat = Q+14085551000', answer-address = Q', group = 0, Admin state is up, Operation state is down Permission is Both, type = pots, prefix = Q', session-target = Q', voice-port = Connect Time = 0, Charged Units = 0 Successful Calls = 0, Failed Calls = 0 Accepted Calls = 0, Refused Calls = 0 Last Disconnect Cause is "10" Last Disconnect Text is "" Last Setup Time = 0
The following text is sample output from the show dial-peer voice command for a VoIP dial peer: Router# show dial-peer voice 10
VoiceOverIpPeer10 tag = 10, dest-pat = Q', incall-number = Q+14087', group = 0, Admin state is up, Operation state is down Permission is Answer, type = voip, session-target = Q', sess-proto = cisco, req-qos = bestEffort, acc-qos = bestEffort, fax-rate = voice, codec = g729r8, Expect factor = 10,Icpif = 30, VAD = disabled, Poor QOV Trap = disabled, Connect Time = 0, Charged Units = 0 Successful Calls = 0, Failed Calls = 0 Accepted Calls = 0, Refused Calls = 0 Last Disconnect Cause is "10" Last Disconnect Text is "" Last Setup Time = 0 Monitoring and Maintaining T1 Digital Packet Voice Configuration This section presents some useful show and debugging commands for understanding, maintaining, and troubleshooting your configuration. | Table 1 | Debug and Show Commands for Maintaining and Troubleshooting Your Configuration | | Command | Purpose | | Router# show dialplan number number | Shows which dial-peer is matched by a called number. | | Router# show call active voice | Shows statistics for currently active voice calls. | | Router# show call active fax | Shows statistics for currently active fax calls. | | Router# show call history voice | Shows statistics on previous voice calls. | | Router# show call history fax | Shows statistics on previous fax calls. | | Router# show connect {all | elements | name | id | port { T1 | E1 } slot/port }} | Shows the status of connections. See “Verifying Voice Card and Controller Settings” on page 18. | | Router# show voice port | Shows the status of voice ports. See “Verifying Voice Ports” on page 21. | | Router# show controller t1 slot/port | Shows the status of the T1 controller. See “Verifying Voice Card and Controller Settings” on page 18. | | Router# debug vpm all | Debugs the T1 signaling. | | Router# debug vtsp all | Debugs the digits received and sent. | | Router# debug voip ccapi inout | Debugs the call setup process. | The balance of this section shows the output of the commands listed in Table 1. Show Commands This section illustrates some of the privileged EXEC show commands that are useful for analyzing your system. Note that important information appears in bold, and bold text preceded by the “<<“ characters explains the process.
The show dialplan number command provides information about the dial peer associated with a specified dial-plan number. Notice that the dial peer is operational and that IP Precedence has been configured to the preferred setting of 5.
Note To pair different voice ports and telephone numbers together for troubleshooting, enter the show dialplan incall number privileged EXEC command. cisco-router# show dialplan number 75435 Macro Exp.: ##75435 VoiceOverIpPeer70000 information type = voice, tag = 70000, destination-pattern = `##7....', answer-address = `', preference=0, group = 70000, Admin state is up, Operation state is up, incoming called-number = `', connections/maximum = 0/unlimited, DTMF Relay = disabled, application associated: type = voip, session-target = `ipv4:171.68.253.18', technology prefix: settlement: disabled ip precedence = 5, UDP checksum = disabled, session-protocol = cisco, req-qos = best-effort, acc-qos = best-effort, fax-rate = 14400, payload size = 20 bytes codec = g729r8, payload size = 20 bytes, Expect factor = 10, Icpif = 30,signaling-type = cas, VAD = disabled, Poor QOV Trap = disabled, Connect Time = 0, Charged Units = 0, Successful Calls = 3, Failed Calls = 0, Accepted Calls = 3, Refused Calls = 0, Last Disconnect Cause is "10 ", Last Disconnect Text is "normal call clearing.", Last Setup Time = 344813. Matched: ##75435 Digits: 3 Target: ipv4:171.68.253.18 The show call active voice command displays information about a current call:
cisco-router# show call active voice
GENERIC: SetupTime=94523746 ms Index=448 PeerAddress=##73072 PeerSubAddress= PeerId=70000 PeerIfIndex=37 LogicalIfIndex=0 ConnectTime=94524043 DisconectTime=94546241 CallOrigin=1 ChargedUnits=0 InfoType=2 TransmitPackets=6251 TransmitBytes=125020 ReceivePackets=3300 ReceiveBytes=66000 VOIP: ConnectionId[0x142E62FB 0x5C6705AF 0x0 0x385722B0] RemoteIPAddress=171.68.235.18 RemoteUDPPort=16580 RoundTripDelay=29 ms SelectedQoS=best-effort tx_DtmfRelay=inband-voice SessionProtocol=cisco SessionTarget=ipv4:171.68.235.18
|