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 [2017/01/10 14:43] miconda [Renamed Modules] |
install:upgrade:stable-to-devel [2018/08/14 09:56] miconda [Parameters] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Upgrade Kamailio from v4.4.x to v5.0.0 (devel) ====== | + | ====== Upgrade Kamailio from v5.1.x to v5.2.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.2.0 compared with what existed in v5.1.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v5.1.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 16: | Line 16: | ||
* CPM - the change was used with the new value via explicit parameter in default config file from old releases | * 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 | * RCM - the change is recommended to be done if you had an explicit different or lower value for this parameter in old config | ||
+ | * UPG - the change has to be done, older config does not work any longer | ||
===== Modules ===== | ===== Modules ===== | ||
- | ==== Removed | + | ==== Upgraded |
- | === mi_datagram | + | === dispatcher |
- | The **jsonrpcs** module can be used instead | + | UPG: Several parameters that were used to specify AVP names were removed, you have to remove the appropriate config modparams: |
- | === mi_fifo === | + | <code c> |
+ | modparam(" | ||
+ | modparam(" | ||
+ | modparam(" | ||
+ | modparam(" | ||
+ | modparam(" | ||
+ | </ | ||
- | The **jsonrpcs** | + | Starting with v5.2.0, the module |
- | === mi_xmlrpc === | + | * xavp_dst |
+ | * xavp_dst_mode | ||
+ | * xavp_ctx | ||
+ | * xavp_ctx_mode | ||
- | The **xmlrpc** module can be used instead to execute RPC commands over HTTP/S XMLRPC. | + | See: https:// |
- | === pua_mi === | ||
- | The **pua_rpc** module can be used instead to trigger presence PUBLISH or SUBSCRIBE requests via RPC commands. | + | ==== Removed Modules ==== |
+ | |||
+ | | ||
==== Renamed Modules ==== | ==== Renamed Modules ==== | ||
- | The module that had a ' | + | * none |
+ | |||
+ | ===== Internal Libraries ===== | ||
- | * cpl-c => cplc | ||
- | * janssonrpc-c => jsonrpcc | ||
- | * jsonrpc-c => jsonrpcc | ||
- | * jsonrpc-s => jsonrpcs | ||
===== Core ===== | ===== Core ===== | ||
==== Parameters ==== | ==== Parameters ==== | ||
+ | ==== Misc ==== | ||
+ | |||
+ | === Log Messages === | ||
+ | |||
+ | The order of the attributes printed in the log messages was changed to have the log level first -- it was: | ||
+ | |||
+ | < | ||
+ | $log-prefix $log-level $log-message | ||
+ | </ | ||
+ | |||
+ | Now it is: | ||
+ | |||
+ | < | ||
+ | $log-level $log-prefix $log-message | ||
+ | </ | ||
===== Database ===== | ===== Database ===== | ||
Line 54: | Line 79: | ||
==== 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.1 to v5.2: |
<code sql> | <code sql> | ||
- | --table: sca_subscriptions | + | ALTER TABLE presentity |
- | ALTER TABLE sca_subscriptions | + | CREATE UNIQUE |
- | | + | UPDATE version SET table_version=5 WHERE table_name=' |
- | DROP INDEX sca_expires_idx, | + | |
- | ADD INDEX sca_expires_idx | + | |
- | UPDATE version SET table_version=2 WHERE table_name=" | + | |
</ | </ |