From openSIPS

Documentation: Migration-2-1-0-to-2-2-0

Documentation -> Migration -> Migration from 2.1.x to 2.2.0

This page has been visited 6640 times.

Table of Content (hide)

  1. 1. DB migration
  2. 2. Script migration
    1. 2.1 Core
    2. 2.2 ACC module
    3. 2.3 AVPOPS module
    4. 2.4 CPL-C module
    5. 2.5 DIALOG module
    6. 2.6 DIALPLAN module
    7. 2.7 DISPATCHER module
    8. 2.8 MI_XMLRPC_NG
    9. 2.9 PROTO_TCP module
    10. 2.10 PROTO_TLS module
    11. 2.11 RATELIMIT module
    12. 2.12 SIPTRACE module
    13. 2.13 TM module
    14. 2.14 USRLOC module

This section is meant to provide useful help in migrating your OpenSIPS installations from the 2.1.0 version to 2.2.0.

You can find the all the new additions in the 2.2.0 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 1.10.x MySQL DB to the 1.11.0 format by using the opensipsdbctl tool :

   # opensipsdbctl migrate opensips_2_1 opensips_2_2

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 Core

  set_debug(2); is now $log_level=2;
  set_debug() is now $log_level=NULL;

2.2  ACC module

2.3  AVPOPS module

2.4  CPL-C module

2.5  DIALOG module

2.6  DIALPLAN module

2.7  DISPATCHER module

2.8  MI_XMLRPC_NG

2.9  PROTO_TCP module

2.10  PROTO_TLS module

2.11  RATELIMIT module

2.12  SIPTRACE module

2.13  TM module

2.14  USRLOC module

Retrieved from https://www.opensips.org/Documentation/Migration-2-1-0-to-2-2-0
Page last modified on April 11, 2016, at 03:03 PM