From Kannel to Kamex: My Journey Modernizing an SMS Gateway

Publish date: 2025-07-05

💾 Source Code & Downloads


Kannel is an open-source SMS gateway - HTTP, SMPP, the works. Been around since the early 2000s. Originally a WAP gateway too, but WAP is dead. Time to evolve.

Why Fork Kannel?

Kannel 1.4.5 simply won’t build on modern distributions like Rocky Linux 10. Even after fixing build issues, it kept crashing with Redis DLR storage. The only distro still shipping Kannel packages is Debian 12 - with ancient libraries, barely holding together.

As a Rocky Linux shop, I wasn’t thrilled about running Debian servers just for SMS. So I grabbed an SVN snapshot (has Redis fixes), stripped out 20 years of cruft, and made it work. Here’s what got nuked:

Removed:

Fixed:

What’s New

Benchmarks

Intel i5-13500:

TestThroughputLatency
HTTP API~14,000 req/sec-
SMS/SMPP~16,000 msg/sec80ms avg

Kamex powers Sender.ge - millions of SMS in production with Valkey for DLR storage.


This was a fun project and I’ll keep maintaining it. If you’re thinking “why not rewrite in Rust or Go?” - Kamex keeps full Kannel config compatibility. Migration is a piece of cake - just drop in your existing config and go.

Check kamex.dev for quickstart guides. Issues? GitHub.

Reach out on X @vaska94.