Resources.DocsMigration162to163 History

Hide minor edits - Show changes to markup

April 24, 2013, at 02:04 PM by 109.99.235.212 -
Changed lines 1-60 from:

Resources -> Documentation -> Upgrading from 1.6.2 to 1.6.3

This page has been visited 3849 times. (:toc-float Table of Content:)


This section is to provide useful help in migrating your OpenSIPS installations from 1.6.2 release to 1.6.3 release (both on 1.6 branch).

You can find the all the new additions in 1.6.3 release compiled under this page. Reading it may help you understand the migration / update process.


DB migration

There is only one additional field in the table dr_rules called "attrs" type char(255). Please, include the field using mysql client.

 ALTER TABLE dr_rules ADD COLUMN attrs CHAR(255);

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


Script migration

DIALPLAN module

As dialplan depends now on the pcre library, the module is no longer compiled by default, so you need to take care and remove if from exclude_modules list in Makefile. Otherwise, no other changed are required.

PERMISSION module

If you use the get_source_group() function, you will need to get the output in a different way - instead of using the return code as output, the function now requires a variable as parameter to return the output.

The change is from:

  $var(output) = get_source_group();

to

  get_source_group("$var(output)");

XLOG module

As the module was removed, after updating from SVN, be sure the directory modules/xlog is completely purged.

In your config, you just have to remove the loadmodule for the xlog module. As the syntax of the functions (now in core) didn't change, you do not have to do any other changes

DROUTING module

The module parameter attrs_avp has changed to gw_attrs_avp

The change is from:

  modparam("drouting", "attrs_avp", "$avp(dr_attrs)")

to

  modparam("drouting", "gw_attrs_avp", "$avp(dr_attrs)")
to:

(:redirect Documentation.Migration-1-6-2-to-1-6-3 quiet=1 :)

September 24, 2010, at 01:15 AM by flaviogoncalves -
Changed line 13 from:

There is only an additional field in the table dr_rules called "attrs" type char(255). Please, include the field using mysql client.

to:

There is only one additional field in the table dr_rules called "attrs" type char(255). Please, include the field using mysql client.

September 24, 2010, at 01:15 AM by flaviogoncalves -
Changed line 13 from:

There is only an additional field in the table dr_rules called "attrs" type char(255). Include the field using the mysql client.

to:

There is only an additional field in the table dr_rules called "attrs" type char(255). Please, include the field using mysql client.

September 24, 2010, at 01:14 AM by flaviogoncalves -
Changed lines 13-17 from:

There are no changes in the DB structure between 1.6.2 and 1.6.3, so no migration is needed.

to:

There is only an additional field in the table dr_rules called "attrs" type char(255). Include the field using the mysql client.

 ALTER TABLE dr_rules ADD COLUMN attrs CHAR(255);
September 22, 2010, at 07:31 PM by flaviogoncalves -
Changed lines 43-56 from:

In your config, you just have to remove the loadmodule for the xlog module. As the syntax of the functions (now in core) didn't change, you do not have to do any other changes

to:

In your config, you just have to remove the loadmodule for the xlog module. As the syntax of the functions (now in core) didn't change, you do not have to do any other changes

DROUTING module

The module parameter attrs_avp has changed to gw_attrs_avp

The change is from:

  modparam("drouting", "attrs_avp", "$avp(dr_attrs)")

to

  modparam("drouting", "gw_attrs_avp", "$avp(dr_attrs)")
August 02, 2010, at 05:20 AM by bogdan -
Added lines 1-43:

Resources -> Documentation -> Upgrading from 1.6.2 to 1.6.3

This page has been visited 3849 times. (:toc-float Table of Content:)


This section is to provide useful help in migrating your OpenSIPS installations from 1.6.2 release to 1.6.3 release (both on 1.6 branch).

You can find the all the new additions in 1.6.3 release compiled under this page. Reading it may help you understand the migration / update process.


DB migration

There are no changes in the DB structure between 1.6.2 and 1.6.3, so no migration is needed.

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


Script migration

DIALPLAN module

As dialplan depends now on the pcre library, the module is no longer compiled by default, so you need to take care and remove if from exclude_modules list in Makefile. Otherwise, no other changed are required.

PERMISSION module

If you use the get_source_group() function, you will need to get the output in a different way - instead of using the return code as output, the function now requires a variable as parameter to return the output.

The change is from:

  $var(output) = get_source_group();

to

  get_source_group("$var(output)");

XLOG module

As the module was removed, after updating from SVN, be sure the directory modules/xlog is completely purged.

In your config, you just have to remove the loadmodule for the xlog module. As the syntax of the functions (now in core) didn't change, you do not have to do any other changes


Page last modified on April 24, 2013, at 02:04 PM