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 [2018/08/14 09:56]
miconda [Parameters]
install:upgrade:stable-to-devel [2022/04/15 08:39] (current)
miconda
Line 1: Line 1:
-====== Upgrade Kamailio from v5.1.x to v5.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 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.+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:5.0.x-to-5.1.0|Upgrade Kamailio v5.0.x to v5.1.0]]+  * [[install:upgrade:5.5.x-to-5.6.0|Upgrade Kamailio v5.5.x to v5.6.0]]
  
 ===== Remarks ===== ===== Remarks =====
Line 22: Line 22:
 ==== Upgraded Modules ==== ==== Upgraded Modules ====
  
-=== dispatcher === +  none
- +
-UPG: Several parameters that were used to specify AVP names were removed, you have to remove the appropriate config modparams: +
- +
-<code c> +
-modparam("dispatcher", "dst_avp", "$avp(AVP_DST)"+
-modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)"+
-modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)"+
-modparam("dispatcher", "sock_avp", "$avp(AVP_SOCK)"+
-modparam("dispatcher", "attrs_avp", "$avp(AVP_ATTRS)"+
-</code> +
- +
-Starting with v5.2.0, the module is using XAVPs instead of those AVPs, the related parameters are: +
- +
-  xavp_dst +
-  * xavp_dst_mode +
-  * xavp_ctx +
-  * xavp_ctx_mode +
- +
-See: https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html +
  
 ==== Removed Modules ==== ==== Removed Modules ====
Line 59: Line 39:
 ==== Parameters ==== ==== Parameters ====
  
-==== Misc ====+=== Dst Blocklist Parameters ===
  
-=== Log Messages ===+All global parameters related to dst blocking are now using blocklist instead of blacklist in the name, see:
  
-The order of the attributes printed in the log messages was changed to have the log level first -- it was:+  * https://www.kamailio.org/wiki/cookbooks/devel/core#blocklist_parameters
  
-<code> +For example, **use_dst_blacklist** used in older versions has to be replaced by **use_dst_blocklist**. 
-$log-prefix $log-level $log-message +==== Misc ====
-</code> +
- +
-Now it is:+
  
-<code> 
-$log-level $log-prefix $log-message 
-</code> 
 ===== Database ===== ===== Database =====
  
Line 79: Line 53:
 ==== MySQL Database Structure ==== ==== MySQL Database Structure ====
  
-Run following SQL statements in MySQL client to upgrade database structure from v5.to v5.2:+Run following SQL statements in MySQL client to upgrade database structure from v5.to v5.7:
  
 <code sql> <code sql>
-ALTER TABLE presentity ADD COLUMN ruid VARCHAR(64); +...
-CREATE UNIQUE INDEX ruid_idx ON presentity (ruid); +
-UPDATE version SET table_version=5 WHERE table_name='presentity';+
 </code> </code>
install/upgrade/stable-to-devel.1534233381.txt.gz · Last modified: 2018/08/14 09:56 by miconda