Migration from 4.0.x to 4.1.x
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.
DB migration
Section titled “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_1where :
- 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.
Script migration
Section titled “Script migration”The following is the full list of backwards-incompatible syntax or functional changes in the OpenSIPS configuration script:
- none
Global Parameters
Section titled “Global Parameters”Core Variables
Section titled “Core Variables”- example
Core keywords
Section titled “Core keywords”- example
Core functions
Section titled “Core functions”- example
Statistics migration
Section titled “Statistics migration”- example