From openSIPS

Documentation: Migration-2-3-0-to-2-4-0

Documentation -> Migration -> Migration from 2.3.x to 2.4.x

This page has been visited 11226 times.

Table of Contents (hide)

  1. 1. DB migration
  2. 2. Script migration
    1. 2.1 Global Parameters
    2. 2.2 Core keywords
    3. 2.3 Core MI commands
    4. 2.4 Statistics migration
  3. 3. Module migration
    1. 3.1 CACHEDB_REDIS
    2. 3.2 CGRATES
    3. 3.3 CLUSTERER
    4. 3.4 DIALOG
    5. 3.5 DROUTING
    6. 3.6 FRAUD_DETECTION
    7. 3.7 LOAD_BALANCER
    8. 3.8 RATELIMIT
    9. 3.9 TOPOLOGY_HIDING
    10. 3.10 STATISTICS

This section is meant to provide useful help in migrating your OpenSIPS installations from the 2.3.0 version to 2.4.x.

You can find the all the new additions in the 2.4.x release compiled under this page. The ChangeLog may help your understanding of the migration / update process.

Make sure you don't have any Makefile.conf files in your sources' root before starting the migration. The configuration file generated by 'menuconfig is not compatible with the one in older version!


1.  DB migration

You can migrate your 2.3.x MySQL DB to the 2.4.x format by using the opensipsdbctl tool :

   # opensipsdbctl migrate opensips_2_3 opensips_2_4

where :

NOTE:

NOTE that the migration tool is available only for MYSQL databases!

NOTE that the default MySQL DB engine is now InnoDB!


2.  Script migration

The following is the full list of backwards-incompatible syntax or functional changes in the OpenSIPS configuration script (some of them are fixes):

2.1  Global Parameters

2.2  Core keywords

Removed the concept of core keywords. Some keywords were dropped entirely (as they were redundant) and others were replaced as functionality by other means ( new core function, new core variable etc.).

2.3  Core MI commands

2.4  Statistics migration

Following the rework of the LOAD reporting, the old load related statistics tcp-load and udp:int_ip:int_port-load should be replaced with load or load-all statistics.

3.  Module migration

3.1  CACHEDB_REDIS

3.2  CGRATES

3.3  CLUSTERER

3.4  DIALOG

 dialog_replication_cluster.
 profile_replication_cluster.

3.5  DROUTING

3.6  FRAUD_DETECTION

3.7  LOAD_BALANCER

3.8  RATELIMIT

3.9  TOPOLOGY_HIDING

3.10  STATISTICS

Retrieved from https://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0
Page last modified on June 07, 2018, at 11:42 AM