Top
Secure Real-Time Transport Protocol
Secure Real-time Transport Protocol (SRTP) is a profile of Real-time Transport Protocol (RTP) that provides encryption, message authentication, and replay attack protection.
SRTP can be enabled on all Mediatrix unit endpoints, or on one or more specific endpoints. However, SRTP encryption and authentication requires more processing therefore, if SRTP is enabled, the number of calls that the Mediatrix unit can handle simultaneously may be reduced, depending of the enabled codecs . (For more details on resources limitations with SRTP and conferences, refer to the DGW Configuration Guide - Limitations of DGW Platforms document published on the Media5 Documentation Portal).
To reduce the impact on the number of simultaneous calls a Mediatrix unit can handle, is it possible to disable all voice or data codec, including the T.38 protocol, and keep only the G.711 voice codec enabled.
The Mediatrix unit supports the MIKEY protocol using pre-shared keys (MIKEY-PS as per RFC 3830) or the SDES protocol for negotiating SRTP keys
Top
Basic Tasks
Enabling Secure Media (SRTP) on All Endpoints
All new SIP exchanges will contain RTP/SAVP negotiation elements.
Top
Enabling Secure Media (SRTP) on a Specific Endpoint
All new SIP exchanges going through the specified endpoint will contain RTP/SAVP negotiation elements.
Top
Allowing Unsecure T.38 with Secure RTP
The T.38 protocol must be enabled under Media/Codec.
This procedure is required only if SRTP is used and is available provided the Select Endpoint selection list is set to Default.- Go to Media/Security.
- In the Security table, under the RTP section, set the Mode selection list to Secure with fallback.
- Under the T.38 section, set the Allow Unsecure T.38 with Secure RTP selection list to Yes.
- Click Apply.
Top
Modifying the SRTP Basic Port
- Go to Media/Misc.
- In the Base Ports table,in the filed next to SRTP, indicate in the field to first port to use in SRTP.
The first port to be used in SRTP will be the one specified.
Top
Advanced RTP Parameters
- using a MIB browser
- using the CLI
- creating a configuration script containing the configuration parameters
For more details, refer to the DGW Configuration Guide - Reference Guide published on the Media5 Documentation Portal.
- Mipt.EnforceSymmetricRtpEnable: to enforce that incoming RTP packets are from the same source as the destination of outgoing RTP packets.
- Mipt.InteropDtmfRtpInitialPacketQty: to specify the quantity of packets sent at the beginning and at the ending of an Out-of-Band DTMF using RTP.
- Mipt.InteropPacketReceptionMode: to select the mode that control the range of packetisation times (ptime) applied at the reception of RTP packets.
Top
Advanced SRTP Preferences Configuration for the Mediatrix Gateways
Under certain conditions, the SRTP Preferences of the Mediatrix gateways can be tweaked, allowing a better interoperability with the SRTP behaviors of different VoIP devices.
The Mipt.CryptoModeWhenSendingOffer and Mipt.CryptoModeWhenSendingAnswer parameters affect the behavior of the SRTP elements within the SIP messages.
- RegenerateAlways, a different crypto attribute is generated.
- KeepAlways, the previously sent crypto attribute is reused.
- RegenerateAlways, a different crypto attribute is generated.
- KeepUnlessCryptoChange, a different crypto attribute is generated if the received offer has a different crypto attribute. Otherwise, the previously sent crypto attribute is reused.
- KeepAlways, the previously sent crypto attribute is reused.
- ResetAlways: Reset the cryptographic context on every SDP renegociation, even if the crypto key has not changed.
- ResetOnNewCrypto: Reset the cryptographic context when the negotiated crypto key has changed.
- ResetNever: The cryptographic context is never reset after an SDP renegotiation. The context is updated with the new crypto keys, while the crypto transform parameters keeps its current value.
- SSRC identifier
- Sequence number
- Roll Over Counter (ROC) – an internal counter not exchanged between the VoIP devices
- IP address and UDP port number of the media stream
Top
Recommended SRTP Preferences for a Typical VoIP Network
Configurable parameter | Regenerate | Keep |
---|---|---|
Crypto Mode When Sending Offer | Regenerate Always | Keep Always |
Crypto Mode When Sending Answer | Regenerate Always | Keep Always |
Crypto Context Behavior | Reset Always | Reset Never |
- the Mediatrix gateway exchanges with VoIP devices which the SRTP behavior is unknown.
- the Mediatrix gateway exchanges with different VoIP devices without centralized VoIP infrastructure.
- the Mediatrix gateway or the Mediatrix Sentinel SBC exchanges with BroadSoft, Cisco or Oracle servers.
- the Mediatrix Sentinel SBC interchanges with VoIP devices which the SRTP behavior is unknown.
- the Mediatrix gateway or the Mediatrix Sentinel SBC exchanges with a media relay server which re-encrypt completely the SRTP packets (new crypto keys, different SSRC identifier).
- the Mediatrix gateway or the Mediatrix Sentinel SBC exchanges with Microsoft servers, such as Microsoft Teams.
Top
Recommended SRTP Preferences for Cisco BroadWorks and BroadCloud
Mipt.CryptoModeWhenSendingOffer = "RegenerateAlways"
Mipt.CryptoModeWhenSendingAnswer = "RegenerateAlways"
Mipt.CryptoContextBehavior = "ResetAlways"
Top
Recommended SRTP Preferences for Microsoft Teams
Mipt.CryptoModeWhenSendingOffer = "KeepAlways"
Mipt.CryptoModeWhenSendingAnswer = "KeepAlways"
Mipt.CryptoContextBehavior = "ResetNever"
Top
Recommended SRTP Preferences for Oracle SBC
Mipt.CryptoModeWhenSendingOffer = "RegenerateAlways"
Mipt.CryptoModeWhenSendingAnswer = "RegenerateAlways"
Mipt.CryptoContextBehavior = "ResetAlways"
Top
Online Help
If you are not familiar with the meaning of the fields and buttons, click Show Help, located at the upper right corner of the Web page. When activated, the fields and buttons that offer online help will change to green and if you hover over them, the description will bedisplayed.
Top
DGW Documentation
Mediatrix devices are supplied with an exhaustive set of documentation.
Mediatrix user documentation is available on the Media5 Documentation Portal.
- Release notes: Generated at each GA release, this document includes the known and solved issues of the software. It also outlines the changes and the new features the release includes.
- Configuration notes: These documents are created to facilitate the configuration of a specific use case. They address a configuration aspect we consider that most users will need to perform. However, in some cases, a configuration note is created after receiving a question from a customer. They provide standard step-by-step procedures detailing the values of the parameters to use. They provide a means of validation and present some conceptual information. The configuration notes are specifically created to guide the user through an aspect of the configuration.
- Technical bulletins: These documents are created to facilitate the configuration of a specific technical action, such as performing a firmware upgrade.
- Hardware installation guide: They provide the detailed procedure on how to safely and adequately install the unit. It provides information on card installation, cable connections, and how to access for the first time the Management interface.
- User guide: The user guide explains how to customise to your needs the configuration of the unit. Although this document is task oriented, it provides conceptual information to help the user understand the purpose and impact of each task. The User Guide will provide information such as where and how TR-069 can be configured in the Management Interface, how to set firewalls, or how to use the CLI to configure parameters that are not available in the Management Interface.
- Reference guide: This exhaustive document has been created for advanced users. It includes a description of all the parameters used by all the services of the Mediatrix units. You will find, for example, scripts to configure a specific parameter, notification messages sent by a service, or an action description used to create Rulesets. This document includes reference information such as a dictionary, and it does not include any step-by-step procedures.
Top
Copyright Notice
Copyright © 2023 Media5 Corporation.
This document contains information that is proprietary to Media5 Corporation.
Media5 Corporation reserves all rights to this document as well as to the Intellectual Property of the document and the technology and know-how that it includes and represents.
This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever, without written prior approval by Media5 Corporation.
Media5 Corporation reserves the right to revise this publication and make changes at any time and without the obligation to notify any person and/or entity of such revisions and/or changes.