This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
install:upgrade:stable-to-devel [2016/12/16 10:53] miconda [Modules] |
install:upgrade:stable-to-devel [2017/09/14 14:46] jih [MySQL Database Structure] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Upgrade Kamailio from v4.4.x to v5.0.0 (devel) ====== | + | ====== Upgrade Kamailio from v5.0.x to v5.1.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. | + | The page contains the details about the changes that were made to old components during the development of v5.1.0 compared with what existed in v5.0.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v5.0.x to run with Kamailio devel. |
===== Previous Stable Release ===== | ===== Previous Stable Release ===== | ||
Line 7: | Line 7: | ||
If you look for the guidelines to upgrade to previous stable release, see: | If you look for the guidelines to upgrade to previous stable release, see: | ||
- | * [[install: | + | * [[install: |
===== Remarks ===== | ===== Remarks ===== | ||
Line 18: | Line 18: | ||
===== Modules ===== | ===== Modules ===== | ||
+ | |||
+ | ==== Removed Modules ==== | ||
+ | |||
==== Renamed Modules ==== | ==== Renamed Modules ==== | ||
- | The module that had a ' | ||
- | * cpl-c => cplc | + | ===== Internal Libraries ===== |
- | * janssonrpc-c | + | |
- | * jsonrpc-c | + | |
- | * jsonrpc-s | + | |
===== Core ===== | ===== Core ===== | ||
Line 36: | Line 37: | ||
==== MySQL Database Structure ==== | ==== MySQL Database Structure ==== | ||
- | Run following SQL statements in MySQL client to upgrade database structure from v4.4 to v5.0: | + | Run following SQL statements in MySQL client to upgrade database structure from v5.0 to v5.1: |
+ | |||
+ | <code sql> | ||
+ | ALTER TABLE lcr_rule ADD COLUMN mt_tvalue VARCHAR(128) DEFAULT NULL AFTER request_uri; | ||
+ | UPDATE version SET table_version=' | ||
+ | </ | ||
<code sql> | <code sql> | ||
- | --table: sca_subscriptions | + | ALTER TABLE location MODIFY contact VARCHAR(512) |
- | ALTER TABLE sca_subscriptions | + | UPDATE version SET table_version=' |
- | 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=" | + | |
</ | </ |