install:upgrade:stable-to-devel
This is an old revision of the document!
Table of Contents
Upgrade Kamailio from v4.4.x to v5.0.0 (devel)
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:
Remarks
Following tokens are used to mark the changes:
- INF - the change doesn't really have any direct impact - no action required in old config
- CPM - the change was used with the new value via explicit parameter in default config file from old releases
- RCM - the change is recommended to be done if you had an explicit different or lower value for this parameter in old config
Modules
Renamed Modules
The module that had a '-' (dash/minus) in the name were renamed to remove it, respectively:
- cpl-c ⇒ cplc
- janssonrpc-c ⇒ jsonrpcc
- jsonrpc-c ⇒ jsonrpcc
- jsonrpc-s ⇒ jsonrpcs
Core
Parameters
Database
MySQL Database Structure
Run following SQL statements in MySQL client to upgrade database structure from v4.4 to v5.0:
--table: sca_subscriptions ALTER TABLE sca_subscriptions ADD COLUMN server_id INTEGER DEFAULT 0 NOT NULL, DROP INDEX sca_expires_idx, ADD INDEX sca_expires_idx (server_id, expires); UPDATE version SET table_version=2 WHERE TABLE_NAME="sca_subscriptions";
install/upgrade/stable-to-devel.1481882026.txt.gz · Last modified: 2016/12/16 09:53 by miconda