Upgrade Kamailio from v4.4.x to v5.0.0

The page contains the details about the changes that were made to old components during the development of v5.0.0 compared with what existed in v4.4.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v4.4.x to run with Kamailio devel.

Previous Stable Release

If you look for the guidelines to upgrade to previous stable release, see:

Tools

kamctl

By default, kamctl uses now JSONRPC protocol over FIFO file, instead of the old MI protocol. The commands are more or less the same, but the output is now in JSON format, incompatible with the old output.

Config Snippets

This section collects configuration file snippets that can help migrating to v5.0.

Replace MI With RPC

The default configuration file for v4.4 has following snippets using MI components: