# Kamailio

Kamailio is a free, open source SIP (Session Initiation Protocol) signaling server that routes call, video, and instant-messaging traffic at scale, handling thousands of call setups per second.

Canonical page: https://ourlocalhost.com/app/8549/kamailio

## Description

Kamailio is a free, open source SIP (Session Initiation Protocol) signaling server that routes call, video, and instant-messaging traffic at scale, handling thousands of call setups per second. It runs as a SIP proxy, load balancer, registrar and location service, edge proxy, or session border controller (SBC) for carriers, operators, and self-hosters building VoIP and real-time communication platforms.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

74/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 1 day ago)
- Popular: 70 (2,998 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 70 (1 GB minimum RAM)
- Security check: 77 (no serious findings, 1 minor, CI, tests, OpenSSF Scorecard 6/10)

## Links

- Official website: https://www.kamailio.org/w/
- GitHub: https://github.com/kamailio/kamailio
- Documentation: https://www.kamailio.org/wiki/

## Common questions

### Which file should a self-hoster back up to preserve Kamailio SIP behavior?

Keep the main settings file safe, usually /etc/kamailio/kamailio.cfg, because it contains the SIP rules that decide how calls and registrations are handled.

### How should TLS be configured so Kamailio can make or accept secure SIP connections?

Start from tls.cfg or tls.cfg.sample and point it to the correct certificate and key files. If those paths are not set, Kamailio may fail to make or accept secure connections.

### Why might push notifications fail after enabling xhttp_pi?

Put pi_framework.xml in the Kamailio config folder and edit it to match your push server. A missing or wrong XML file can stop push notifications from working.

### How can I diagnose registration failures or call routing problems?

Enable logging, read xlog output, and trace transactions to diagnose registration failures and call routing problems.

## Alternatives

- 3CX: 3CX is a software-based, open standards IP PBX that offers complete Unified Communications, out of the box.
- FreePBX: FreePBX is a self-hosted, open-source PBX (Private Branch Exchange) that wraps the Asterisk telephony engine in a web-based management inte…
- FreeSWITCH: FreeSWITCH is an open-source software telephony stack that turns a server, appliance, or small device into a complete voice and video commu…
- FusionPBX: FusionPBX is a web-based PBX that runs as a single-tenant or multi-tenant phone server built on the FreeSWITCH platform.
- openSIPS: OpenSIPS is a high-performance, GPL-licensed, open-source SIP (Session Initiation Protocol) signaling server.

---
Source: Our Local Host (https://ourlocalhost.com/app/8549/kamailio), the self-hosted and open-source app directory.
