Browse

25 articles

Media, Codecs & Audio QualityVerified/ReproducedFreePBX · 16.0

One-way audio on SIP calls behind NAT

Inbound SIP calls connect but only one party hears audio when the PBX sits behind a NAT router.

last verified 2026-06-30
Endpoints & ProvisioningVerified articleGeneric SIP · N/A

Secure Zero-Touch Provisioning for IP Endpoint Fleets via HTTPS and DHCP Option 66

This guide explains how to design and deploy a secure Zero-Touch Provisioning (ZTP) architecture for large IP endpoint fleets using DHCP options and HTTPS transport. Readers will learn the mechanics of the endpoint boot sequence, DHCP Option 66/160 configuration, web server setup with Mutual TLS (mTLS) device authentication, and best practices for protecting sensitive SIP credentials in transit.

Networking & QoSVerified articleGeneric SIP · N/A

Implementing DSCP Marking and QoS Policies for Voice Traffic on Enterprise Firewalls

This guide explains how to design, mark, and enforce Quality of Service (QoS) policies for SIP signaling and RTP media streams on enterprise firewalls. You will learn how to identify real-time voice traffic, map DiffServ Code Points (DSCP), configure egress queuing, and prevent bufferbloat on congested WAN links. Master these techniques to ensure crisp audio quality and reliable call control across your network infrastructure.

SIP Protocols & StandardsVerified articleGeneric SIP · RFC 4028

SIP Session Timers (RFC 4028) Deep Dive: Preventing Ghost Calls and Dead Leg Removal

RFC 4028 defines an essential keepalive mechanism for active SIP dialogs using periodic re-INVITE or UPDATE transactions. Without session timers, unexpected network failures, unhandled NAT drops, or silent endpoint crashes leave orphaned calls open indefinitely on carriers, SBCs, and media servers. This guide explores the negotiation mechanics, header rules, refresher assignment logic, and operational best practices required to ensure robust dead leg removal across VoIP networks.

Security & FraudVerified articleSession Border Controller · Generic Standard Implementation

Configuring TLS and SRTP for Secure SIP Trunking on Session Border Controllers

This guide details the architectural and step-by-step configuration required to enforce Transport Layer Security (TLS) for SIP signaling and Secure Real-time Transport Protocol (SRTP) for media on Session Border Controllers. Readers will learn how Public Key Infrastructure (PKI) integrates into SBC signaling interfaces, how Mutual TLS (mTLS) handshakes are established with ITSPs, and how SDP crypto attributes are negotiated for end-to-end media encryption.

Call Routing & Load BalancingVerified articleKamailio · 5.x

Kamailio as a Stateful Proxy and Load Balancer: Dispatcher Module Configuration

This guide explains how to configure Kamailio as a stateful SIP proxy and high-performance load balancer using the TM (Transaction Management) and Dispatcher modules. You will learn how to define destination sets, select load balancing algorithms, handle automatic downstream failover, and manage destination health checks. By the end of this guide, you will be able to deploy a robust entry point for distributing SIP traffic across media servers or PSTN gateways.

NAT & Firewall TraversalVerified articleIETF Standards · RFC 5389 / RFC 8489

Understanding STUN (Session Traversal Utilities for NAT) in VoIP Architecture

This guide provides a comprehensive technical overview of Session Traversal Utilities for NAT (STUN) and its role in real-time IP communications. Readers will learn how STUN enables endpoints behind Network Address Translation (NAT) to discover their public IP address and port mappings. The article details STUN packet exchange mechanisms, NAT classification handling, integration into SIP/SDP workflows, and its structural place within ICE frameworks.

SIP Protocols & StandardsVerified articleIETF Standards · RFC 3262

SIP PRACK and 100rel (RFC 3262): Reliable Provisional Responses in PSTN Interworking

This guide explains the SIP PRACK (Provisional Response Acknowledgement) mechanism and the 100rel extension defined in RFC 3262. Readers will learn why standard SIP provisional responses are unreliable over UDP, how PRACK guarantees delivery for early media and SDP negotiation, and how PRACK enables seamless interworking with SS7/ISDN PSTN networks.

