Skip to content
View NormB's full-sized avatar
🎯
Focusing
🎯
Focusing

Organizations

@OpenSIPS

Block or report NormB

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
NormB/README.md

Norm Brandinger

Telecom systems engineer

SIP proxies, media relays, PBXs and the code that runs them. OpenSIPS, Kamailio, rtpengine, Asterisk, FreeSWITCH, etc.

OpenSIPS Kamailio FreeSWITCH Asterisk rtpengine Rust C

I build and debug the parts of telephony that carry actual calls: SIP proxies, media relays, and the tooling around them. I have been contributing upstream since 2006. Most of my work is on OpenSIPS, Kamailio, rtpengine, FreeSWITCH and Asterisk — upstream where it belongs, and in my own tools where nothing suitable existed.

I also run this stack in production, which is where most of the bugs come from: OpenSER since 2006, then OpenSIPS and Kamailio, and FreeSWITCH since 2008.

20 years contributing upstream (since 2006) · 82 merged pull requests across 11 upstream projects · 25 upstream bug reports, 5 of them crashes · 82,000+ Open VSX downloads of my two language servers · 12 conference talks, 2007–2026


Building

Project What it is
sipnab · sipnab.com SIP & RTP capture, analysis and security warnings. One binary, no database. TLS offers the post-quantum hybrid key exchange X25519MLKEM768 first by default, with an opt-in CNSA 2.0 profile (--tls-profile cnsa2). stars release
vcon-server · vcon-server.com Stores IETF vCons encrypted at rest — AES-256-GCM, a key per version wrapped by tenant and master keys — with tenants, retention, legal holds and audit logs kept as hash trees with signed checkpoints. TLS offers the post-quantum hybrid key exchange X25519MLKEM768 first by default, with an opt-in CNSA 2.0 profile (tls.profile = "cnsa2"). 0.4.22 released, not yet for production. stars
opensips-lsp · Open VSX Language server for OpenSIPS routing scripts — completion, diagnostics, go-to-definition, rename across every use, outline and folding. Its tree-sitter grammar parses every .cfg shipped in the OpenSIPS 3.5.9, 3.6.9 and 4.0.2 trees, checked in CI. downloads
kamailio-lsp · Open VSX The same, for Kamailio configuration files. Follows the #!ifdef preprocessor as Kamailio does; its grammar parses every .cfg shipped in the Kamailio 5.8.8, 6.0.8 and 6.1.5 trees, checked in CI. downloads
vcon-datasets-core04 Three public vcon-dev vCon datasets (16,799 containers) corrected to draft-ietf-vcon-vcon-core-04 by additive, rule-checked edits, reproducibly, with the open items listed. Before: 0 passed the core-04 schema; after: all 8,503 Supreme Court and 4,527 of 8,181 IETF containers. Fixes offered upstream as three pull requests: IETF merged; Supreme Court and Newport open.
devstack-core Local VoIP development infrastructure — Docker, Postgres, MongoDB, RabbitMQ, Prometheus, Grafana. stars
voip-stack Production-shaped OpenSIPS + Asterisk + rtpengine deployment. stars
opensips-experiment An OpenSIPS module written in Rust — the experiment behind the 2023 Summit talk.
homebrew-tap brew install NormB/tap/sipnab
mod_mosquitto FreeSWITCH ↔ MQTT event handler. Lives upstream under the FreeSWITCH org. stars

Merged upstream. NATS support for OpenSIPS was merged on 20 November 2026 in OpenSIPS/opensips#4442: five community-contributed modules under modules-contrib/ — nats, event_nats, cachedb_nats, cachedb_nats_fts and nats_consumer.

Not yet upstream. One branch lives in my OpenSIPS fork while it matures:

Branch What it adds
feature/rust A Rust module SDK for OpenSIPS 4.0 (rust) plus six modules written against it — ACL, concurrent-call limits, credit check, HTTP webhooks, REFER handling and session timers. 106 commits.

Upstream

Two decades of features and fixes that landed in other people's projects, oldest first.

When What
2006 The OpenSIPS PostgreSQL driver — rewrote db_postgres in the OpenSER days, adding connection pooling and fetch support. Third-ranked contributor to the module in OpenSIPS' own documentation — DevScore 58, 1,501 lines added, active Aug 2006 – Oct 2021 (module docs).
2008 Keep-alive NOTIFY handling in FreeSWITCH — mod_sofia now answers keep-alive NOTIFY requests with 200 OK. Committed by Michael Jerris as SVN r7482 ("Thanks Norm").
2008–2009 FreeRADIUS patches for CDRTool — FreeRADIUS could not account for failed SIP sessions. Five patches adding acct type Failed (15) and MySQL stored-procedure support, carried in AG Projects' CDRTool as contrib/freeradius-brandinger/ and referenced from its install guide.
2020 mod_mosquitto — FreeSWITCH event handler bridging FreeSWITCH events to an MQTT broker. Written from scratch; now maintained upstream under the FreeSWITCH org.
2021 TLS for PostgreSQL in OpenSIPS — db_postgres use_tls, letting any OpenSIPS module reach Postgres over TLS via a tls_mgm client domain.
2024 Reported asterisk/asterisk#651 — MySQL 8.3 turned qualify into a reserved word, breaking Asterisk's alembic table scripts; fixed upstream.
2024–2025 Networking enhancements across four OpenSIPS modules — dispatcher ping_sock partition parameter, MySQL Unix-socket connections, Redis MOVED redirection, and per-socket rtpengine command routing.
2026 Kamailio fixes — tm transaction leak on drop, dialog race in link_dlg_profile, swapped comparison in core atomics, and a NULL deref in rtpengine DTMF handling.
2026 Eight merged into tfps, SipPulse's VoIP fraud prevention system, in Rust — five fixes: observe-only mode silently dropped its own verdicts, a schema upgrade deleted the block_log audit table, the APIBAN feed counted addresses the kernel never blocked, store writes discarded their own failures, and tfps_ctl ban could block the host it defends; tfps_ctl --json on every subcommand, a machine-readable contract beside the human columns so tools consume it without screen-scraping; and a record of who placed each manual ban and why, and of every manual unban; and capture of outgoing frames, so a softswitch on the same host is seen answering.
2026 Per-key TTL in the NATS C client — brought nats.c KV to parity with nats.go's per-key TTL and limit markers, plus a follow-up preserving the create-path error through the marker-aware retry. Both shipped in nats.c v3.14.0.
2026 A reusable rtpengine task for SIPssert, OpenSIPS' SIP testing framework — scenarios start an rtpengine media proxy as a first-class task, healthy once its ng control socket is bound, instead of an inline shell block.
2026 NATS for OpenSIPS — five modules under modules-contrib/: nats (the NATS connection the others share), event_nats (a NATS transport for the Event Interface), cachedb_nats (CacheDB on JetStream key-value stores), cachedb_nats_fts (a secondary index for JSON documents stored through it) and nats_consumer (OpenSIPS as a pull-mode JetStream consumer). Merged 20 November 2026, followed by a fix for #4501, where cachedb_nats stopped rtpengine loaded after it from forking its notification receiver.
Merged pull request counts by project — every number links to the search that produces it
Project Merged
OpenSIPS/opensips 53
sippulse/tfps 8
freeswitch/mod_mosquitto 5
kamailio/kamailio 4
signalwire/freeswitch 4
nats-io/nats.c 2
valkey-io/valkey-admin 1
signalwire/SignaLWire-ML-examples 2
OpenSIPS/sipssert-opensips-tests 1
OpenSIPS/SIPssert 1
vcon-dev/ietf-meeting-vcons 1

Plus 6 merged into employer forks of projects listed above, kept separate because a fork is not a distinct upstream project:

Fork Forked from Merged
Vocalocity/rtpcluster sippy/rtp_cluster 4
Vonage/h2o-opensips OpenSIPS/opensips 2

By year: 9 merged in 2024 · 13 in 2025 · 44 in 2026 — the period of the AI-assisted development described in the 2026 Summit talk. The method is not delegation: I hold the design and the judgment, and use AI for the heavy lifting — correlating days of logs across dozens of servers into diagnosable patterns, and building the analysis scripts that follow.

Counts hide the interesting part. The OpenSIPS work alone spans at least a dozen modules — cachedb_redis, dialog, tm, janus, rtpengine, b2b_entities, pua_dialoginfo, stir_shaken, sockets_mgm, dispatcher, event_rabbitmq, cfgutils, tls_openssl — and is mostly memory-safety and concurrency work. A sample:

Reported

Twenty-five defects found while running this stack in production or building on it, and reported upstream, with reproductions. Five were crashes:

Project Reported Notable
OpenSIPS 16 segfault in b2b_logic/bridging.c · segfault during startup · crash when an rtpengine is down at startup · crash on an invalid TCP request
OpenSIPS CLI 1 installation instructions for Python 3
HOMER 2 PostgreSQL startup failures under docker-compose
rtpengine 1 no response to delete after play media
Asterisk 1 MySQL 8.3 reserved word breaks the alembic table scripts
wolfCLU 4 double free in wolfssl ca -config · ML-DSA keys in ca, req and subjectKeyIdentifier = hash

