Login | Register

Documentation

Documentation -> Migration -> Migration from 4.0.x to 4.1.x

This page has been visited 26 times.


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

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

Make sure you don't carry a left-over Makefile.conf file in your OpenSIPS source tree if migrating to a new branch! This configuration file, generated by make menuconfig, is usually not compatible with the one of a previous major release!


1.  DB migration

You can migrate your 4.0.x MySQL DB to the 4.1.x format using the opensips-cli tool :

   # opensips-cli -x database migrate 4.0_to_4.1 opensips_4_0 opensips_4_1

where :

  • opensips_4_0 is the existing DB name corresponding to version 4.0.x format
  • opensips_4_1 is the DB name to be created for 4.1.x format

See the opensips-cli documentation for more details.

NOTE:

  • the old database will not be deleted, altered or changed - it will not be touched at all
  • new database will be created and data from old DB will be imported into it

Back to Table of Contents


2.  Script migration

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

  • none

2.1  Global Parameters

2.2  Core Variables

  • example

2.3  Core keywords

  • example

2.4  Core functions

  • example

2.5  Statistics migration

  • example

2.6  DIALOG module

2.7  MI_XMLRPC_NG module


Page last modified on April 22, 2026, at 06:41 PM