Call Routing & Load BalancingSingle-TestMicrosoft Teams · Direct Routing

Random call drops at 15 minutes on Teams Direct Routing

Calls disconnect at almost exactly 15 minutes when routed through an on-prem SBC.

last verified 2026-06-18
NAT & Firewall TraversalVerified articleWebRTC · RFC 5766 / RFC 8656

Deep Dive into TURN: Traversal Using Relays around NAT

This guide provides a comprehensive overview of TURN (Traversal Using Relays around NAT), the critical media relay protocol used when direct peer-to-peer connectivity fails. You will learn about TURN allocation lifecycles, data transport optimization via ChannelBind, integration with ICE, and best practices for securing production deployments. Practical configuration examples using Coturn demonstrate how to implement TURN in real-world VoIP and WebRTC environments.

SIP Protocols & StandardsVerified articleSession Border Controller · N/A

Understanding T.38 Fax Relay vs G.711 Pass-Through over SIP Trunks

This guide explores the underlying mechanics of transmitting faxes over IP networks using G.711 Pass-Through and T.38 Fax Relay. You will learn how legacy T.30 analog modem signals are handled by IP gateways, the impact of packet loss and jitter on each protocol, and how SIP SDP re-INVITEs manage fax session setup. Understanding these differences allows network engineers to design reliable FoIP solutions over modern SIP trunks.

Media, Codecs & Audio QualityVerified articleFreeSWITCH · 1.10.x

Opus Codec Adaptation and Dynamic Bandwidth Management in FreeSWITCH

Learn how FreeSWITCH leverages the flexible Opus audio codec to dynamically adapt audio parameters in response to real-time network conditions. This guide explores the architecture of mod_opus, SDP parameter negotiation, Forward Error Correction (FEC), Discontinuous Transmission (DTX), and fine-tuning FreeSWITCH for optimal voice quality across unstable IP networks.

SIP Protocols & StandardsCommunity-Reported-UnverifiedAsterisk · Asterisk 18+ / FreeSWITCH 1.10+

Troubleshooting SIP 488 Not Acceptable Here Codec Mismatch Errors

Inbound or outbound SIP calls fail immediately during session setup with a '488 Not Acceptable Here' status code due to incompatible SDP media attributes, codec list mismatch, or mismatched ptime settings between the calling and called endpoints.

last verified 2026-07-27
SIP Protocols & StandardsVerified articleSession Border Controller · N/A

Understanding DTMF Transport Mechanisms: Inband Audio and Out-of-Band Methods

This guide explores Dual-Tone Multi-Frequency (DTMF) signaling transport methods in Voice over IP (VoIP) networks, focusing on Inband Audio and comparing it to RFC 4733 (formerly RFC 2833) dynamic RTP payloads and SIP INFO. Readers will learn the underlying mechanics of digit transmission, the impact of lossy audio compression codecs on inband tones, and how media gateways and Session Border Controllers (SBCs) handle DTMF interworking.

Media, Codecs & Audio QualityCommunity-Reported-UnverifiedWireshark · 3.x / 4.x

Diagnosing High RTP Jitter and Out-of-Order Packets Using Wireshark

Users report degraded voice quality, robotic audio, speech clipping, or audio drops during active VoIP calls. Packet captures reveal high RTP jitter (>30ms) and out-of-order packet delivery causing jitter buffer underruns and overruns on receiving endpoints.

last verified 2026-07-29
SIP Protocols & StandardsVerified articleGeneric SIP · RFC 3261 / RFC 4566

Understanding the SIP INVITE Method: Core Call Setup and SDP Offer/Answer

The SIP INVITE request is the cornerstone method of the Session Initiation Protocol used to establish, modify, or re-negotiate multimedia communications. This guide explains the structure of a SIP INVITE message, its role in the SDP offer/answer model, the transaction lifecycle, and in-dialog re-INVITE operations. Engineering teams will gain a clear understanding of how INVITE requests govern call setup across modern VoIP networks.

