User Tools

Site Tools


install:upgrade:stable-to-devel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:upgrade:stable-to-devel [2014/10/14 12:05]
miconda
install:upgrade:stable-to-devel [2022/04/15 08:39] (current)
miconda
Line 1: Line 1:
-====== Upgrade Kamailio from v4.1.x to v4.2.0 (devel) ======+====== Upgrade Kamailio from v5.6.x to v5.7.0 (devel) ======
  
-The page contains the details about the changes that were made to old components during the development of v4.2.0 compared with what existed in v4.1.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v4.1.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.7.0 compared with what existed in v5.6.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v5.6.x to run with Kamailio 5.7.0.
  
 ===== 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:upgrade:4.0.x-to-4.1.0|Upgrade Kamailio v4.0.x to v4.1.0]]+  * [[install:upgrade:5.5.x-to-5.6.0|Upgrade Kamailio v5.5.x to v5.6.0]]
  
 ===== Remarks ===== ===== Remarks =====
Line 14: Line 14:
  
   * INF - the change doesn't really have any direct impact - no action required in old config   * 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 modparam 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 =====
  
-==== usrloc ====+==== Upgraded Modules ====
  
-  * default value for hash_size is 10 (1024 slots) (INF) +  * none
-  * parameter db_ops_ruid is set to 1 (RCM)+
  
-==== tm ====+==== Removed Modules ====
  
-  * parameter failure_reply_mode is set to 3 (CPM)+  * none
  
-===== Core =====+==== Renamed Modules ====
  
-==== Parameters ====+  * none
  
-Changes to default values:+===== Internal Libraries =====
  
-  * pkg (private) memory size: 8MB (INF) 
-  * shm (shared) memory size: 64MB (INF) 
-  * tcp read buffer size: 16kB (RCM) 
-  * pv print buffer size: 8kB (RCM) 
  
-===== Database =====+===== Core =====
  
-There are quite minimal changes to the database structure, in short:+==== Parameters ====
  
-  * acc table has the size of column sip_reason increased to 128 +=== Dst Blocklist Parameters ===
-  * dialplan table has the size of column repl_exp increased to 64 +
-  * dialplan table has the size of column repl_attrs increased to 64 +
-  * missed_calls table has the size of column sip_reason increased to 128+
  
-==== Upgrade Old MySQL Database Structure ====+All global parameters related to dst blocking are now using blocklist instead of blacklist in the name, see:
  
-Run following SQL statements in MySQL client to upgrade database structure from v4.1 to v4.2:+  * https://www.kamailio.org/wiki/cookbooks/devel/core#blocklist_parameters
  
-<code sql> +For example, **use_dst_blacklist** used in older versions has to be replaced by **use_dst_blocklist**. 
--- table: acc +==== Misc ====
-ALTER TABLE acc CHANGE COLUMN sip_reason sip_reason varchar(128) DEFAULT '' NOT NULL; +
-DELETE FROM version WHERE table_name='acc'; +
-INSERT INTO version (`table_name`, `table_version`) values ('acc','5');+
  
--- table: dialplan +===== Database =====
-ALTER TABLE dialplan CHANGE COLUMN repl_exp repl_exp varchar(64) NOT NULL;  +
-ALTER TABLE dialplan CHANGE COLUMN attrs attrs varchar(64) NOT NULL; +
-DELETE FROM version WHERE table_name='dialplan'; +
-INSERT INTO version (`table_name`, `table_version`) values ('dialplan','2');+
  
--- table: missed_calls 
-ALTER TABLE missed_calls CHANGE COLUMN sip_reason sip_reason varchar(128) DEFAULT '' NOT NULL; 
-DELETE FROM version WHERE table_name='missed_calls'; 
-INSERT INTO version (`table_name`, `table_version`) values ('missed_calls','4'); 
  
 +==== MySQL Database Structure ====
 +
 +Run following SQL statements in MySQL client to upgrade database structure from v5.6 to v5.7:
 +
 +<code sql>
 +...
 </code> </code>
install/upgrade/stable-to-devel.1413281108.txt.gz · Last modified: 2014/10/14 12:05 by miconda