Currently

  • sipnab — deepening protocol coverage (SIP, SDP, RTP/RTCP, STUN/TURN, TLS/DTLS) and the MCP server that exposes it to agents, now also served over HTTP beside the TUI; vCon output to draft-ietf-vcon-vcon-core-04, with --vcon-fetch to read stored vCons back; step-by-step guides for running it beside OpenSIPS, Kamailio, Asterisk, FreeSWITCH, rtpengine, rtpproxy, Homer, Prometheus, fail2ban, a vCon server and TFPS, every step run on Debian 13 and Ubuntu 24.04; and a code-quality program that removes every lint suppression by redesigning the code it hid, and converts the tests to return their errors rather than panic; TLS now offers the post-quantum hybrid key exchange X25519MLKEM768 first by default, with an opt-in CNSA 2.0 profile
  • vcon-server — the store, the HTTP API, tenants and their keys, retention and the purge sweep, legal holds, the audit logs, the command line, key rotation and check are built and tested, with S3 and Parquet storage; TLS offers the post-quantum hybrid key exchange X25519MLKEM768 first by default, with an opt-in CNSA 2.0 profile; 0.4.22 is released, not yet for production; an optional PostgreSQL catalog is in preview
  • opensips-lsp / kamailio-lsp — bringing real editor tooling to SIP routing scripts, which have never had any; the October-to-December releases (now 0.28.9 / 0.22.7) make scanning linear in document size, keep answering requests while a config check runs, add outline, folding and selection by structure, and read $(...) variables the way the real parsers do, proven against OpenSIPS 4.0.2 and Kamailio 6.1.5; kamailio-lsp resolves includes in the order Kamailio opens them; built-in hovers now link each module parameter and function to its upstream documentation page
  • vCon — testing sipnab's vCon schema validator against the public vcon-dev datasets, and correcting those datasets to core-04 (vcon-datasets-core04), with the corrections offered back upstream, fake-vcons included (#3); and an open issue on the core draft, where content_hash cannot be computed for a recording referenced by a streaming-service page
  • OpenSIPS NATS modules — five modules-contrib modules, merged upstream on 20 November 2026 in #4442, with a follow-up fix in #4510
  • OpenSIPS upstream — reproducing and fixing memory-safety and concurrency bugs (use-after-free, races, leaks) across the dialog, tm, Redis and media modules, and writing regression tests so they stay fixed — including in OpenSIPS' own SIPssert test framework
  • devstack-core — making a full VoIP stack reproducible on an ARM laptop

Talks

Speaking on SIP and real-time media since 2007, mostly at the OpenSIPS Summit and ClueCon.

Year Talk Venue
2026 OpenSIPS Development with an AI Apprentice: Core Patches, Redis Clustering, and a Rust Module — recording OpenSIPS Summit, Bucharest
2025 Networking Enhancements to the Dispatcher, MySQL, Redis & rtpengine modules — slides OpenSIPS Summit, Amsterdam
2024 Foundations of building a highly available OpenSIPS / rtpengine system — slides OpenSIPS Summit, Valencia
2023 An experimental module written in Rust — slides OpenSIPS Summit, Houston
2021 How OpenSIPS solved a tricky SIPREC problem — recording · slides · writeup OpenSIPS Summit, Distributed
2020 mod_mosquitto — building a FreeSWITCH event_handler module — slides · notes ClueCon
Earlier talks, 2007–2018
Year Talk Venue
2018 Mid-registrar and registration redirection — slides OpenSIPS Summit, Amsterdam
2017 OpenSIPS & Vonage - a great call OpenSIPS Summit, Amsterdam
2014 Advanced SIP routing with FreeSWITCH modules — slides · notes ClueCon
2014 Advanced SIP routing with OpenSIPS modules — slides (archived) OpenSIPS Summit, Chicago
2013 High availability with OpenSIPS — slides (archived) OpenSIPS Summit, Chicago
2007 OpenSER and GOES — BOF session — slides · notes VON, Boston

Technical reviewer for FreeSWITCH 1.2 (Packt Publishing, second edition, May 2013, ISBN 978-1-78216-100-4).

Member of the OpenSIPS Foundation, listed on its member page (last updated December 2014).

Tech & focus

SIP stacks     OpenSIPS · Kamailio · Asterisk · FreeSWITCH
Media          rtpengine · RTP/RTCP · SRTP · SDP · codecs
Languages      Rust · C · Shell · Python
Data & bus     Valkey/Redis · PostgreSQL · MongoDB · RabbitMQ · NATS
Ops            Docker · Prometheus · Grafana · HAProxy · libpcap
Testing        SIPp · tcpdump/pcap analysis · fault reproduction

Contact

sipnab.com · n.brandinger@gmail.com · linkedin.com/in/nbrandinger

For anything about a specific project, an issue on that repository reaches me fastest.

Pinned Loading

  1. sipnab sipnab Public

    SIP & RTP capture and analysis: see why a VoIP call failed. Reads live traffic, pcap files or HEP from OpenSIPS, Kamailio and Asterisk; shows the call flow, audio quality (MOS) and security warning…

    Rust 42 5

  2. opensips-lsp opensips-lsp Public

    Language server for OpenSIPS routing scripts (opensips.cfg): completion, diagnostics, go-to-definition, rename, outline and folding. Its tree-sitter grammar parses every .cfg shipped in the OpenSIP…

    Rust 2 1

  3. kamailio-lsp kamailio-lsp Public

    Language server for Kamailio configuration files (kamailio.cfg): completion, diagnostics, go-to-definition, rename, outline and folding. Follows the #!ifdef preprocessor as Kamailio does. VS Code e…

    Rust 1 1

  4. voip-stack voip-stack Public

    Production-ready VoIP infrastructure with OpenSIPS, Asterisk, and RTPEngine for Apple Silicon

    Shell 2

  5. vcon-datasets-core04 vcon-datasets-core04 Public

    vcon-dev vCon datasets corrected to draft-ietf-vcon-vcon-core-04, reproducibly, with the open items listed

    Python