Login | Register


Documentation -> Migration -> Migration from 3.3.x to 3.4.0

This page has been visited 290 times.

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

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

   # opensips-cli -x database migrate 3.3_to_3.4 opensips_3_3 opensips_3_4

where :

  • opensips_3_3 is the existing DB name corresponding to version 3.3.x format
  • opensips_3_4 is the DB name to be created for 3.4.x format

See the opensips-cli documentation for more details.


  • 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:

  • example

2.1  Global Parameters

  • example

2.2  Core Variables

  • example

2.3  Core keywords

  • example

2.4  Core functions

  • example

2.5  Core MI commands

  • the output of the list_blacklists rules have changed to improve readability:
    • owner - now a string
    • expire - indicates the number of seconds until the rule expires
    • proto - printed as string protocol, or "any"

2.6  Statistics migration

  • example

3.  Module migration

3.1  CGRateS module

  • example

Page last modified on October 28, 2022, at 04:59 PM