Table Of Contents
Universal Voice Transcoding Support for Cisco Unified Border Elements
Information About Universal Voice Transcoding Support for Cisco Unified Border Elements
How to Configure Universal Transcoding on a DSP Farm Profile
Determining DSP Capacity for Universal Transcoding
Configuring a DSP Farm Profile
Configuration Examples for Universal Voice Transcoding
Universal Transcoding with an Inbox on a Universal Gateway: Example
G.711 to Any Transcoding with an Inbox on a Universal Gateway: Example
Universal and G.711 to Any Transcoding with an Inbox on a Universal Gateway: Example
Universal and G.711 to Any Transcoding with an Inbox on an Integrated Services Router: Example
Feature Information for Universal Voice Transcoding Support for Cisco Unified Border Elements
Universal Voice Transcoding Support for Cisco Unified Border Elements
First Published: May 7, 2007Last Updated: July 16, 2008Universal Transcoding allows transcoding from any supported codec to any other supported codec.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for Universal Voice Transcoding Support for Cisco Unified Border Elements" section.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•Information About Universal Voice Transcoding Support for Cisco Unified Border Elements
•How to Configure Universal Transcoding on a DSP Farm Profile
•Feature Information for Universal Voice Transcoding Support for Cisco Unified Border Elements
Information About Universal Voice Transcoding Support for Cisco Unified Border Elements
Transcoding compresses and decompresses voice streams to match endpoint-device capabilities. Transcoding is required when an incoming voice stream is digitized and compressed (by means of a codec) to save bandwidth, but the local device does not support that type of compression.
Universal Transcoding employs a general transcoding facility where one supported codec is converted to any other supported codec. This functionality interconnects a diverse array of topologies. Universal Transcoding works between two voice sessions that are encoded by using different codecs, different packetization periods, or a combinationof the two. The Universal Transcoding channel operates only on RTP packets.
Although Universal Transcoding allows interconnection between endpoints that encode voice by using different codec algorithms, any transcoding causes distortion of the voice and reduces the quality of the received signal. Universal Transcoding causes the voice signal to be encoded and decoded two times. Each time that a voice signal is encoded and decoded, distortion is added and the listening quality is reduced. Additionally, transcoding adds additional dejitter delays to the voice path.
Note Consider Universal Transcoding as the last resort; make every attempt to coordinate the endpoints so that they use the same encoding algorithms.
How to Configure Universal Transcoding on a DSP Farm Profile
This section is an update to the "Configuring Enhanced Conferencing and Transcoding" in the Cisco Unified CallManager and Cisco IOS Interoperability Guide.
Determining DSP Capacity for Universal Transcoding
Channel density is limited when using the Universal Transcoding mode. As a general rule, the number of sessions needed for a Universal Transcoding channel is the sum of the session requirements for two separate voice channels, one running each of the configured codecs. For example, a channel running Universal Transcoding from a G.729a codec to iLBC would need the session capacity for a voice channel running the G.729a codec and MIPS for a voice channel running iLBC codec. See Table 1 for DSP session capacities.
For additional information, see the "Determining DSP Resource Requirements" section of the Cisco Unified CallManager and Cisco IOS Interoperability Guide.
Configuring a DSP Farm Profile
Perform this procedure to define a DSP farm on the NM-HDV2, NM-HD-1V, NM-HD-2V, NM-HD-2VE, or PVDM2. You must configure each conferencing, transcoding, and MTP profile separately.
Note Because a software-only MTP does not require DSP resources, you can configure a software-only MTP without a voice network module, or on the NM-HDV if you do not enable the dsp services dspfarm command for the voice card.
Prerequisites
Requires Cisco IOS Release 12.3(8)T or a later release. Universal transcoding requires Cisco IOS Release 12.4(11)XW or a later release.
SUMMARY STEPS
1. enable
2. configure terminal
3. voice-card slot
4. dsp services dspfarm
5. exit
6. dspfarm profile profile-identifier {conference | mtp | transcode [universal]}
7. description text
8. codec codec-type
9. maximum sessions number
or
maximum sessions {hardware | software} number
10. associate application sccp
11. no shutdown
12. exit
13. gateway
14. timer receive-rtp seconds
15. exit
DETAILED STEPS
What to Do Next
See the the Cisco Unified CallManager and Cisco IOS Interoperability Guide for additional configuration information.
Configuration Examples for Universal Voice Transcoding
The following examples show configurations for both Cisco Universal Gateways and Cisco Integrated Services Routers:
•Universal Transcoding with an Inbox on a Universal Gateway: Example
•G.711 to Any Transcoding with an Inbox on a Universal Gateway: Example
•Universal and G.711 to Any Transcoding with an Inbox on a Universal Gateway: Example
•Universal and G.711 to Any Transcoding with an Inbox on an Integrated Services Router: Example
Note Universal transcoding using the AMR-NB codec in either direction is supported only on the Cisco AS5350XM and Cisco AS5450XM universal gateways.
Universal Transcoding with an Inbox on a Universal Gateway: Example
This example shows a universal transcoding configuration with an inbox on a Cisco Unified Border Element on a universal gateway. Universal gateways include the Cisco AS5350XM and Cisco AS5400XM platforms:
iLBC_UUT1#sh runBuilding configuration...Current configuration : 3244 bytes!!voice-card 5dsp services dspfarm!voice-card 6!voice-card 7dsp services dspfarm!!voice service voipallow-connections h323 to h323allow-connections h323 to sipallow-connections sip to h323fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback ciscomodem passthrough none codec g729r8 pre-ietf!!interface GigabitEthernet0/0ip address 10.10.10.2 255.255.0.0duplex autospeed autonegotiation auto!interface GigabitEthernet0/1ip address 10.20.20.2 255.255.0.0duplex autospeed autonegotiation auto!!sccp local GigabitEthernet0/0sccp ccm 10.10.10.2 identifier 1sccp!sccp ccm group 1associate ccm 1 priority 1associate profile 10 register MTPNEWONE!dspfarm profile 10 transcode universalcodec g711ulawcodec g711alawcodec ilbccodec g723r63codec g723r53codec g729ar8codec g729abr8maximum sessions 10associate application SCCP!!dial-peer voice 10 voipdestination-pattern 9991...session protocol sipv2session target ipv4:20.20.20.1!dial-peer voice 20 voipsession target ipv4:10.10.10.1incoming called-number 9991...codec ilbc!!telephony-service -------------------------> Only Required for InBox
sdspfarm units 1sdspfarm transcode sessions 128sdspfarm tag 1 MTPNEWONEip source-address 10.10.10.2 port 2000max-conferences 8 gain -6transfer-system full-consult!G.711 to Any Transcoding with an Inbox on a Universal Gateway: Example
This example shows the configuration for transcoding for G.711 to any codec with an inbox on a Cisco Unified Border Element on a universal gateway. Universal gateways include the Cisco AS5350XM and Cisco AS5400XM platforms:
iLBC_UUT1#sh runBuilding configuration...Current configuration : 3244 bytes!!voice-card 5dsp services dspfarm!voice-card 6!voice-card 7dsp services dspfarm!!voice service voipallow-connections h323 to h323allow-connections h323 to sipallow-connections sip to h323fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback ciscomodem passthrough none codec g729r8 pre-ietf!!interface GigabitEthernet0/0ip address 10.10.10.2 255.255.0.0duplex autospeed autonegotiation auto!interface GigabitEthernet0/1ip address 10.20.20.2 255.255.0.0duplex autospeed autonegotiation auto!!sccp local GigabitEthernet0/0sccp ccm 10.10.10.2 identifier 1sccp!sccp ccm group 1associate ccm 1 priority 1associate profile 20 register traditional!!dspfarm profile 20 transcodecodec g711ulawcodec g711alawcodec ilbccodec g723r63codec g723r53codec g729ar8codec g729abr8maximum sessions 20associate application SCCP!!dial-peer voice 10 voipdestination-pattern 9991...session protocol sipv2session target ipv4:10.20.20.1codec g711ulaw!dial-peer voice 20 voipsession target ipv4:10.10.10.1incoming called-number 9991...codec ilbc!!telephony-service -------------------------> Only Required for InBox
sdspfarm units 1sdspfarm transcode sessions 128sdspfarm tag 1 traditionalip source-address 10.10.10.2 port 2000max-conferences 8 gain -6transfer-system full-consult!Universal and G.711 to Any Transcoding with an Inbox on a Universal Gateway: Example
This example shows the configuration for transcoding for both universal and G.711 to any codec with an inbox on a Cisco Unified Border Element on a universal gateway. Universal gateways include the Cisco AS5350XM and Cisco AS5400XM platforms:
iLBC_UUT1#sh runBuilding configuration...!voice-card 5dsp services dspfarm!voice-card 6!voice-card 7dsp services dspfarm!voice service voipallow-connections h323 to h323allow-connections h323 to sipallow-connections sip to h323fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback ciscomodem passthrough none codec g729r8 pre-ietf!!interface GigabitEthernet0/0ip address 10.10.10.2 255.255.0.0duplex autospeed autonegotiation auto!interface GigabitEthernet0/1ip address 10.20.20.2 255.255.0.0duplex autospeed autonegotiation auto!!sccp local GigabitEthernet0/0sccp ccm 10.10.10.2 identifier 1sccp!sccp ccm group 1associate ccm 1 priority 1associate profile 20 register traditionalassociate profile 10 register MTPNEWONE!dspfarm profile 10 transcode universalcodec g711ulawcodec g711alawcodec ilbccodec g723r63codec g723r53codec g729ar8codec g729abr8maximum sessions 10associate application SCCP!dspfarm profile 20 transcodecodec g711ulawcodec g711alawcodec ilbccodec g723r63codec g723r53codec g729ar8codec g729abr8maximum sessions 20associate application SCCP!dial-peer voice 10 voipdestination-pattern 9991...session protocol sipv2session target ipv4:10.20.20.1codec g711ulaw!dial-peer voice 20 voipsession target ipv4:10.10.10.1incoming called-number 9991...codec ilbc!!telephony-service -------------------------> Only Required for InBox
sdspfarm units 2sdspfarm transcode sessions 128sdspfarm tag 1 traditionalsdspfarm tag 2 MTPNEWONEip source-address 10.10.10.2 port 2000max-conferences 8 gain -6transfer-system full-consult!Universal and G.711 to Any Transcoding with an Inbox on an Integrated Services Router: Example
This example shows the configuration for transcoding for both universal and G.711 to any codec with an inbox on a Cisco Unified Border Element on an integrated services router. Integrated services routers include the Cisco 2800 and Cisco 3800 platforms:
crosby-3845#!voice-card 0no dspfarmdsp services dspfarm !!voice service voipallow-connections h323 to h323!interface GigabitEthernet0/0ip address 10.3.65.102 255.255.0.0duplex autospeed automedia-type rj45!!sccp local GigabitEthernet0/0sccp ccm 10.3.65.102 identifier 1sccp!sccp ccm group 1associate ccm 1 priority 1associate profile 20 register MTP000ABCDassociate profile 10 register OLDONEkeepalive retries 5switchback method immediate!dspfarm profile 10 transcode ------------> for g711 to any
codec g711ulawcodec g711alawcodec ilbccodec g723r63codec g723r53codec g729ar8codec g729abr8maximum sessions 10associate application SCCP!dspfarm profile 20 transcode universal --------------> for Any to Any
codec g711ulawcodec g711alawcodec ilbccodec g723r63codec g723r53codec g729ar8codec g729abr8maximum sessions 2associate application SCCP!!dial-peer voice 10 voipdestination-pattern 2...session target ipv4:1.3.65.12codec ilbc!dial-peer voice 11 voipdestination-pattern 1...session target ipv4:10.3.65.11codec g711ulaw!!telephony-service -----------> Minimum config for telephony is required for InBox
ip source-address 10.3.65.102 port 2000sdspfarm units 2sdspfarm transcode sessions 30sdspfarm tag 1 MTP000ABCDsdspfarm tag 2 OLDONEmax-ephones 20max-dn 20max-conferences 12 gain -6transfer-system full-consultcreate cnf-files version-stamp 7960 Sep 27 2006 20:39:40Additional References
The following sections provide references related to the Universal Transcoding Support for Cisco Unified Border Elements feature.
Related Documents
Related Topic Document TitleTranscoding configuration
Cisco Unified CallManager and Cisco IOS Interoperability Guide
Codecs
Standards
MIBs
MIB MIBs Link•None
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Command Reference
This section documents modified commands only.
dspfarm profile
To enter DSP farm profile configuration mode and define a profile for digital signal processor (DSP) farm services, use the dspfarm profile command in global configuration mode. To delete a disabled profile, use the no form of this command.
dspfarm profile profile-identifier {conference | mtp | transcode [universal]}
no dspfarm profile profile-identifier
Syntax Description
Defaults
No default behavior or values.
Command Modes
Global configuration
Command History
Release Modification12.3(8)T
This command was introduced.
12.4(11)XW
The universal keyword was added.
Usage Guidelines
Use this command to create a new profile or delete a disabled profile. If you create the profile successfully, you enter the DSP farm profile configuration mode. You can configure multiple profiles for the same service. If the profile is active, you cannot delete the profile.
The profile identifier uniquely identifies a profile. If the service type and profile identifier are not unique, you must choose a different profile identifier.
When the universal keyword is used, Universal Transcoding is activated. Universal Transcoding converts any supported codec to any other supported codec. This functionality allows a diverse array of interconnected topologies. Universal Transcoding works between two voice sessions that are encoded using different codecs, different packetization periods, or a combination. The Universal Transcoding channel only operates on RTP packets.
Examples
The following example shows how to enable DSP farm services profile 20 for conferencing:
Router(config)# dspfarm profile 20 conference
Note the response if the profile is already being used:
Router(config)# dspfarm profile 6 conference
Profile id 6 is being used for service TRANSCODINGplease select a different profile idRelated Commands
Command Descriptiondsp service dspfarm
Configures DSP farm services for a specified voice card.
voice-card
Enters voice-card configuration mode.
Feature Information for Universal Voice Transcoding Support for Cisco Unified Border Elements
Table 2 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note Table 2 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2007 Cisco Systems, Inc. All rights reserved.