Table Of Contents
Configuring RTP Media Loopback for SIP Calls
Prerequisites for Configuring RTP Media Loopback for SIP Calls
Restrictions for Configuring RTP Media Loopback for SIP Calls
Configuration Examples for RTP Media Loopback
Configuring RTP Media Loopback for SIP Calls
RTP packets are looped back toward the source device when the RTP Media Loopback for SIP Calls feature is configured on a dial peer. The SIP RTP media loopback can be used during Cisco UBE deployments to make test calls to verify the media path between the endpoints and Cisco UBE. In a voice loopback call, an echo is heard at the device originating the call. In a video loopback call, the locally captured video and the audio echo must be rendered at the source device.
Prerequisites for Configuring RTP Media Loopback for SIP Calls
Media packets must be enabled to pass through the gateway. Use the media flow-through command in dial peer voice or voice service configuration mode to enable the media packets.
Cisco Unified Border Element
•Cisco IOS Release 15.1(4)M or a later release must be installed and running on your Cisco Unified Border Element.
Cisco Unified Border Element (Enterprise)
•Cisco IOS XE Release 3.3S or a later release must be installed and running on your Cisco ASR 1000 Series Router.
Restrictions for Configuring RTP Media Loopback for SIP Calls
•SRTP, DTLS, and STUN are not supported in loopback mode.
•Fax (midcall transmit function change) is not supported.
•RSVP is not supported.
•Call transfer is not supported.
SUMMARY STEPS
1. enable
2. configure terminal
3. dial-peer voice tag voip
4. destination-pattern string
5. session protocol sipv2
6. session target loopback:rtp
7. incoming called-number string
8. exit
DETAILED STEPS
Configuration Examples for RTP Media Loopback
This section provides the following examples:
•Example: Configuring Video Loopback with Cisco Telepresence System
•Example: Configuring Video Loopback with Cisco Unified Video Advantage (CUVA)
Example: Configuring Video Loopback with Cisco Telepresence System
The following sample output shows Media Loopback for SIP Calls configured on a Cisco Telepresence System (CTS).
!codec profile 1 aacldfmtp "fmtp:96 profile-level-id=16;streamtype=5;mode=AAChbr;config=B98C00;sizeLength=13;indexLength=3;ind exDeltaLength=3;constantDuration=480"!codec profile 2 h264fmtp "fmtp:112 profile-level-id=4D0028;sprop-parametersets=R00AKAmWUgDwBDyA,SGE7jyA=;packetization-mode=1"!voice class codec 4codec preference 1 aacld profile 1video codec h264 profile 2!dial-peer voice 2000 voipdestination-pattern 2000rtp payload-type cisco-codec-fax-ind 110rtp payload-type cisco-codec-aacld 96rtp payload-type cisco-codec-video-h264 112session protocol sipv2session target loopback:rtpincoming called-number 2000voice-class codec 4voice-class sip bandwidth audio tias-modifier 64000voice-class sip bandwidth video tias-modifier 4500000!Example: Configuring Video Loopback with Cisco Unified Video Advantage (CUVA)
The following sample output shows Media Loopback for SIP Calls configured on a Cisco Unified Video Advantage (CUVA).
!codec profile 3 h264fmtp "fmtp:98 profile-level-id=420015"!voice class codec 6codec preference 1 g711ulawvideo codec h264 profile 3!dial-peer voice 5000 voipdescription CUVAdestination-pattern 5000rtp payload-type cisco-codec-video-h264 98session protocol sipv2session target loopback:rtpincoming called-number 5000voice-class codec 6voice-class sip bandwidth video tias-modifier 384000