Table Of Contents
IP Communications High-Density Digital Voice/Fax Network Module
Restrictions for IP Communications High-Density Digital Voice/Fax Network Module
Information About IP Communications High-Density Digital Voice/Fax Network Module
IP Communications High-Density Digital Voice/Fax Network Module Key Features
IP Communications High-Density Digital Voice/Fax Network Module Hardware Configuration Options
Single-Point Configuration of MGCP Voice Gateways in AVVID Networks
Configuring E1 Ports for Normal or Wet Mode
How to Configure IP Communications High-Density Digital Voice/Fax Network Module
Configuring the Voice Card for IP Communications High-Density Digital Voice/Fax Network Module
Configuring Digital Interfaces for IP Communications High-Density Digital Voice/Fax Network Module
Configuring Echo Cancellation for IP Communications High-Density Digital Voice/Fax Network Module
Configuring DSP Sharing for IP Communications High-Density Digital Voice/Fax Network Module
Configuring Channel Bank Support for IP Communications High-Density Digital Voice/Fax Network Module
Configuring Drop and Insert for the IP Communications High-Density Digital Voice/Fax Network Module
Configuration Examples for IP Communications High-Density Digital Voice/Fax Network Module
Normal VoIP Showing Some Calls: Example
Fax Relay Configuration: Example
IP Communications High-Density Digital Voice/Fax Network Module
The IP Communications High-Density Digital Voice/Fax Network Module feature supports high-density digital voice and low-density analog voice connectivity along with data and integrated access connectivity. The network modules offer built-in T1/E1 ports, and include a single voice interface card (VIC)/voice WAN interface card (VWIC) slot for Foreign Exchange Station (FXS), Foreign Exchange Office (FXO), E&M, software-configured Centralized Automatic Message Accounting (CAMA), direct inward dialing (DID), BRI, or E1 and T1 cards, up to a maximum of four T1/E1 ports. The network modules also support up to 32 HDLC channels with an aggregate capacity of 2.048 Mbps.
Note
The CAMA card (VIC-2CAMA) is not supported. However, any port on the VIC2-2FXO and the VIC2-4FXO can be software configured to support analog CAMA for dedicated E-911 services (North America only).
Feature History for the IP Communications High-Density Digital Voice/Fax Network Module
Release Modification12.3(7)T
This feature was introduced.
12.3(14)T
This feature was integrated into Cisco IOS Release 12.3(14)T and support was added for the DID feature in the VIC-4FXS/DID.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Restrictions for IP Communications High-Density Digital Voice/Fax Network Module
•
Information About IP Communications High-Density Digital Voice/Fax Network Module
•
How to Configure IP Communications High-Density Digital Voice/Fax Network Module
•
Configuration Examples for IP Communications High-Density Digital Voice/Fax Network Module
Restrictions for IP Communications High-Density Digital Voice/Fax Network Module
Before you can run the IP Communications High-Density Digital Voice/Fax Network Module feature on T1/E1 interfaces, you must install an IP Plus image (minimum) of Cisco IOS Release 12.3(14)T or a later release. When the IP Communications High-Density Digital Voice/Fax Network Module feature is used in a Cisco CallManager network, the CCM 4.0(1) SR1 or CCM 3.3(4) release must be installed.
Software echo cancellation is the default configuration—G.168-compliant echo cancellation is enabled by default with a coverage of 64 milliseconds.
Only Packet Fax/Voice DSP modules (PVDM2s) are supported on the IP Communications High-Density Digital Voice/Fax Network Module.
Only voice interface cards that start with VIC2 are supported in the IP Communications High-Density Digital Voice/Fax Network Module feature except for VIC-1J1, VIC-2DID, and VIC-4FXS/DID.
The DID feature in VIC-4FXS/DID is not supported in the original release of this feature. However, the DID feature in VIC-4FXS/DID is supported starting with Cisco IOS Release 12.3(14)T.
The CAMA card (VIC-2CAMA) is not supported. Any port on the VIC2-2FXO and the VIC2-4FXO can be software configured to support analog CAMA for dedicated E-911 services (North America only).
DSP sharing is available for T1/E1 digital ports, but not for analog or BRI ports.
Information About IP Communications High-Density Digital Voice/Fax Network Module
This section provides information about the following:
•
IP Communications High-Density Digital Voice/Fax Network Module Key Features
•
IP Communications High-Density Digital Voice/Fax Network Module Hardware Configuration Options
•
Single-Point Configuration of MGCP Voice Gateways in AVVID Networks
•
Configuring E1 Ports for Normal or Wet Mode
IP Communications High-Density Digital Voice/Fax Network Module Key Features
The IP Communications High-Density Digital Voice/Fax Network Module features the following:
•
High-density digital voice connectivity up to 4 T1/E1 ports or 120 medium-complexity channels
•
High-density data WAN connectivity up to 4 T1/E1 ports
•
Analog voice connectivity up to 4 ports
•
Built-in T1/E1 ports configurable for either T1 or E1 operation via command-line interface (CLI)
•
Up to 32 HDLC channel groups with a total bandwidth of 2.048 Mbps
•
PVDM2 technology that supports higher call densities and more flexibility in channel allocation per DSP
•
G.168-compliant echo cancellation for tail circuits up to 64 milliseconds
IP Communications High-Density Digital Voice/Fax Network Module Hardware Configuration Options
The IP Communications High-Density Digital Voice/Fax Network Module is available on three network modules, with the option of zero, one, or two built-in T1/E1 ports. Each built-in port can be software-configured to support either T1 or E1 operation. Each network module also supports a single VIC/VWIC slot that can be fitted with a Cisco VWIC or Cisco VIC. The Cisco VICs are daughter cards that install into the network modules and provide the interface to the PSTN and to telephony equipment (PBX, key systems, fax machines, and phones). The Cisco VWICs are daughter cards that provide the interface to the PBX, PSTN, and WAN.
The IP Communications High-Density Digital Voice/Fax Network Module must be used with the new PVDM2s , providing scalability of 4 to 120 channels using the latest digital signal processing technology. Up to a maximum of four PVDM2s can be installed on each NM-HDV2 network module. You can select the minimum number and density-type PVDM2s depending on the voice channels currently needed, and then scale the number of PVDMs as requirements expand. These new PVDM2 SIMMs can be configured for high complexity, medium complexity, or flex. Flex complexity is the default configuration. In this mode, the network module will dynamically select the appropriate codec (medium or high) depending on the PVDM2s available. In addition, the DSPs on the PVDM2s can be shared across multiple IP Communications High-Density Digital Voice/Fax Network Modules installed on a voice gateway router. Table 1 summarizes the configuration options. Table 2 summarizes the numbers of channels (based on complexity) for the PVDM2. On the Cisco 2800 series and Cisco 3800 series Integrated Services Routers, the IP Communications High-Density Digital Voice/Fax Network Module can be used with PVDM2s on the motherboard of the platform.
Table 2 Channel Availability for PVDM2 Modules Based on Codec Complexity
Module Name Number of DSPs Maximum Number of Channels High Complexity1 Medium Complexity2 Flexi Complexity3PVDM2-8
1
4
4
8
PVDM2-16
1
6
8
16
PVDM2-32
2
12
16
32
PVDM2-48
3
18
24
48
PVDM2-64
4
24
32
64
1 Supports G.711, G.726, G.729, G.723.1, G.728, GSM-EFR, and Fax Relay.
2 Supports G.711, G.726, G.729a, GSM, and Fax Relay.
3 Highest call densities are for G.711, so these values reflect optimum conditions.
DSP Resource Sharing
When one IP Communications High-Density Digital Voice/Fax Network Module does not have enough DSP resources, it can use DSPs from other NM-HDV2s on the same router, or DSPs available on the motherboard of the Cisco 2800 series and Cisco 3800 series Integrated Services Routers. This is referred to as DSP sharing. By default, the NM-HDV2s and the onboard PVDM2 DSPs on the Cisco 2800s and Cisco 3800s are configured for "no sharing," and must be turned on to share or export their resources. An NM-HDV2 that needs to import DSPs does not need any special configuration.
Note
T1/E1 digital ports can share DSP resources on the motherboard and vice versa. However, the network modules must participate in the network clocking of the motherboard before the DSP sharing can occur. The analog interfaces and BRI interfaces cannot "share" DSP resources in this manner; these interfaces must use DSP in its own domain. For example, when BRI or FXS/FXO is on a network module, there must be DSPs on the network modules to support these interfaces.
Search Order for DSPs
All available DSPs that are configured for sharing are pooled together in the search. An NM-HDV2 without any DSP resources will begin searching first on the motherboard (supported only on the Cisco 2800 and Cisco 3800 platforms), followed by other NM-HDV2 modules. Network modules are searched according to slot number. The network-clock participate command must be configured on the network modules that are sharing resources and need DSP resources.
Codec Combinations for DSP Sharing
When network modules or PVDM2s on the motherboard are configured for DSP sharing, the codec complexity has to match. A local resource sharing or importing from a remote network module must match its characteristics, that is, a high-complexity network module can only share from another high-complexity network module, whereas a flex-complexity network module can share DSPs from both high-complexity and flex-complexity network modules. Table 3 summarizes the codec combinations for DSP-sharing.
CautionIf you are configuring a Cisco 2600 XM router, you should not use the network-clock-participate command for slot 1 of the router. This may cause a disruption in service to the router.
Single-Point Configuration of MGCP Voice Gateways in AVVID Networks
When using a Cisco IOS voice gateway in conjunction with MGCP and Cisco CallManager, you can complete the necessary configuration for a given gateway on the Cisco CallManager server and download the configuration to that gateway through a TFTP server. To enable this configuration on the NM-HDV2 modules, the card type command must be used first:
card type {t1 | e1} slot subslot
8-12
Configuring E1 Ports for Normal or Wet Mode
On the NM-HDV2-1T1/E1 and NM-HDV2-2T1/E1 network modules, there is a jumper block for each built-in T1/E1 port that controls whether the port supports normal or wet current mode. Depending on how your E1 line is provisioned, you might have to change the jumper setting on the network module to allow proper operation.
The jumper blocks are identified on the printed circuit board of the NM-HDV2-1T1/E1 and NM-HDV2-2T1/E1 network modules as J6 and J7. (See Figure 1.) J6 is the jumper block for T1/E1 controller 1 and J7 is the jumper block for T1/E1 controller 0. The pins on each jumper block are numbered 1 to 3 from right to left.
•
To configure an E1 port for normal mode, set the jumper to pins 2 and 3.
•
To configure an E1 port for wet mode, set the jumper to pins 1 and 2.
Figure 1 shows the jumper block configured for normal mode, with the jumper set to pins 2 and 3.
Tip
If you are unsure whether your E1 line is configured for normal or wet mode, check with your provider. You can also use the show controllers E1 command to look for line code violations and path code violations. These errors can indicate that the jumper is not set correctly.
Figure 1
NM-HDV2-2T1/E1 Jumpers Configured for Normal Mode
Network Clock Timing
Voice systems that pass digitized (pulse code modulation or PCM) speech have always relied on the clocking signal being embedded in the received bit stream. This reliance allows connected devices to recover the clock signal from the bit stream, and then use this recovered clock signal to ensure that data on different channels keep the same timing relationship with other channels.
If a common clock source is not used between devices, the binary values in the bit streams may be misinterpreted because the device samples the signal at the wrong moment. As an example, if the local timing of a receiving device is using a slightly shorter time period than the timing of the sending device, a string of 8 continuous binary 1s may be interpreted as 9 continuous 1s. If this data is then re-sent to further downstream devices that used varying timing references, the error could be compounded. By ensuring that each device in the network uses the same clocking signal, you can ensure the integrity of the traffic.
If timing between devices is not maintained, a condition known as clock slip can occur. Clock slip is the repetition or deletion of a block of bits in a synchronous bit stream due to a discrepancy in the read and write rates at a buffer.
Slips are caused by the inability of an equipment buffer store (or other mechanisms) to accommodate differences between the phases or frequencies of the incoming and outgoing signals in cases where the timing of the outgoing signal is not derived from that of the incoming signal.
A T1 or E1 interface sends traffic inside repeating bit patterns called frames. Each frame is a fixed number of bits, allowing the device to see the start and end of a frame. The receiving device also knows exactly when to expect the end of a frame simply by counting the appropriate number of bits that have come in. Therefore, if the timing between the sending and receiving device is not the same, the receiving device may sample the bit stream at the wrong moment, resulting in an incorrect value being returned.
Even though Cisco IOS software can be used to control the clocking on these platforms, the default clocking mode is effectively free running, meaning that the received clock signal from an interface is not connected to the backplane of the router and used for internal synchronization between the rest of the router and its interfaces. The router will use its internal clock source to pass traffic across the backplane and other interfaces.
For data applications, this clocking generally does not present a problem as a packet is buffered in internal memory and is then copied to the transmit buffer of the destination interface. The reading and writing of packets to memory effectively removes the need for any clock synchronization between ports.
Digital voice ports have a different issue. It would appear that unless otherwise configured, Cisco IOS software uses the backplane (or internal) clocking to control the reading and writing of data to the DSPs. If a PCM stream comes in on a digital voice port, it will obviously be using the external clocking for the received bit stream. However, this bit stream will not necessarily be using the same reference as the router backplane, meaning the DSPs will possibly misinterpret the data that is coming in from the controller.
This clocking mismatch is seen on the router's E1 or T1 controller as a clock slip—the router is using its internal clock source to send the traffic out the interface but the traffic coming in to the interface is using a completely different clock reference. Eventually, the difference in the timing relationship between the transmit and receive signal becomes so great that the controller registers a slip in the received frame.
To eliminate the problem, change the default clocking behavior through Cisco IOS configuration commands. It is absolutely critical to set up the clocking commands properly.
Even though these commands are optional, we strongly recommend you enter them as part of your configuration to ensure proper network clock synchronization:
network-clock-participate [slot slot number | wic wic-slot | aim aim-slot-number]
network-clock-select priority {bri | t1 | e1} slot/portThe network-clock-participate command allows the router to use the clock from the line via the specified slot/wic/aim and synchronize the onboard clock to the same reference.
If multiple VWICS are installed, the commands must be repeated for each installed card. The system clocking can be confirmed using the show network clocks command.
CautionIf you are configuring a Cisco 2600 XM voice gateway with an NM-HDV2 or NM-HD-2VE installed in slot 1, do not use the network-clock-participate slot 1 command in the configuration. In this particular hardware scenario, the network-clock-participate slot 1 command is not necessary.
If the network-clock-participate slot 1 command is configured, voice and data connectivity on interfaces terminating on the NM-HDV2 or NM-HD-2VE network module may fail to operate properly. Data connectivity to peer devices may not be possible at all, and even loopback plug tests to the serial interface spawned via a channel-group configured on the local T1/E1 controller will fail. Voice groups such as CAS ds0-groups and ISDN pri-groups may fail to signal properly. The T1/E1 controller may accumulate large amounts of timing slips as well as Path Code Violations (PCVs) and Line Code Violations (LCVs).
How to Configure IP Communications High-Density Digital Voice/Fax Network Module
This section contains the following procedures:
•
Configuring the Voice Card for IP Communications High-Density Digital Voice/Fax Network Module
•
Configuring Digital Interfaces for IP Communications High-Density Digital Voice/Fax Network Module
•
Configuring Echo Cancellation for IP Communications High-Density Digital Voice/Fax Network Module
•
Configuring DSP Sharing for IP Communications High-Density Digital Voice/Fax Network Module
•
Configuring Channel Bank Support for IP Communications High-Density Digital Voice/Fax Network Module
•
Configuring Drop and Insert for the IP Communications High-Density Digital Voice/Fax Network Module
Configuring the Voice Card for IP Communications High-Density Digital Voice/Fax Network Module
To enable the IP Communications High-Density Digital Voice/Fax Network Module feature, configure the voice card.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
voice-card slot
4.
codec complexity {flex [reservation-fixed {high | medium}] | high | medium}
5.
local-bypass
6.
exit
DETAILED STEPS
Configuring Digital Interfaces for IP Communications High-Density Digital Voice/Fax Network Module
To configure the built-in digital T1/E1 interfaces available on the NM-HDV2-1T1/E1 and NM-HDV2-2T1/E1, follow the procedure in this section.
Note
For theVWIC and VIC cards that fit into the single VIC/VWIC slot (that is, the interfaces that are not built-in), the interfaces are automatically recognized and no CLI configuration is needed.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
card type {t1 | e1} slot subslot
4.
controller {t1 | e1} slot/port
5.
clock source {line [primary] | internal}
6.
framing {sf | esf}
or
framing {crc4 | no-crc4}7.
linecode {b8zs | ami}
or
linecode {ami | hdb3}8.
cablelength long {gain26 | gain36} {-15db | -22.5db | -7.5db | 0db}
or
cablelength short {133 | 266 | 399 | 533 | 655}9.
ds0-group ds0-group-number timeslots timeslot-list type {e&m-delay-dial | e&m-fgd | e&m-immediate-start | e&m-wink-start | ext-sig | fgd-eana | fgd-os | fxo-ground-start | fxo-loop-start | fxs-ground-start | fxs-loop-start | none}
or
pri-group [timeslots range]
or
channel-group channel-group-number timeslots range [speed kbps]
or
tdm-group tdm-group-number timeslots timeslot-list type {e&m | fxs [loop-start | ground-start] | fxo [loop-start | ground-start]}10.
no shutdown
11.
end
DETAILED STEPS
Configuring Echo Cancellation for IP Communications High-Density Digital Voice/Fax Network Module
This task configures the voice ports with echo cancellation.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
voice-port slot/port
4.
echo-cancel enable
5.
echo-cancel coverage {24 | 32 | 48 | 64}
6.
exit
DETAILED STEPS
Configuring DSP Sharing for IP Communications High-Density Digital Voice/Fax Network Module
This task adds a specified voice card to a DSP resource pool to participate in DSP sharing.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
controller {t1 | e1} slot/port
4.
voice-card slot
5.
dspfarm
6.
exit
7.
network-clock-participate [slot slot-number]
8.
end
DETAILED STEPS
Configuring Channel Bank Support for IP Communications High-Density Digital Voice/Fax Network Module
The channel bank feature provides support for the TDM cross-connect functionality between analog voice ports and digital DS0s on the same NM-HDV2 using CAS signaling.
Restrictions
The DS0 group must contain only one time slot. The signaling type of the DS0 group must match that of the analog voice port.
If the channel bank feature is used for the T1 controller, the rest of the unused DS0 cannot be used for fractional PRI signaling.
Channel bank support requires that the analog and digital ports be located on the same network module.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
controller {t1 | e1} slot/port
4.
ds0-group ds0-group-number 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}
5.
exit
6.
voice-port slot/port
7.
operation {2-wire | 4-wire}
8.
type {1 | 2 | 3 | 5}
9.
signal {loop-start | ground-start}
or
signal {wink-start | immediate | delay-dial}10.
exit
11.
connect connection-name voice-port voice-port-number {t1 | e1} controller-number ds0-group-number
12.
end
DETAILED STEPS
Examples
To verify the channel bank connection, use the show connection command. In the following example, E&M port 2/0 is configured for a channel bank connection with time slot 1 on T1 1/0:
Router# show connection ?all All Connectionselements Show Connection Elementsid ID Numbername Connection Nameport Port NumberRouter# show connection allID Name Segment 1 Segment 2 State ==========================================================5 connect1 voice-port 2/0 T1 1/0 01 UPConfiguring Drop and Insert for the IP Communications High-Density Digital Voice/Fax Network Module
T1/E1 VWICs with drop-and-insert functionality connect other devices to a T1 or E1 data stream. Drop-and-insert technology is sometimes called TDM cross-connect.
This task configures a T1/E1 VWIC for drop-and-insert capability. Repeat the procedure for each controller.
Note that this feature supports both inter-network-module and intra-network-module drop and insert. If you configure inter-network-module drop and insert, you must also configure network clocking.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
controller {t1 | e1} slot/port
4.
clock source {line [primary] | internal}
5.
network-clock-participate slot slot number
6.
network-clock-select priority {bri | t1 | e1} slot/port
7.
framing {sf | esf}
or
framing {crc4 | no-crc4}8.
linecode {b8zs | ami}
or
linecode {ami | hdb3}9.
tdm-group tdm-group-number timeslots timeslot-list type {e&m | fxs [loop-start | ground-start] | fxo [loop-start | ground-start]}
10.
no shutdown
11.
exit
12.
connect id {t1 | e1} slot/port-1 tdm-group-no-1 {t1 | e1} slot/port-2 tdm-group-no-2
13.
end
DETAILED STEPS
Command or Action PurposeStep 1
enable
Example:Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Enters global configuration mode.
Step 3
controller {t1 | e1} slot/portExample:Router(config)# controller t1 1/1Enters controller configuration mode and identifies the controller type (T1 or E1) and a slot and port for configuration commands that specifically apply to the T1 or E1 interface.
•
Valid values for the slot agument are 1 through 4.
•
Valid values for the port argument are 0 and 1.
Step 4
clock source {line [primary] | internal}Example:Router(config-controller)# clock source lineSpecifies the clock source.
•
The line keyword specifies that the clock source is derived from the active line. This is the default.
–
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.
Step 5
network-clock-participate slot slot number
Example:Router(config)# network-clock-participate slot 2
Allows the ports on a specified network module or voice/WAN interface card (VWIC) to use the network clock for timing.
•
The slot number argument is the network module slot number on the router chassis.
CautionIf you are configuring a Cisco 2600 XM voice gateway with an NM-HDV2 or NM-HD-2VE installed in slot 1, do not use the network-clock-participate slot 1 command in the configuration. In this particular hardware scenario, the network-clock-participate slot 1 command is not necessary.
If the network-clock-participate slot 1 command is configured, voice and data connectivity on interfaces terminating on the NM-HDV2 or NM-HD-2VE network module may fail to operate properly. Data connectivity to peer devices may not be possible at all, and even loopback plug tests to the serial interface spawned via a channel-group configured on the local T1/E1 controller will fail. Voice groups such as CAS ds0-groups and ISDN pri-groups may fail to signal properly. The T1/E1 controller may accumulate large amounts of timing slips as well as Path Code Violations (PCVs) and Line Code Violations (LCVs).
Step 6
network-clock-select priority {bri | t1 | e1} slot/port
Example:Router(config)# network-clock-select 1 bri 2/0
(Optional) Allows backplane TDM PLL circuitry to select recovered timing references from healthy digital links according to a defined priority.
•
The priority argument specifies selection priority for the clock sources (1 is the highest priority).
•
When the higher-priority clock source fails, the next-higher-priority clock source is selected.
•
The bri keyword specifies that the slot is configured as BRI.
•
The t1 keyword specifies that the slot is configured as T1.
•
The e1 keyword specifies that the slot is configured as E1.
•
The slot argument is the slot number identifying the controller that is the clock source.
•
The port argument is the port number identifying the controller that is the clock source.
–
The range is from 0 to 3.
Step 7
framing {sf | esf}or
framing {crc4 | no-crc4}Example:Router(config-controller)# framing esfor
Example:Router(config-controller)# framing crc4
Sets the framing according to your service provider's instructions.
•
For T1 controllers, enter either sf or esf.
•
For E1 controllers, enter either crc4 or no-crc4.
Note
For drop and insert to work properly, the T1 or E1 framing under the controllers involved (where the tdm-groups are configured), needs to be the same. If different framing types are used, the signaling bits may not be understood properly when a channel from one controller is dropped and inserted into a channel from another controller.
Step 8
linecode {b8zs | ami}or
linecode {ami | hdb3}Example:Router(config-controller)# linecode b8zsor
Example:Router(config-controller)# linecode hdb3Sets the line encoding according to your service provider's instructions.
•
The b8zs keyword encodes a sequence of eight zeros in a unique binary sequence to detect line coding violations. Valid for T1 controllers only.
•
The ami keyword represents zeros using a 01 during each bit cell, and ones are represented by 11 or 00, alternately, during each bit cell.
•
The hdb3 keyword specifies high density binary 3 (hdb3) as the line-code type. Valid for E1 controller only; the default for E1 lines.
Step 9
tdm-group tdm-group-number timeslots timeslot-list type {e&m | fxs [loop-start | ground-start] | fxo [loop-start | ground-start]}Example:Router(config-controller)# tdm-group 12 timeslots 1, 5-7, 23 type fxo loop-start
Specifies 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-number—Value from 0 to 23 that identifies the TDM group.
•
timeslot-list—Values are from 1 to 24.
•
type—Depends on the connection. The fxs and fxo keywords allow you to specify a ground-start or loop-start line.
Note
The group numbers for controller groups must be unique. For example, a TDM group must not have the same ID number as a DS0 group.
Step 10
no shutdownExample:Router(config-controller)# no shutdown
Activates the controller.
Step 11
exitExample:Router(config-controller)# exit•
Exits voice-card configuration mode and returns the router to global configuration mode.
Step 12
connect id {t1 | e1} slot/port-1 tdm-group-no-1 {t1 | e1} slot/port-2 tdm-group-no-2
Example:Router(config)# connect connect1 t1 1/1 10 1/0 11
Creates a named connection between two voice ports (one of which is an analog port) associated with T1 or E1 interfaces where you have already defined the groups by using the tdm-group command.
•
The id argument is a name for the connection.
•
The tdm-group-no-1 and tdm-group-no-2 parameters identify the TDM group numbers (from 0 to 31) on the specified controller. (These groups were set up in Step 9.)
Step 13
end
Example:Router(config)# end
Ends the current configuration session and returns to privileged EXEC mode.
Configuration Examples for IP Communications High-Density Digital Voice/Fax Network Module
This section provides the following configuration examples for the IP Communications High-Density Digital Voice/Fax Network Module:
•
Channel Bank Support: Example
•
Normal VoIP Showing Some Calls: Example
•
Fax Relay Configuration: Example
Channel Bank Support: Example
!card type t1 3 1!!controller T1 3/0framing esflinecode b8zsds0-group 0 timeslots 1 type fxo-loop-startds0-group 1 timeslots 2 type fxo-loop-start!!connect test_1 voice-port 3/0/0 T1 3/0 0!!connect test_2 voice-port 3/0/1 T1 3/0 1!!!voice-port 3/0/0signal loopstartdescription FXS LoopStart Port!voice-port 3/0/1signal loopstartdescription FXS LoopStart Port!Normal VoIP Showing Some Calls: Example
Originating Side
!card type t1 2 1!controller T1 2/0framing esflinecode b8zsds0-group 0 timeslots 1-24 type e&m-immediate-start!dial-peer voice 4100 potsdestination-pattern 4100port 2/0:0!dial-peer voice 999 voipdestination-pattern 99..session target ipv4:11.3.14.25codec gsmfr!Terminating Side
!card type t1 1 1!controller T1 1/0framing esfclock source internallinecode b8zsds0-group 0 timeslots 1-24 type e&m-immediate-start!dial-peer voice 999 potsdestination-pattern 99..port 1/0:0!dial-peer voice 1111 voipincoming called-number 99..codec gsmfr!MGCP Configuration: Example
!card type t1 4 1!controller T1 4/0framing esflinecode b8zsds0-group 0 timeslots 1-24 type e&m-immediate-start!mgcpmgcp call-agent 10.1.0.60 service-type mgcp version 0.1mgcp package-capability rtp-packageno mgcp package-capability atm-packageno mgcp package-capability res-packagemgcp fax t38 inhibit!ccm-manager mgcp!call app alternate default <=== required for fall back!dial-peer voice 4000 potsapplication mgcpappport 4/0:0!Fax Relay Configuration: Example
The following examples provide configuration information for Fax Pass Through, Cisco Fax Relay and T.38:
Global Configuration for Fax Pass-Through
voice service voipfax protocol passthrough g711ulawDial-Peer Level Configuration for Fax Pass-Through
dial-peer voice 300 voipdestination-pattern 93...session target ipv4:1.3.28.103fax rate disablefax protocol passthrough g711ulawGlobal Configuration for Fax Relay
voice service voipfax protocol cisco ! this line will not show as it is default settingDial-Peer Level Configuration for Fax Relay
dial-peer voice 300 voipdestination-pattern 93...session target ipv4:1.3.28.103fax protocol cisco ! this line will not show as it is default settingGlobal Configuration for T.38
voice service voipfax protocol t.38Dial-Peer Level Configuration for T.38
dial-peer voice 300 voipdestination-pattern 93...session target ipv4:1.3.28.103fax protocol t38Additional References
The following sections provide references related to the IP Communications High-Density Digital Voice/Fax Network Module.
Related Documents
Related Topic Document TitleHardware installation instructions for the IP Communications High-Density Digital Voice/Fax Network Module feature
Standards
RFCs
MIBs
Technical Assistance
Command Reference
This section documents the modified codec complexity command.
codec complexity
To specify call density and codec complexity according to the codec standard that is being used, use the codec complexity command in voice-card configuration mode. To reset the flex complexity default, use the no form of this command.
codec complexity {flex [reservation-fixed {high | medium}] | high | medium}
no codec complexity
Syntax Description
Defaults
Flex complexity
Command Modes
Voice-card configuration
Command History
Usage Guidelines
Codec complexity refers to the amount of processing required to perform voice compression. Codec complexity affects the call density—the number of calls reconciled on the DSPs. With higher codec complexity, fewer calls can be handled. Select a higher codec complexity if that is required to support a particular codec or combination of codecs. Select a lower codec complexity to support the greatest number of voice channels, provided that the lower complexity is compatible with the particular codecs in use.
To change codec complexity, all of the DSP voice channels must be in the idle state.
The flex keyword for configuring codec complexity allows the DSP to process up to 16 channels. In addition to continuing support for configuring a fixed number of channels per DSP, the flex keyword enables the DSP to handle a flexible number of channels. The total number of supported channels varies from 6 to 16, depending on which codec is used for a call. Therefore, the channel density varies from 6 per DSP (high-complexity codec) to 16 per DSP (g.711 codec).
In flex mode, you can connect (or configure in the case of DS0 groups and PRI groups) more voice channels to the module than the DSPs can accommodate. If all voice channels should go active simultaneously, the DSPs will be oversubscribed and calls that are unable to allocate a DSP resource will fail to connect.
The high keyword selects a higher codec complexity if that is required to support a particular codec or combination of codecs. When you use the codec complexity high command to change codec complexity, the system prompts you to remove all existing DS0 or PRI groups using the specified voice card, then all DSPs are reset, loaded with the specified firmware image, and released. Refer to the "Configuring Echo Cancellation" chapter of the Cisco IOS Voice Port Configuration Guide on Cisco.com for more information about removing and replacing DS0 or PRI groups.
The medium keyword selects a lower codec complexity to support the greatest number of voice channels, provided that the lower complexity is compatible with the particular codecs in use.
Examples
The following example sets the codec complexity to high on voice card 1 in a Cisco 2600 or Cisco 3600 series router, and configures local calls to bypass the DSP:
voice-card 1codec complexity highlocal-bypassRelated Commands
Glossary
AIM—Asynchronous Integration Module. An internal module with PCI and TDM access.
AMI—alternate mark inversion. Line-code type used on T1 and E1 circuits. Zeros are represented by 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.
CAS—channel-associated signaling for T1/E1 interfaces.
CCS—common channel signaling for T1/E1 interfaces.
DSP—digital signal processor.
E1—European equivalent of T1, 32 64-kbps channels. Includes one channel for framing and one channel for D channel information. Clock rate is 2.048 MHz.
ECAN—echo canceller.
ESF—extended superframe. Framing type used on T1 interfaces that consists of 24 frames of 192 bits each, with the 193rd bit providing timing and other functions. ESF is an enhanced version of the SF format.
FXO—Foreign Exchange Office. A voice interface emulating a PBX trunk line to a switch or telephone equipment to a PBX extension interface.
FXS—Foreign Exchange Station. A voice interface for connecting telephone equipment. Emulates the extension interface of a PBX or the subscriber interface for a switch.
HDLC—High-Level Data Link Control.
NM-HDV—A high-density packet voice trunk network module that support up to two T1/E1 interfaces.
SF—superframe. Common framing type used on T1 interfaces. SF consists of 12 frames of 192 bits each with the 193rd bit providing error checking and other functions. SF is superseded by ESF, but is still widely used. SF is also called D4 framing.
T1—1.544-Mbps serial interface that supports up to 24 64-kbps time slots.
TDM—time-division multiplexing. A method of dividing a serial interface into fixed time slots of fixed bandwidth.
VAD—voice activity detection (silence suppression).
VoIP—Voice over IP. Blanket term that generally denotes a standards-based approach to IP voice traffic.
Note
Refer to Internetworking Terms and Acronyms for terms not included in this glossary.
Copyright © 2005 Cisco Systems, Inc. All rights reserved.