Concepts & ArchitectureVerified articleGeneric SIP · N/A

Understanding Voice over IP (VoIP): Architecture, Protocols, and Fundamentals

This guide provides a foundational overview of Voice over Internet Protocol (VoIP) technology, explaining how real-time voice communications are transmitted over IP networks. Readers will learn about core VoIP network components, the separation of signaling and media planes, audio codec choices, and key challenges such as NAT traversal and QoS.

Media, Codecs & Audio QualityCommunity-Reported-UnverifiedAsterisk · Asterisk 18+, FreeSWITCH 1.10+, Kamailio 5.x

Resolving DTMF Interoperability Failures: RFC 2833 / RFC 4733

Inbound or outbound DTMF digits are ignored or duplicated by IVR systems and remote endpoints due to dynamic payload type mismatches, missing SDP telephone-event negotiation, or dual-transmission (RFC 2833 combined with in-band audio tones) across SIP trunks and Session Border Controllers (SBCs).

last verified 2026-07-29
Carrier & PeeringCommunity-Reported-UnverifiedKamailio · 5.7.x

Troubleshooting SIP 408 Request Timeout Errors Across Carrier Peering Links

Outbound SIP INVITE requests sent across carrier peering interconnects fail with 'SIP 408 Request Timeout'. The local Session Border Controller (SBC) repeatedly retransmits the INVITE without receiving a 100 Trying or 180 Ringing response from the carrier endpoint, resulting in call setup failures and high Post-Dial Delay (PDD).

last verified 2026-07-29
SIP Protocols & StandardsCommunity-Reported-UnverifiedAsterisk · 20.5.0

Fixing SIP 403 Forbidden Errors During Outbound Carrier Authentication

Outbound INVITE requests sent to a SIP carrier trunk are rejected with a '403 Forbidden' response during or immediately following digest authentication challenge handling.

last verified 2026-07-27
NAT & Firewall TraversalCommunity-Reported-UnverifiedKamailio · Kamailio 5.x / Asterisk 20.x

Troubleshooting SIP Registration Failures Caused by Aggressive Symmetric NAT Timers

SIP endpoints located behind routers with aggressive Symmetric NAT UDP aging timers successfully register initially but become unreachable for inbound INVITE and OPTIONS requests after 30 to 60 seconds of inactivity.

last verified 2026-07-29
SIP Protocols & StandardsVerified articleGeneric SIP · RFC 3261 / RFC 4028

Understanding In-Dialog Re-INVITE Requests in SIP

This guide provides a comprehensive technical overview of in-dialog re-INVITE requests within the Session Initiation Protocol (SIP). Readers will learn how re-INVITEs alter established dialog states, manage SDP media renegotiation, handle SIP glare scenarios, and execute common VoIP features such as call hold, session keep-alives, and T.38 fax switchover.

Security & FraudVerified articleWireshark · Wireshark 4.x / OpenSSL 3.x

Capturing and Decrypting SIP TLS Traffic on Port 5061 for VoIP Troubleshooting

Troubleshooting Secure SIP (SIPS) issues requires visibility into both the TLS handshake mechanics and the underlying SIP payload. This guide explains how to capture encrypted traffic on TCP port 5061 using command-line utilities and decrypt the payloads within Wireshark. You will learn the distinctions between static RSA decryption and Perfect Forward Secrecy (PFS), alongside practical steps to analyze handshake failures and decrypted SIP signaling.

SIP Protocols & StandardsVerified articleSession Border Controller · RFC 3261 / RFC 3264

Demystifying SIP Early Offer vs. Late Offer: Architecture and Signaling Workflows

This guide explains the fundamental differences between Early Offer (EO) and Late Offer (LO) media negotiation in Session Initiation Protocol (SIP). You will learn how the RFC 3264 Offer/Answer model functions under both approaches, how message flows differ during call setup, and how Session Border Controllers (SBCs) handle interworking between the two models.