Documentation

Documentation.Migration-3-3-0-to-3-4-0 History

Hide minor edits - Show changes to markup

May 30, 2023, at 04:32 PM by rvlad_patrascu -
Added lines 102-107:

Command line options migration

  • The -E option has been removed as standard error logging is used by default until the config script is parsed and a different setting is encountered (i.e. logging to syslog and stderror disabled etc.).
May 18, 2023, at 06:32 PM by liviu -
Changed line 83 from:
  • the 'ts_usec_delta()' 5th parameter has changed
to:
  • the ts_usec_delta() 5th parameter has changed: it is now a string instead of an integer, allowing arbitrary-sized diffs to be performed (no longer limited to max 2147 seconds).
May 17, 2023, at 03:03 PM by liviu -
Changed lines 34-36 from:

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

  • No backwards-incompatible changes to the opensips.cfg syntax recorded so far!
to:
  • no changes to opensips.cfg syntax
May 17, 2023, at 03:02 PM by liviu -
Changed line 67 from:
  • * no changes
to:
  • no changes
May 17, 2023, at 03:02 PM by liviu -
Changed line 67 from:
  • example
to:
  • * no changes
May 17, 2023, at 03:02 PM by liviu -
Changed lines 36-37 from:
  • example
to:
  • No backwards-incompatible changes to the opensips.cfg syntax recorded so far!
Changed lines 48-49 from:
  • example
to:
  • no changes
Changed lines 52-53 from:
  • example
to:
  • no changes
Changed lines 56-57 from:
  • example
to:
  • no changes
Deleted lines 84-86:

CGRateS module

  • example
May 17, 2023, at 01:02 AM by rvlad_patrascu -
Changed lines 40-44 from:
  • example
to:
  • log_facility has been deprecated and replaced with syslog_facility.
  • log_name has been deprecated and replaced with syslog_name.
  • log_stderror has been deprecated and is now equivalent with setting the new stderror_enabled and syslog_enabled parameters as following:
    • log_stderror=yes - stderror_enabled=yes and syslog_enabled=no (default)
    • log_stderror=no - stderror_enabled=no and syslog_enabled=yes.
May 15, 2023, at 01:49 PM by liviu -
Changed line 106 from:
  • NEW package available in the repos: opensips-auth-modules, containing both the auth and uac_auth modules, mainly due to their extra dependency on a TLS library to be present on the system (e.g. OpenSSL or WolfSSL)
to:
  • NEW package available in the repos: opensips-auth-modules, containing both the auth and uac_auth modules, mainly due to their extra dependency on a TLS library to be present on the system (e.g. OpenSSL or WolfSSL)
May 15, 2023, at 01:49 PM by liviu -
Changed line 106 from:
  • NEW package available in the repos: opensips-auth-modules, containing both the auth and uac_auth modules, mainly due to their extra dependency on a TLS library (e.g. OpenSSL or WolfSSL)
to:
  • NEW package available in the repos: opensips-auth-modules, containing both the auth and uac_auth modules, mainly due to their extra dependency on a TLS library to be present on the system (e.g. OpenSSL or WolfSSL)
May 15, 2023, at 01:48 PM by liviu -
Changed line 106 from:
  • the auth and uac_auth module are now part of a new package, opensips-auth-modules, mainly due to their extra dependency on a TLS library (e.g. OpenSSL or WolfSSL)
to:
  • NEW package available in the repos: opensips-auth-modules, containing both the auth and uac_auth modules, mainly due to their extra dependency on a TLS library (e.g. OpenSSL or WolfSSL)
May 15, 2023, at 01:47 PM by liviu -
Changed lines 101-106 from:
  • Check the module docs for the flags parameter of the t_relay() function for the mapping between the old and new flag names.
to:
  • Check the module docs for the flags parameter of the t_relay() function for the mapping between the old and new flag names.

Packaging migration

AUTH modules

  • the auth and uac_auth module are now part of a new package, opensips-auth-modules, mainly due to their extra dependency on a TLS library (e.g. OpenSSL or WolfSSL)
