In this section:
All information for the RTP Proxy mode applies to the Proxy with local SRTP mode.
The Proxy with local SRTP mode (available in SBC SWe Lite) is the same as Proxy Relay, only that SRTP is negotiated for encryption/decryption on a call leg basis and is processed locally while codecs are untouched.
Overview
When RTP Proxy Relay is enabled and properly configured, SIP signaling is processed by the SBC Edge and the audio packets are switched through the SBC without being processed by one of the SBC's DSPs.
The RTP Proxy Relay function enables endpoints on either side of the SBC to negotiate codecs and media capabilities directly between themselves. In RTP Proxy Relay, the SBC is unaware and does not need to support the communications codecs.
This feature is customizable through SIP Signaling Groups and Call Routing.
Only SIP-to-SIP calls can use the RTP Proxy Relay feature. SIP-to-telephony and telephony-to-SIP calls require the use of a DSP.
How Proxy Mode Works
In RTP Proxy Relay Mode, RTP packets between endpoints are switched internally within the SBC: the SBC updates IP address and port numbers, but the remainder of the RTP packet is switched unmodified from the input leg to the output leg.
A combination of the Signaling Group and Call Route configuration determines whether DSP or RTP Proxy Relay mode will be used. As an example:
RTP Proxy mode is used for a call if:
- Both the ingress and egress Signaling Groups have Audio/Fax Steam Proxy Mode - Enabled
- The call route is configured for Audio/Fax Stream Mode Proxy or Proxy Preferred Over DSP
DSP mode is used for a call if:
- One of the Signal Groups has Audio/Fax Stream Proxy Mode - Enabled
- The other Signaling Group has Audio/Fax Stream Proxy Mode - Disabled
- Both have Audio/Fax Stream DSP Mode - Enabled
- The call route is configured for Audio/Fax Stream Mode - DSP Preferred Over Proxy
In the configuration above, setting the call route Audio/Fax Stream Mode to Proxy would create an unworkable combination. Configuring Audio/Fax Stream Mode to Proxy means that only Proxy mode is valid for that call route. Since one Signaling Group is set to DSP only, the call route will be skipped.
Overall, the configuration of the Signaling Group’s Audio/Fax Stream Proxy and DSP Modes controls which modes are available to the endpoints. The call route controls which modes can be used for calls between specific endpoints.
When to Use RTP Proxy Relay Mode
- Use RTP Proxy Relay Mode when the two endpoints use a codec which is not supported by the SBC.
- Proxy Mode permits the endpoints to directly negotiate the codec between themselves without the SBC interfering. In other words, if the endpoints would be able to make a direct call to each other, then RTP Proxy Relay Mode should permit the endpoints to make a call through the SBC.
- Proxy Mode permits the endpoints to directly negotiate the codec between themselves without the SBC interfering. In other words, if the endpoints would be able to make a direct call to each other, then RTP Proxy Relay Mode should permit the endpoints to make a call through the SBC.
- Proxy Mode may also be used in cases where the SBC does support the codecs used by the two endpoints.
- Calls in Proxy Mode will not receive transcoding, ringback, or music-on-hold support from the SBC. These features require a DSP.
Ribbon recommends using DSP mode when the call codec is supported by the SBC.
Do not use Proxy Mode for Skype for Business/Teams calls. Skype for Business/Teams calls require that the SBC provide ringback.
Advantages of Using RTP Mode
- Allows the SBC to establish calls for codecs that it does not support.
- Increases the calls per second (CPS) of SBC 1000/2000.
- RTP Proxy Relay calls do not use transcoding licenses (Enhanced Media Sessions with Transcoding). RTP Proxy Relay calls only use non-transcoding licenses (Enhanced Media Sessions without Transcoding).
- Improves call quality.
- Reduces internal call processing.
DSP vs. Proxy in the Call Route
- Call routes will default the Audio/Fax Stream Mode setting to DSP. This mode should be used unless you have a specific reason for not using the SBC’s on-board DSP resources.
- Configure the call route Audio/Fax Stream Mode to Proxy if:
- The SBC does not have DSPs.
- The endpoints share a common codec that the SBC does not support.
- It may also be used for situations where the endpoints and the SBC all support a common codec, but for specific reasons, use of the on-board DSP resources is not desired. Be aware that the endpoints or upstream devices are responsible for providing ringback.
- Use the call route Proxy Preferred over DSP configuration:
- In an environment where the Signaling Groups have a mixture of Audio/Fax Stream Mode configurations and the RTP Proxy Relay mode is the desired preference. This will permit the call route to prefer the Proxy mode over DSP mode based upon the combination of Stream Mode settings in the ingress and egress Signaling Groups.
- In an environment where the Signaling Groups have a mixture of Audio/Fax Stream Mode configurations and the RTP Proxy Relay mode is the desired preference. This will permit the call route to prefer the Proxy mode over DSP mode based upon the combination of Stream Mode settings in the ingress and egress Signaling Groups.
- Use the call route DSP Preferred over Proxy configuration:
In an environment where the Signaling Groups have a mixture of Audio/Fax Stream Mode configurations and DSP mode is the desired preference. This will permit the call route to prefer the DSP mode over the Proxy mode based upon the combination of Stream Mode settings in the ingress and egress Signaling Groups.
Note that if inbound and outbound SG don’t have common media mode, the call will be rejected in any media mode of operation defined in the routing entry.
- Once the media mode is determined, the call will be set to either DSP or RTP Proxy Relay mode. The media mode cannot be changed once it has been initially established.
- If RTP Proxy Relay mode is desired, RTP Proxy Preferred mode should be used in configurations where a call route can be used by different call types (calls that are not exclusively SIP-to-SIP).
Limitations
- The voice metrics will be collected only in the DSP mode; audio metrics will not be collected for any call routed in the Proxy or Direct Media mode.
- Dynamic switching between DSP and Proxy modes is not supported. The RTP mode cannot be changed on a call once it has been selected.
- RTP Proxy Relay does not provide transcoding. Codec mismatches between endpoints will result in call failure.
- All Forked responses are sent to the caller. Endpoints may not handle it very well.
- In RTP Proxy Relay, the SRTP mandatory/optional, crypto keys, RTP payload packet size, order of codecs, are all negotiated by the endpoints.
- Calls will not work between endpoints that cannot create direct calls. (e.g., RTP Proxy Relay does not work between Skype for Business/Teams client and Tenor).
- Transferred calls are not supported.
- Endpoint-to-endpoint issues, such as one-way audio and no audio, usually manifest as call failures.
- In RTP Proxy Relay, there is no support for local ring back, music on hold, etc. (these require a DSP).
- RTP Proxy Relay does not support communications between RTP and SRTP endpoints. RTP to SRTP requires you to configure the Audio Stream Mode as DSP.