Sizing and Scaling Cisco Unity Connection Servers: Audio Codecs
Sizing and Scaling Cisco Unity Connection Servers: Audio Codecs
Servers
For a list of servers that meet Unity Connection specifications, see the Cisco Unity Connection 11.x Supported
Platforms List at
https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/11x/supported_platforms/b_11xcucspl.html.
• Audio Codecs, on page 1
• Voice Messaging Ports, on page 4
• Storage Capacity for Voice Messages, on page 5
• Users, on page 5
• Simultaneous TUI/VUI Sessions, on page 6
• IMAP Clients Used to Access Unity Connection Voice Messages, on page 6
• Visual Voicemail Clients and Sessions, on page 7
• Simultaneous Mobile Clients, on page 7
• Messaging Assistant Clients, on page 8
• Web Inbox Clients, on page 8
• Cisco Unified Personal Communicator Clients, on page 8
• IBM Lotus Sametime Clients, on page 8
• RSS Reader Clients, on page 9
Audio Codecs
Audio Codec Usage for Call Connections and Recording
In Unity Connection, a call in any audio codec format supported by SCCP or SIP signaling—G.711 mu-law,
G.711 a-law, G.722, G.729, and iLBC—are always transcoded to PCM linear. From PCM linear, the recording
is encoded in the system-level recording audio codec—PCM linear, G.711 mu-law, G.711 a-law, G.729a, or
G.726—a systemwide setting in Cisco Unity Connection Administration. G.711 mu-law is the default.
In this section, we refer to the audio codec that is negotiated between the calling device and Unity Connection
as the “line codec,” and the audio codec that is set as the system-level recording audio codec as the “recording
codec.”
Supported Line Codecs (Advertised Codecs)
• G.711 mu-law
• G.711 a-law
• G.722
• G.729
• iLBC
Because transcoding occurs in every connection, there is little difference in system impact when the line codec
differs from the recording codec. For example, using G.729a as the line codec and G.711 mu-law as the
recording codec does not place a significant additional load on the Unity Connection server for transcoding.
However, the iLBC or G.722 codecs require more computation to transcode, and therefore places a significant
additional load on the Unity Connection server. Consequently, a Unity Connection server can support only
half as many G.722 or iLBC connections as it can G.711 mu-law connections.
Note Use of the G.722 or iLBC codec as line codecs or advertised codecs reduces the number of voice ports that
can be provisioned on the Unity Connection server. For more information on the number of voice ports
supported for each platform overlay when using G.722 or iLBC codecs, see the Cisco Unity Connection 11.x
Supported Platforms List at https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/11x/supported_
platforms/b_11xcucspl.html.
Generally, you should not change the system recording format from the default setting except in the following
situations:
• To address disk space considerations, consider using a low bit-rate codec such as G.729a or G.726. Note
that a low bit-rate codec produces lower quality audio than a high bit-rate codec such as G.711 mu-law.
• To improve the audio quality of recordings for endpoints that use G.722 as the line codec, consider using
PCM linear. Note that PCM linear increases the disk space that is used.
There are additional possible reasons to change the recording codec or to choose only to advertise specific
line codecs. Review the following information when making decisions on the system-level recording audio
codec and the advertised codecs on the SCCP or SIP integration:
• The audio codecs that are negotiated between the majority of the endpoints and Unity Connection. This
information helps you decide the audio codecs that Unity Connection should advertise and the audio
codecs that Unity Connection should not advertise. You can then decide when you need Cisco Unified
Communications Manager to provide hardware transcoding resources rather than using Unity Connection
to provide computationally significant native transcoding, such as when the configuration requires a
number of clients to connect to Unity Connection using G.722 or iLBC.
• The types of graphical user interface (GUI) clients that play the recordings (for example, web browsers,
email clients, or media players) and the audio codecs that these GUI clients support.
• The quality of the sound produced by the selected audio codec. Some audio codecs produce higher audio
quality than other audio codecs. For example, G.711 produces a higher audio quality than G.729a and
is a better choice when higher audio quality is necessary.
• The amount of disk space that the audio codec takes up per second of recording time.
PCM linear produces the highest audio quality and is the most widely supported by media players, yet it uses
the most disk space and bandwidth (16 KB/sec). G.711 (both a-law and mu-law) produces moderate audio
quality compared to PCM linear and is also widely supported by media players, though it uses half as much
disk space and bandwidth (8 KB/sec). G.729a produces the lowest audio quality of the four supported audio
codecs and is poorly supported by media players because it requires a license for use. Yet this audio codec
uses the least amount of disk space (1 KB/sec). G.726 produces moderate audio quality, is moderately supported
by media players, and uses less disk space than most of the other codecs (3 KB/sec). This information is
summarized in below table.
Recording Audio Quality Supportability Disk Space Sampling Channels Sample Size
Audio Codec Used Rate
For details on changing the audio codec that is advertised by Unity Connection, or the system-level recording
audio codec, see the “Changing the Audio or Video Format of Recordings” section of the “User Settings”
chapter of the System Administration Guide for Cisco Unity Connection Release 11.x, at https://www.cisco.com/
c/en/us/td/docs/voice_ip_comm/connection/11x/administration/guide/b_cucsag.html.
When modifying the advertised audio codecs, the choices are G.711 mu-law, G.711 a-law, G.722, G.729, and
iLBC. In addition, you also indicate an order of preference for the chosen codecs.
For SCCP integrations, the order of the audio codecs is not important because Cisco Unified CM negotiates
the audio codec based on the location of the port and the device in the negotiated call. However, for SIP
integrations the order of the audio codecs is important. If one audio codec is preferred over another audio
codec, Unity Connection advertises that it supports both audio codecs but prefers to use the one specified over
the other.
Note In Web Inbox, the received voice messages are always played or downloaded in PCM linear whether any
codec is selected to record the messages.
• For outbound voice messages, Unity Connection can do one of the following:
• Convert voice messages to the G.726 audio format.
• Not convert the audio format of the voice message, keeping the voice message in its original audio
format. Not converting is useful when you use VPIM networking to send voice messages between
Unity Connection servers, or between Unity Connection and Cisco Unity servers.
For additional information on the number of voice messaging ports, see the " Planning the Usage of Voice
Messaging Ports " section in the applicable Cisco Unity Connection integration guide at https://www.cisco.com/
c/en/us/td/docs/voice_ip_comm/connection/11x/integration/guide/sip-csps/b_cuc11xintcsps.html.
Note The email stored in Unity Connection is only replies to or forwards of Unity Connection voice messages, with
or without the original voice message. This email is not related to email in the email inbox of the user.
If the customer is replacing an existing voice-messaging system with Unity Connection, it may be possible
to obtain information from the existing system on the average number of minutes of voice messages that users
currently have. You can then multiply the average number of minutes by the recording size per
minute—according to the codec that Unity Connection uses to record messages—to arrive at the average
amount of disk space required for voice messages per user.
Start with a one-to-one correlation between the legacy voice-messaging system and Unity Connection. If the
legacy system handles a larger capacity than the largest Unity Connection server, consider splitting the legacy
user population onto more than one Unity Connection server.
Users
For the maximum number of users supported for each supported server, planning, and selection of servers,
take into account the possibility of adding users in the future. For more information, see the Cisco Unity
Connection 11.x Supported Platforms List at https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/
11x/supported_platforms/b_11xcucspl.html.
For information on moving users from one Cisco Unity Connection server to another, see the “Moving or
Migrating Users Between Locations in Cisco Unity Connection” section of the “Users” chapter of the System
Administration Guide for Cisco Unity Connection, Release 11.x, available at https://www.cisco.com/c/en/us/
td/docs/voice_ip_comm/connection/11x/administration/guide/b_cucsag.html.
Note that some IMAP clients (for example, Cisco Unified Personal Communicator 7.0 and earlier) do not
support the IMAP IDLE command. IMAP clients that do not support IMAP IDLE consume more system
resources on a Unity Connection server. As a result, each active instance of each client that does not support
IMAP Idle and is accessing Unity Connection voice messages counts as four active clients. See the IMAP
Clients Used to Access Unity Connection Voice Messages for additional details.
• G.722 and iLBC Audio Codecs—Using G.722 or iLBC audio codecs “on the line” or as advertised
codecs reduces the maximum number of TUI and/or VUI sessions that Unity Connection supports for
each platform overlay by 50 percent as compared to using the G.711 audio codec. For the maximum
number of sessions that Unity Connection supports for each platform overlay when using the G.722 or
iLBC audio codec, see the Cisco Unity Connection 11.x Supported Platforms List at
https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/11x/supported_platforms/b_
11xcucspl.html. For a discussion of supported system recording and advertised or “on the line” audio
codecs with Unity Connection, see the Audio Codecs.
• Media Encryption and Authentication using Secure Real Time Protocol (SRTP)—Using SRTP for
media encryption and authentication reduces the maximum number of TUI and/or VUI sessions that
Unity Connection supports for each platform overlay upto 15 percent.
the number of IMAP clients supported for each platform overlay (each grouping of comparable supported
Unity Connection servers), see the Cisco Unity Connection 11.x Supported Platforms List at
https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/11x/supported_platforms/b_11xcucspl.html.
You can mix IMAP Idle and non-IMAP Idle clients if necessary. However, to simplify sizing calculations,
you should isolate IMAP Idle and non-IMAP Idle clients on separate Unity Connection servers or cluster
server pairs (active/active high availability). If you must mix IMAP Idle and non-IMAP Idle clients on the
same server or cluster server pair, count each non-IMAP Idle client as four IMAP Idle clients for sizing
calculations. In addition, you may want to put users who use IMAP Idle clients and users who use non-IMAP
Idle clients into separate classes of service so that you can run a report that tells you how many of each you
have accessing voice messages on a given Unity Connection server.
Note that when you isolate IMAP Idle and non-IMAP Idle clients on separate servers or cluster server pairs,
you should set up networking between the servers if they are not already networked. For more information
on Unity Connection networking, see the Networking chapter.
Note Accessing voice messages from Unity Connection through IMAP clients is supported with both the IPv4 and
IPv6 addresses. However, sending voice messages to Unity Connection using SMTP is only supported with
the IPv4 addresses.
an IMAP Idle connection, the maximum number of simultaneous mobile clients supported by Cisco Unified
Mobility Advantage, Cisco Unified Mobile Communicator, and Unity Connection is reduced by approximately
70 percent. For the maximum number of Cisco Unified Mobility Advantage clients and Cisco Unified Mobile
Communicator clients supported for each platform overlay, see the Cisco Unity Connection 11.x Supported
Platforms List at https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/11x/supported_platforms/
b_11xcucspl.html.
List at https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/11x/supported_platforms/b_
11xcucspl.html.
For information on the IBM Lotus Sametime client, see the applicable version of Release Notes for Cisco
Unified Messaging with IBM Lotus Sametime at http://www.cisco.com/c/en/us/support/unified-communications/
unity-connection/products-release-notes-list.html.