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/02/28 12:44] miconda [Database] |
install:upgrade:stable-to-devel [2017/01/10 14:43] miconda [Renamed Modules] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Upgrade Kamailio from v4.3.x to v4.4.0 (devel) ====== | + | ====== 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 v4.4.0 compared with what existed in v4.3.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v4.3.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.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 ===== | ===== 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 19: | Line 19: | ||
===== Modules ===== | ===== Modules ===== | ||
+ | ==== Removed Modules ==== | ||
+ | |||
+ | === mi_datagram === | ||
+ | |||
+ | The **jsonrpcs** module can be used instead to execute RPC commands over datagram sockets (unix socket file, IPv4 or IPv6). | ||
+ | |||
+ | === mi_fifo === | ||
+ | |||
+ | The **jsonrpcs** module can be used instead to execute RPC commands over a FIFO file. | ||
+ | |||
+ | === mi_xmlrpc === | ||
+ | |||
+ | The **xmlrpc** module can be used instead to execute RPC commands over HTTP/S XMLRPC. | ||
+ | |||
+ | === pua_mi === | ||
+ | |||
+ | The **pua_rpc** module can be used instead to trigger presence PUBLISH or SUBSCRIBE requests via RPC commands. | ||
+ | |||
+ | ==== Renamed Modules ==== | ||
+ | |||
+ | The module that had a ' | ||
+ | |||
+ | * cpl-c => cplc | ||
+ | * janssonrpc-c => jsonrpcc | ||
+ | * jsonrpc-c => jsonrpcc | ||
+ | * jsonrpc-s => jsonrpcs | ||
===== Core ===== | ===== Core ===== | ||
Line 25: | Line 51: | ||
===== Database ===== | ===== Database ===== | ||
- | There are quite minimal changes to the database structure, in short: | ||
- | * presence active_watchers table has new columns | ||
- | * permissions trusted table has new columns | ||
- | * uac uacreg table has new columns | ||
==== MySQL Database Structure ==== | ==== MySQL Database Structure ==== | ||
- | Run following SQL statements in MySQL client to upgrade database structure from v4.3 to v4.4: | + | Run following SQL statements in MySQL client to upgrade database structure from v4.4 to v5.0: |
<code sql> | <code sql> | ||
- | -- table: | + | --table: |
- | ALTER TABLE active_watchers | + | ALTER TABLE sca_subscriptions |
- | ADD COLUMN | + | ADD COLUMN |
- | ADD COLUMN user_agent varchar(255) | + | |
- | DELETE FROM version WHERE TABLE_NAME=' | + | ADD INDEX sca_expires_idx |
- | INSERT INTO version (`table_name`, `table_version`) VALUES (' | + | UPDATE |
- | + | ||
- | -- table: trusted | + | |
- | ALTER TABLE trusted | + | |
- | | + | |
- | ADD COLUMN ruri_pattern varchar(64) NULL, | + | |
- | CHANGE COLUMN tag tag varchar(64) NULL; | + | |
- | DELETE FROM version WHERE TABLE_NAME=' | + | |
- | INSERT INTO version (`table_name`, `table_version`) VALUES (' | + | |
- | + | ||
- | -- table: uacreg | + | |
- | ALTER TABLE uacreg | + | |
- | ADD COLUMN reg_delay int(11) NOT NULL DEFAULT ' | + | |
- | ADD COLUMN flags int(11) NOT NULL DEFAULT ' | + | |
- | DELETE FROM version WHERE TABLE_NAME=' | + | |
- | INSERT INTO version (`table_name`, | + | |
- | + | ||
</ | </ |