- Cisco Unified Border Element Enterprise Protocol-Independent Features and Setup
- SIP-to-SIP Extended Feature Functionality for Session Border Controllers
- Bandwidth-Based Call Admission Control
- Interworking Between RSVP Capable and RSVP Incapable Networks
- Cisco Resource Reservation Protocol Agent
- SIP INFO Method for DTMF Tone Generation
- DTMF Events through SIP Signaling
- Call Progress Analysis Over IP-to-IP Media Session
- Codec Preference Lists
- AAC-LD MP4A-LATM Codec Support on Cisco UBE
- Multicast Music-on-Hold Support on Cisco UBE
- Network-Based Recording
- Video Recording - Additional Configurations
- TDoS Attack Mitigation
- Cisco Unified Communications Gateway Services--Extended Media Forking
- Dynamic Payload Type Interworking for DTMF and Codec Packets for SIP-to-SIP Calls
- iLBC Support for SIP and H.323
- DSP-Based Functionality on the Cisco UBE Enterprise Including Transcoding and Transrating
- Acoustic Shock Protection
- Noise Reduction
- SIP Ability to Send a SIP Registration Message on a Border Element
- SIP Profiles
- Session Refresh with Reinvites
- SIP Stack Portability
- VoIP for IPv6
- Interworking of Secure RTP calls for SIP and H.323
- Cisco UBE Support for SRTP-RTP Internetworking
- Support for SRTP Termination
- WebEx Telepresence Media Support Over Single SIP Session
- SIP SRTP Fallback to Nonsecure RTP
- Support for Software Media Termination Point
- Cisco Unified Communication Trusted Firewall Control
- Cisco Unified Communication Trusted Firewall Control-Version II
- Finding Feature Information
- Domain-Based Routing Support on the Cisco UBE
- URI-Based Dialing Enhancements
- Additional References
- Glossary
- Feature Information for Negotiation of an Audio Codec from a List of Codecs
- Codecs configured using Preference Lists
- Prerequisites for Codec Preference Lists
- Restrictions for Codecs Preference Lists
- How to Configure Codec Preference Lists
- Troubleshooting Negotiation of an Audio Codec from a List of Codecs
- Verifying Negotiation of an Audio Codec from a List of Codecs
Codec Preference Lists
This chapter describes how to negotiate an audio codec from a list of codec associated with a preference. This chapter also describes how to disable codec filtering by configuring CUBE to send an outgoing offer with all configured audio codecs in the list assuming that the dspfarm supports all these codecs.
- Feature Information for Negotiation of an Audio Codec from a List of Codecs
- Codecs configured using Preference Lists
- Prerequisites for Codec Preference Lists
- Restrictions for Codecs Preference Lists
- How to Configure Codec Preference Lists
- Troubleshooting Negotiation of an Audio Codec from a List of Codecs
- Verifying Negotiation of an Audio Codec from a List of Codecs
Feature Information for Negotiation of an Audio Codec from a List of Codecs
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element |
15.1(2)T |
The Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element feature supports negotiation of an audio codec using the Voice Class Codec and Codec Transparent infrastructure on the Cisco UBE. The following command was introduced or modified: voice-class codec (dial peer). |
Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element |
Cisco IOS XE Release 3.8S |
The Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element feature supports negotiation of an audio codec using the Voice Class Codec and Codec Transparent infrastructure on the Cisco UBE. The following command was introduced or modified: voice-class codec (dial peer). |
Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element. |
15.3(2)T |
This feature provides high availability support for negotiation of an audio codec from a list of codecs on each leg of a SIP-to-SIP call on the Cisco Unified Border Element under the Voice Class Codec. |
Codecs configured using Preference Lists
SIP-to-SIP calls configured using codecs using preference lists have the following features:
- Incoming and outgoing dial-peers can be configured with different preference lists.
-
Both normal transcoding and high-density transcoding are supported with preference lists.
-
Mid-call codec changes for supplementary services are supported with preference lists. Transcoder resources are dynamically inserted or deleted when required.
-
Reinvite-based supplementary services invoked from the Cisco Unified Communications Manager (CUCM), like call hold, call resume, music on hold (MOH), call transfer, and call forward are supported with preference lists.
-
T.38 fax and fax passthrough switchover with preference lists are supported.
-
Reinvite-based call hold and call resume for Secure Real-Time Transfer protocol (SRTP) and Real-Time Transport Protocol (RTP) interworking on CUBE is supported with preference lists.
-
High availability is supported for calls that use codecs with preference lists. But calls requiring the transcoder to be invoked are not checkpointed. During mid-call renegotiation, if the call releases the transcoder, then the call is checkpointed.
Prerequisites for Codec Preference Lists
Restrictions for Codecs Preference Lists
For All Calls (SIP-to-SIP, H323-to-H323, SIP-to-H323 calls)
- Video codecs are not supported with preference lists.
- Multiple audio streams are not supported.
- High-density transcoding is not supported when delayed offer to early offer is configured. Only low density transcoding is supported.
- Codec re-packetization feature is not supported when preference lists are configured.
For H323-to-H323 and SIP-to-H323 Calls
The below restrictions do not exist for SIP-to-SIP calls from 15.1(2)T and Cisco IOS XE Release 3.8S onwards.
-
You can configure dissimilar preference lists on the incoming and outgoing dial peers.
- Incoming and outgoing dial-peers cannot be configured with the different preference lists.
- Transcoding is not supported when preference lists are used.
- Mid-call codec changes and supplementary services (call-hold / resume, call forward) do not work when a preference list is configured.
- Mid-call insertion or deletion of transcoder is not supported with preference lists.
- Rotary dial peers are not supported when preference lists are used.
- Both incoming and outgoing dial-peers need to be configured with the same codec voice classes.
- The preference of codecs configured in a codec voice classes is not be applied to the outgoing call-leg. Basically codec filtering is applied first and only the filtered codecs will be sent out in the outgoing offer from CUBE.
- T.38 fax, fax-passthru and modem-passthru is not be supported with preference lists.
- SRTP<->RTP is not supported with preference lists.
- When a codec voice class is configured, call establishment is un-predictable when a transcoder is involved in the call. The call succeeds only if the end points choose the first codec in the list of offered codecs.
How to Configure Codec Preference Lists
Configuring Audio Codecs Using a Codec Voice Class and Preference Lists
Preferences can be used to determine which codecs will be selected over others.
A codec voice class is a construct within which a codec preference order can be defined. A codec voice class can then be applied to a dial peer, which then follows the preference order defined in the codec voice class.
1.
enable
2.
configure terminal
3.
voice class codec
tag
4.
Do the
following for each audio codec you want to configure in the voice class:
5.
exit
6.
dial-peer voice
number
voip
7.
voice-class codec
tag
offer-all
8.
end
DETAILED STEPS
Disabling Codec Filtering
Cisco UBE is configured to filter common codecs for the subsets, by default. The filtered codecs are sent in the outgoing offer. You can configure the Cisco UBE to offer all the codecs configured on an outbound leg instead of offering only the filtered codecs.
Note | This configuration is applicable only for early offer calls from the Cisco UBE. For delayed offer calls, by default all codecs are offered irrespective of this configuration. |
Perform this task to disable codec filtering and allow all the codecs configured on an outbound leg.
1.
enable
2.
configure
terminal
3.
dial-peer
voice
tag
voip
4.
voice-class
codec
tag
offer-all
5.
end
DETAILED STEPS
Troubleshooting Negotiation of an Audio Codec from a List of Codecs
Use the following commands to debug any errors that you may encounter when you configure the Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element feature:
For DSP-related debugs, use the following commands:
Verifying Negotiation of an Audio Codec from a List of Codecs
Perform this task to display information to verify Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element configuration. These show commands need not be entered in any specific order.
1.
enable
2.
show
call
active
voice
brief
3.
show
voip
rtp
connections
4.
show
sccp
connections
5.
show
dspfarm
dsp
active
DETAILED STEPS