From openSIPS

Documentation: Migration-3-0-0-to-3-1-0

Documentation -> Migration -> Migration from 3.0.x to 3.1.0

This page has been visited 5466 times.

Table of Contents (hide)

  1. 1. DB migration
  2. 2. Script migration
    1. 2.1 Global Parameters
    2. 2.2 Core functions
  3. 3. Module migration
    1. 3.1 AUTH module
    2. 3.2 B2B_ENTITIES module
    3. 3.3 DIALOG module
    4. 3.4 DROUTING module
    5. 3.5 EVENT_DATAGRAM module
    6. 3.6 EVENT_JSONRPC module
    7. 3.7 EVENT_RABBITMQ module
    8. 3.8 PRESENCE module
    9. 3.9 PROTO_TLS module
    10. 3.10 PROTO_WSS module
    11. 3.11 RLS module
    12. 3.12 TLS_MGM module
    13. 3.13 TM module

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

You can find the all the new additions in the 3.1.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 3.0.x MySQL DB to the 3.1.x format using the opensips-cli tool :

   # opensips-cli -x database migrate 3.0_to_3.1 opensips_3_0 opensips_3_1

where :

See the opensips-cli documentation for more details.

NOTE:


2.  Script migration

The following is the full list of backwards-incompatible syntax or functional changes in the OpenSIPS configuration script:

2.1  Global Parameters

2.2  Core functions

3.  Module migration

3.1  AUTH module

3.2  B2B_ENTITIES module

3.3  DIALOG module

3.4  DROUTING module

3.5  EVENT_DATAGRAM module

3.6  EVENT_JSONRPC module

3.7  EVENT_RABBITMQ module

3.8  PRESENCE module

3.9  PROTO_TLS module

    # Before 3.1 was modparam("tls_mgm", "tls_handshake_timeout", 200)
    modparam("proto_tls", "tls_handshake_timeout", 200)
    # Before 3.1 was modparam("tls_mgm", "tls_send_timeout", 200)
    modparam("proto_tls", "tls_send_timeout", 200)

3.10  PROTO_WSS module

    # Before 3.1 was modparam("tls_mgm", "tls_handshake_timeout", 200)
    modparam("proto_wss", "wss_tls_handshake_timeout", 200)
    # Before 3.1 was modparam("tls_mgm", "tls_send_timeout", 200)
    modparam("proto_wss", "wss_send_timeout", 200)

3.11  RLS module

3.12  TLS_MGM module

3.13  TM module

Retrieved from https://www.opensips.org/Documentation/Migration-3-0-0-to-3-1-0
Page last modified on June 17, 2021, at 09:41 AM