This chapter provides information about transcoders. The Media
Resource Manager (MRM) provides resource reservation of transcoders.
Cisco Unified Communications Manager supports simultaneous registration of both the
media termination point (MTP)/trusted relay point (TRP) and transcoder and
concurrent MTP/TRP and transcoder functionality within a single call.
A transcoder takes the media stream of one codec and
transcodes (converts) it from one compression type to another compression type.
For example, it could take a stream from a G.711 codec and transcode (convert)
it in real time to a G.729 stream. In addition to codec conversion, a
transcoder resource can also provide MTP/TRP functionality to a call.
The
Cisco Unified Communications Manager invokes a transcoder on behalf of endpoint devices when the
two devices use different voice codecs and would normally not be able to
communicate. When inserted into a call, the transcoder converts the data
streams between the two incompatible codecs to enable communications between
them.The transcoder remains invisible to either the user or the endpoints that
are involved in a call.
A transcoder provides a designated number of streaming
mechanisms, each of which can transcode data streams between different codecs.
To configure transcoders, refer to the following steps.
Procedure
Step 1
Determine the number of transcoder resources that are needed and
the number of transcoder devices that are needed to provide these resources.
Step 2
Add and configure the transcoders.
Step 3
Add the new transcoders to the appropriate media resource groups.
A transcoder takes the media stream of one codec and
transcodes (converts) it from one compression type to another compression type.
For example, it could take a stream from a G.711 codec and transcode (convert)
it in real time to a G.729 stream. In addition to codec conversion, a
transcoder resource can also provide MTP/TRP functionality to a call.
Note
The transcoder supports transcoding between G.711 and all codecs, including G.711, when functioning as a transcoder and when providing MTP/TRP functionality.
The
Cisco Unified Communications Manager invokes a transcoder on behalf of endpoint
devices when the two devices use different voice codecs and would normally not
be able to communicate. When inserted into a call, the transcoder converts the
data streams between the two incompatible codecs to enable communications
between them. The transcoder remains invisible to either the user or the
endpoints that are involved in a call.
A transcoder provides a designated number of streaming
mechanisms, each of which can transcode data streams between different codecs.
Manage transcoders with the Media Resource Manager
All
Cisco Unified Communications Managers can access transcoders through the Media
Resource Manager (MRM). The MRM manages access to transcoders.
The MRM makes use of
Cisco Unified Communications Manager media resource groups and media resource group
lists. The media resource group list allows transcoders to communicate with
other devices in the assigned media resource group, which in turn, provides
management of resources within a cluster.
A transcoder control process gets created for each transcoder
device that is defined in the database. The MRM keeps track of the transcoder
resources and advertises their availability.
Use transcoders as MTPs
Hardware-based transcoder resources also support MTP and/or
TRP functionality. In this capacity, when the
Cisco Unified Communications Manager determines that an endpoint in a call requires
an MTP or TRP, it can allocate a transcoder resource and inserts it into the
call, where it acts like an MTP transcoder.
Cisco Unified Communications Manager supports MTP and TRP and transcoding
functionality simultaneously. For example, if a call originates from a
Cisco Unified IP Phone (located in the G723 region) to NetMeeting (located in the G711
region), one transcoder resource supports MTP and transcoding functionality
simultaneously.
If a software MTP resource is not available when it is
needed, the call tries to connect without using an MTP resource and MTP/TRP
services. If hardware transcoder functionality is required (to convert one
codec to another) and a transcoder is not available, the call will fail.
Note
The transcoder supports transcoding between G.711 and all codecs, including G.711, when functioning as a transcoder and when providing MTP/TRP functionality.
Transcoders and call throttling
The MTP and Transcoder Resource Throttling Percentage service parameter, which supports the Cisco CallManager service, defines a percentage of the configured number of MTP or transcoder resources and allows Cisco Unified Communications Manager to extend the call to an MTP/transcoder that offers the best chance of successfully connecting the call. When the number of active MTP or transcoder resources is equal to or greater than the percentage that is configured for this parameter, Cisco Unified Communications Manager throttles (stops sending) calls to this MTP/transcoder. Cisco Unified Communications Manager hunts through the Media Resource Group List (MRGL) one time to find a MTP/transcoder that uses matching codecs on both sides of the call. If Cisco Unified Communications Manager cannot find an available MTP/transcoder with matching codecs, Cisco Unified Communications Manager returns to the top of the MRGL to repeat the search, which then includes those MTPs/transcoders that are in a throttled state and that match a smaller subset of capabilities for the call. Cisco Unified Communications Manager extends the call to the MTP/transcoder that is the best match for the call when Cisco Unified Communications Manager determines that a resource may be available; the call fails when the MTP/transcoder cannot allocate a resource for the call. In some cases, Cisco Unified Communications Manager perceives that a resource on a hardware MTP/transcoder is available, but the actual port on the hardware is not available.
For example, if you enter 40 for the Call Count service parameter, which supports the Cisco IP Voice Media Streaming Application service, for a software MTP or transcoder (or for hardware resources, if the maximum sessions is configured at 40, for example), and you set the MTP and Transcoder Resource Throttling Percentage service parameter to 95 percent, Cisco Unified Communications Manager throttles calls to the MTP/transcoder when 38 resources are used on this MTP/transcoder (.95 x 40 = 38). When a new request for an MTP or transcoder arrives, Cisco Unified Communications Manager checks whether the number of resources has dropped to 38 or less, and if so, extends the call to the MTP/transcoder.
For the maximum, minimum, and default values for this service parameter, click the question mark help in the Service Parameter Configuration window in Cisco Unified Communications Manager Administration.
Transcoder types in Cisco Unified Communications Manager administration
Transcoder types in
Cisco Unified Communications Manager Administration are listed in the following table.
Note
The transcoder supports transcoding between G.711 and all codecs, including G.711, when functioning as a transcoder and when providing MTP/TRP functionality.
Table 1 Transcoder Types
Transcoder Type
Description
Cisco Media Termination Point Hardware
This type, which supports the Cisco Catalyst 4000 WS-X4604-GWY
and the Cisco Catalyst 6000 WS-6608-T1 or WS-6608-E1, provides the following
number of transcoding sessions:
For the Cisco Catalyst 4000 WS-X4604-GWY
For transcoding to G.711-16 MTP transcoding sessions
For the Cisco Catalyst 6000 WS-6608-T1 or WS-6608-E1
For transcoding from G.723 to G.711/For transcoding from
G.729 to G.711-24 MTP transcoding sessions per physical port; 192 sessions per
module
Cisco IOS Media Termination Point (hardware)
This type, which supports the Cisco 2600XM, Cisco 2691, Cisco
3725, Cisco 3745, Cisco 3660, Cisco 3640, Cisco 3620, Cisco 2600, and Cisco
VG200 gateways, provides the following number of transcoding sessions:
Per NM-HDV
Transcoding from G.711 to G.729-60
Transcoding from G.711 to GSM FR/GSM EFR- 45
Cisco IOS Enhanced Media Termination Point (hardware)
Per NM-HD
This type, which supports Cisco 2600XM, Cisco 2691, Cisco
3660, Cisco 3725, Cisco 3745, and Cisco 3660 Access Routers, provides the
following number of transcoding sessions:
Transcoding for G.711 to G.729a/G.729ab/GSMFR-24
Transcoding for G.711 to G.729/G.729b/GSM EFR-18
Per NM-HDV2
This type, which supports Cisco 2600XM, Cisco 2691, Cisco
3725, Cisco 3745, and Cisco 3660 Access Routers, provides the following number
of transcoding sessions:
Transcoding for G.711 to G.729a/G.729ab/GSMFR-128
Transcoding for G.711 to G.729/G.729b/GSM EFR-96
Cisco Media Termination Point (WS-SVC-CMM)
This type provides 64 transcoding sessions per daughter card
that is populated: 64 transcoding sessions with one daughter card, 128
transcoding sessions with two daughter cards, 192 transcoding sessions with
three daughter cards, and 256 transcoding sessions with four daughter cards
(maximum).
This type provides transcoding between any combination of the
following codecs:
G.711 a-law and
G.711 mu-law
G.729 annex A and
annex B
G.723.1
GSM (FR)
GSM (EFR)
Transcoder failover and fallback
This section describes how transcoder devices failover and
fallback when the
Cisco Unified Communications Manager to which they are registered becomes
unreachable. The section also explains conditions that can affect calls that
are associated with a transcoder device, such as transcoder 1 reset or restart.
Active Cisco Unified Communications Manager becomes inactive
The following items describe the transcoder device recovery
methods when the transcoder is registered to a
Cisco Unified Communications Manager that goes inactive:
If the primary
Cisco Unified Communications Manager fails, the transcoder attempts to register
with the next available
Cisco Unified Communications Manager in the
Cisco Unified Communications Manager Group that is specified for the device pool to
which the transcoder belongs.
The transcoder device reregisters with the primary
Cisco Unified Communications Manager as soon as
Cisco Unified Communications Manager becomes available.
A transcoder device unregisters with a
Cisco Unified Communications Manager that becomes unreachable. The calls that were
on that
Cisco Unified Communications Manager will register with the next
Cisco Unified Communications Manager in the list.
If a transcoder attempts to register with a new
Cisco Unified Communications Manager and the register acknowledgment is never
received, the transcoder registers with the next
Cisco Unified Communications Manager.
Reset registered transcoder devices
The transcoder devices will unregister and then disconnect
after a hard or soft reset. After the reset completes, the devices reregister
with the primary
Cisco Unified Communications Manager.
Dependency records
To find out which media resources are associated with a
transcoder, choose Dependency Records from the Related Links drop-down list box
from the
Cisco Unified Communications Manager Administration Transcoder Configuration window. Click Go. The
Dependency Records Summary window displays information about media resource
groups that are using the transcoder. To find out more information about the
media resource group, click the media resource group, and the Dependency
Records Details window displays. If the dependency records are not enabled for
the system, the dependency records summary window displays a message.
Transcoder performance monitoring and troubleshooting
Microsoft Performance Monitor counters for transcoders allow
you to monitor the number of transcoders that are currently in use, the number
of transcoders that are currently registered with the
Cisco Unified Communications Manager but are not currently in use, and the number
of times that a transcoder was requested for a call, but no resources were
available.
For more information about performance monitor counters, see
the
Cisco Unified Serviceability Administration Guide.
Cisco Unified Communications Manager writes all errors for the transcoder
to the Event Viewer. In
Cisco Unified Serviceability, you can set traces for the Cisco IP Voice Media
Streaming Application service; to troubleshoot most issues, you must choose the
Significant or Detailed option for the service, not the Error option. After you
troubleshoot the issue, change the service option back to the Error option.
For more information about the Cisco IP Voice Media Streaming
Application service, see the
Cisco Unified Serviceability Administration Guide.
Cisco Unified Communications Manager generates registration and connection
alarms for transcoder in
Cisco Unified Serviceability. For more information on alarms, see the
Cisco Unified Serviceability Administration Guide.