Browse
62 articles
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.
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.
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.
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 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.
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.
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.
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.
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.
Implementing STIR/SHAKEN (RFC 8224/8225) Authentication and Verification in SIP Carrier Networks
This guide provides a comprehensive technical overview of implementing STIR/SHAKEN in SIP carrier networks. Readers will learn the core mechanisms behind RFC 8224 SIP Identity headers, RFC 8225 PASSporT cryptographic tokens, and attestation level determination. Additionally, this guide covers the operational flow for Authentication Services (AS) and Verification Services (VS) during call traversal.
Audio Compression and Codec Selection in FreePBX
Learn how **audio compression** works in VoIP and how codec selection impacts call quality, bandwidth consumption, and server performance in FreePBX. This guide explains the differences between narrowband, wideband, and adaptive codecs like **G.711**, **G.729**, **G.722**, and **Opus**. You will also learn how to configure codec priorities and minimize transcoding CPU overhead on your system.
SIP CANCEL vs. BYE Workflows: Handling Race Conditions and Call Teardown Edge Cases
Understanding the core differences between SIP CANCEL and BYE requests is crucial for building resilient VoIP networks. While CANCEL targets an in-flight INVITE transaction before final response, BYE terminates an established early or confirmed dialog. This guide covers transaction-level mechanics, common race conditions defined in RFC 5407, parallel forking behaviors, and proper handling of teardown edge cases in Proxies and B2BUAs.
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.
Random call drops at 15 minutes on Teams Direct Routing
Calls disconnect at almost exactly 15 minutes when routed through an on-prem SBC.
3CX Call Center Queue Strategies: Implementing Skill-Based Routing and Queue Callbacks
Learn how to optimize call distribution and enhance customer experience using **3CX Enterprise** queue management features. This guide covers the technical architecture and step-by-step implementation of **Skill-Based Routing (SBR)** and automated **Queue Callbacks**, helping reduce abandon rates and maintain strict Service Level Agreements (SLAs).
The SIP INFO Method (RFC 6086): Application-Specific Mid-Call Signaling Workflows
This guide explains the SIP INFO method as standardized in RFC 6086 for carrying application-specific mid-call signaling payloads without altering session state or media streams. Readers will learn the historical context separating RFC 2976 from RFC 6086, how Info Packages are negotiated during dialog setup, and how to structure mid-dialog requests for DTMF, media control, and custom application workflows.
Understanding P-Asserted-Identity (PAI) and Remote-Party-ID (RPID) for Caller ID Privacy and Trust
This guide details the technical implementation and operational mechanics of P-Asserted-Identity (PAI) and Remote-Party-ID (RPID) headers in SIP networks. You will learn how enterprise voice systems pass authenticated identity across trusted network boundaries while respecting end-user caller ID privacy. The document also compares the RFC 3325 standard against legacy draft specifications and outlines best practices for SBC egress sanitization.
Leveraging the FreePBX Dynamic Routes Module for External SQL Database Call Routing
Learn how to use the **FreePBX Dynamic Routes** module to execute live SQL queries against external databases during call processing. This guide covers architecture, ODBC driver setup, SQL query design, and mapping database return values to custom PBX destinations. Implementing dynamic database lookups enables real-time decisions such as VIP routing, account status checks, and language preference matching.
FreePBX High Availability with DRBD: Architecture and Storage Replication
This guide details how **DRBD (Distributed Replicated Block Device)** powers block-level storage replication in **FreePBX High Availability** deployments. Readers will explore the architectural foundation of network-based RAID-1, synchronous replication protocols, and integration with cluster resource managers like Pacemaker and Corosync. Mastering DRBD mechanics ensures robust VoIP service failover, data integrity across database instances, and reliable state maintenance for critical telemetry.
Architecting FreePBX High Availability Clusters Using Pacemaker
Learn how to design, configure, and maintain an enterprise-grade **FreePBX High Availability (HA)** cluster using **Pacemaker**, **Corosync**, and **DRBD**. This guide covers active-passive failover architecture, shared storage replication, cluster constraints, STONITH fencing, and SIP endpoint persistence strategies to ensure maximum uptime for critical voice services.
SIP Outbound Framework (RFC 5626): Maintaining Persistent Connections Across NAT and Firewalls
This guide explains the RFC 5626 SIP Outbound framework, which solves the problem of routing inbound SIP requests to User Agents located behind NATs and stateful firewalls. Readers will learn the core concepts of Outbound flows, instance identifiers, flow tokens, and keep-alive mechanisms. Understanding these principles enables network architects to design resilient SIP registration infrastructures without relying on complex media/signaling relay workarounds.
Understanding the SIP NOTIFY Method and Event Notification Framework
The SIP NOTIFY method is a fundamental component of the Session Initiation Protocol event notification framework defined in RFC 6665. This guide explains how NOTIFY messages convey asynchronous state changes, such as presence, voicemail updates, busy lamp field (BLF) status, and call transfer updates. Readers will learn the mechanics of event subscriptions, message headers, body formats, and best practices for handling notifications in SIP environments.
SIP Event Notification Framework (RFC 6665): Architecture of SUBSCRIBE
This guide explains the architecture of the SIP Event Notification Framework defined in RFC 6665, which obsoleted RFC 3265. Readers will learn how the SUBSCRIBE and NOTIFY methods establish stateful asynchronous relationships, how event packages structure state data, and how subscription lifecycles are maintained across SIP dialogs.
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.
