Table Of Contents
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
The 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 feature supports negotiation of an audio codec using the Voice Class Codec and Codec Transparent infrastructure on the Cisco Unified Border Element (Cisco UBE).
Benefits
Following are the benefits of the 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 feature:
•You can configure dissimilar Voice Class Codec configurations on the incoming and outgoing dial peers.
•Both normal transcoding and high-density transcoding are supported with the Voice Class Codec configuration.
•Mid-call codec changes for supplementary services are supported with the Voice Class Codec configuration. 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 the Voice Class Codec configuration.
•T.38 fax and fax passthru switchover with Voice Class Codec configuration are supported.
•Reinvite-based call hold and call resume for Secure Real-Time Transfer protocol (SRTP) and Real-Time Protocol (RTP) interworking on Cisco UBE are supported with the Voice Class Codec configuration.
Prerequisites
To the configure 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 feature you must know the following:
•Transcoding configuration on the Cisco UBE.
•The digital signal processor (DSP) requirements to support the transcoding feature on the Cisco UBE.
•The existing Voice Class Codec configuration on the dial peers.
Cisco Unified Border Element
•Cisco IOS Release 15.1(2)T or a later release must be installed and running on your Cisco Unified Border Element.
Cisco Unified Border Element (Enterprise)
•Cisco IOS XE Release 2.5 or a later release must be installed and running on your Cisco ASR 1000 Series Router.
Restrictions
The 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 feature has the following limitations:
•Mid-call insertion or deletion of the transcoder with voice class codec for H323-H323 and H323-SIP is not supported.
•Voice class codec is not supported for video calls.
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.
SUMMARY STEPS
1. enable
2. configure terminal
3. dial-peer voice tag voip
4. voice-class codec tag [offer-all]
5. end
DETAILED STEPSTroubleshooting 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
Use the following commands to debug any errors that you may encounter when you configure the 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 feature:
•debug ccsip all
•debug voip ccapi input
•debug sccp messages
•debug voip rtp session
Verifying 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
Perform this task to display information to verify 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 configuration. These show commands need not be entered in any specific order.
SUMMARY STEPS
1. enable
2. show call active voice brief
3. show voip rtp connections
4. show sccp connections
5. show dspfarm dsp active
DETAILED STEPS
Step 1 enable
Enables privileged EXEC mode.
Step 2 show call active voice brief
Displays a truncated version of call information for voice calls in progress.
Router# show call active voice brief<ID>: <CallID> <start>ms.<index> +<connect> pid:<peer_id> <dir> <addr> <state>dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes>IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late>delay:<last>/<min>/<max>ms <codec>media inactive detected:<y/n> media cntrl rcvd:<y/n> timestamp:<time>long duration call detected:<y/n> long duration call duration :<sec> timestamp:<time>MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected>last <buf event time>s dur:<Min>/<Max>sFR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n><codec> (payload size)ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n><codec> (payload size)Tele <int> (callID) [channel_id] tx:<tot>/<v>/<fax>ms <codec> noise:<l> acom:<l> i/o:<l>/<l> dBmMODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops>speeds(bps): local <rx>/<tx> remote <rx>/<tx>Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf>bw: <req>/<act> codec: <audio>/<video>tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>Telephony call-legs: 0SIP call-legs: 2H323 call-legs: 0Call agent controlled call-legs: 0SCCP call-legs: 2Multicast call-legs: 0Total call-legs: 41243 : 11 971490ms.1 +-1 pid:1 Answer 1230000 connectingdur 00:00:00 tx:415/66400 rx:17/2561IP 192.0.2.1:19304 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711ulaw TextRelay: offmedia inactive detected:n media contrl rcvd:n/a timestamp:n/along duration call detected:n long duration call duration:n/a timestamp:n/a1243 : 12 971500ms.1 +-1 pid:2 Originate 3210000 connecteddur 00:00:00 tx:5/10 rx:4/8IP 9.44.26.4:16512 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729br8 TextRelay: offmedia inactive detected:n media contrl rcvd:n/a timestamp:n/along duration call detected:n long duration call duration:n/a timestamp:n/a0 : 13 971560ms.1 +0 pid:0 Originate connectingdur 00:00:08 tx:415/66400 rx:17/2561IP 192.0.2.2:2000 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711ulaw TextRelay: offmedia inactive detected:n media contrl rcvd:n/a timestamp:n/along duration call detected:n long duration call duration:n/a timestamp:n/a0 : 15 971570ms.1 +0 pid:0 Originate connectingdur 00:00:08 tx:5/10 rx:3/6IP 192.0.2.3:2000 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729br8 TextRelay: offmedia inactive detected:n media contrl rcvd:n/a timestamp:n/along duration call detected:n long duration call duration:n/a timestamp:n/aTelephony call-legs: 0SIP call-legs: 2H323 call-legs: 0Call agent controlled call-legs: 0SCCP call-legs: 2Multicast call-legs: 0Total call-legs: 4Step 3 show voip rtp connections
Displays Real-Time Transport Protocol (RTP) connections.
Router# show voip rtp connectionsVoIP RTP active connections :No. CallId dstCallId LocalRTP RmtRTP LocalIP RemoteIP1 11 12 16662 19304 192.0.2.1192.0.2.22 12 11 17404 16512 192.0.2.2192.0.2.33 13 14 18422 2000 192.0.2.49.44.26.34 15 14 16576 2000 192.0.2.6192.0.2.5Found 4 active RTP connectionsStep 4 show sccp connections
Displays information about the connections controlled by the Skinny Client Control Protocol (SCCP) transcoding and conferencing applications.
Router# show sccp connectionssess_id conn_id stype mode codec sport rport ripaddr5 5 xcode sendrecv g729b 16576 2000 192.0.2.35 6 xcode sendrecv g711u 18422 2000 192.0.2.4Total number of active session(s) 1, and connection(s) 2Step 5 show dspfarm dsp active
Displays active DSP information about the DSP farm service.
Router# show dspfarm dsp activeSLOT DSP VERSION STATUS CHNL USE TYPE RSC_ID BRIDGE_ID PKTS_TXED PKTS_RXED0 1 27.0.201 UP 1 USED xcode 1 0x9 5 80 1 27.0.201 UP 1 USED xcode 1 0x8 2558 17Total number of DSPFARM DSP channel(s) 1