April 28, 2023, at 04:44 PM by rvlad_patrascu -
Changed lines 88-101 from:
  • The $DLG_flags variable now returns a list of flag names separted by space instead of a single integer value.
to:
  • The $DLG_flags variable now returns a list of flag names separted by space instead of a single integer value.

MID_REGISTRAR module

  • Check the module docs for the flags parameters of the mid_registrar_save() and mid_registrar_lookup() functions for the mapping between the old and new flag names.

NATHELPER module

  • Check the module docs for the flags parameters of the fix_nated_sdp() and nat_uac_test() functions for the mapping between the old and new flag names.

REGISTRAR module

  • Check the module docs for the flags parameters of the save() and lookup() functions for the mapping between the old and new flag names.

TM module

  • Check the module docs for the flags parameter of the t_relay() function for the mapping between the old and new flag names.
April 28, 2023, at 03:41 PM by rvlad_patrascu -
Changed line 88 from:
  • The $DLG_flags variable now returns a list of flag names separted by space instead of a single integer value).
to:
  • The $DLG_flags variable now returns a list of flag names separted by space instead of a single integer value.
April 28, 2023, at 03:35 PM by rvlad_patrascu -
Changed lines 86-88 from:
  • The val parameter of store_dlg_value() is now a variable.
to:
  • The val parameter of store_dlg_value() is now a variable.
  • the first parameter, idx of the set_dlg_flag(), test_and_set_dlg_flag(), reset_dlg_flag(), is_dlg_flag_set() functions is now a static string.
  • The $DLG_flags variable now returns a list of flag names separted by space instead of a single integer value).
April 28, 2023, at 03:22 PM by rvlad_patrascu -
Changed lines 83-86 from:
  • example
to:
  • example

DIALOG module

  • The val parameter of store_dlg_value() is now a variable.
April 27, 2023, at 06:29 PM by rvlad_patrascu -
Changed line 68 from:
  • The flags of the b2b_bridge_retry() function have been renamed as following:
to:
  • The flags of the b2b_bridge() function have been renamed as following:
Changed line 72 from:
  • The flags of the b2b_bridge_retry() function have been renamed as following:
to:
  • The flags of the b2b_init_request() function have been renamed as following:
Added lines 76-77:
  • The init_sdp_body and init_sdp_ctype parameters of the b2b_init_request() function have been dropped.
  • The use_init_sdp module parameter has been dropped.
April 27, 2023, at 06:22 PM by rvlad_patrascu -
Added lines 66-75:

B2B_LOGIC module

  • The flags of the b2b_bridge_retry() function have been renamed as following:
    • n to notify
    • f to rollback-failed
    • t[nn] to max_duration=[int].
  • The flags of the b2b_bridge_retry() function have been renamed as following:
    • a to transparent-auth
    • p to preserve-to
    • t[nn] to setup-timeout=[nn]
April 20, 2023, at 01:08 PM by liviu -
Added lines 67-68:

CFGUTILS module

  • the 'ts_usec_delta()' 5th parameter has changed
October 28, 2022, at 04:59 PM by razvancrainea -
Changed line 56 from:
  • the output of the https://www.opensips.org/Documentation/Interface-CoreMI-3-4#list_blacklists rules have changed to improve readability:
to:
  • the output of the list_blacklists rules have changed to improve readability:
October 28, 2022, at 04:43 PM by razvancrainea -
Changed lines 56-59 from:
  • example
to:
  • the output of the https://www.opensips.org/Documentation/Interface-CoreMI-3-4#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"
May 18, 2022, at 04:14 PM by liviu -
Added lines 1-66:
Documentation -> Migration -> Migration from 3.3.x to 3.4.0

This page has been visited 2254 times. (:toc-float Table of Contents:)


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!


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.

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

(:toc-back Back to Table of Contents:)


Script migration

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

  • example

Global Parameters

  • example

Core Variables

  • example

Core keywords

  • example

Core functions

  • example

Core MI commands

  • example

Statistics migration

  • example

Module migration

CGRateS module

  • example

Page last modified on May 30, 2023, at 04:32 PM