CallMeter Docs

Media Security Overview

Compare CallMeter encryption modes — RTCP-MUX, SDES-SRTP, SIP over TLS, DTLS-SRTP — and choose the right one for your test.

CallMeter supports multiple security mechanisms for SIP signaling and media streams. This section covers each option, when to use it, and how to configure it.

Signaling vs Media Encryption

SIP communication has two separate planes that can be encrypted independently:

PlaneWhat It ProtectsEncryption Method
SignalingSIP messages (INVITE, REGISTER, etc.)TLS on the SIP transport
MediaRTP audio and video streamsSRTP via SDES or DTLS key exchange

You can enable either or both depending on your security requirements. TLS protects credentials and call setup metadata. SRTP protects the actual audio and video content.

Encryption Modes at a Glance

ModeKey ExchangeKeys Visible to IntermediariesCertificate RequiredBest For
No encryptionN/AN/ANoInternal lab testing, legacy systems
SDES-SRTPSDP a=crypto lines (RFC 4568)Yes — keys are in the SDPNoSIP trunks, SBCs, legacy encrypted systems
DTLS-SRTPDTLS handshake on media port (RFC 5764)No — keys derived from handshakeAuto-generatedModern systems, WebRTC gateways
Dual OfferBoth SDES + DTLS in same SDPDepends on answerer's choiceAuto-generatedMaximum compatibility
SIP over TLSTLS on signaling transportN/A (signaling only)Upload PEM or use system CACompliance, credential protection

SDP Profile Mapping

The RTP profile in the SDP m= line changes based on encryption and feedback settings:

EncryptionNo FeedbackWith Feedback (AVPF)
NoneRTP/AVPRTP/AVPF
SDES-SRTPRTP/SAVPRTP/SAVPF
DTLS-SRTPUDP/TLS/RTP/SAVPUDP/TLS/RTP/SAVPF

Choosing the Right Mode

ScenarioRecommended Configuration
Internal lab with no security requirementsNo encryption
Testing a SIP trunk provider that requires SRTPSDES-SRTP with Required policy
Enterprise PBX with compliance requirementsSIP over TLS + SDES-SRTP
WebRTC gateway interoperability testingDTLS-SRTP
Unknown remote capabilitiesDual Offer (SDES + DTLS)
Testing encryption performance impactRun identical tests with and without encryption, compare metrics

RTCP-MUX is independent of encryption

RTCP-MUX (single-port RTP/RTCP multiplexing) is a transport optimization, not an encryption feature. It can be enabled with or without any encryption mode. However, DTLS-SRTP typically requires RTCP-MUX because the DTLS handshake runs on the same port as RTP.

Guides

On this page