Documentation

Documentation.Migration-1-6-2-to-1-6-3 History

Hide minor edits - Show changes to output

May 16, 2013, at 07:25 PM by 109.99.235.212 -
Changed line 1 from:
!! [[Documentation.Index | Documentation]] -> [[Documentation.Migration-1-6-2-to-1-6-3 | Migration from 1.6.2 to 1.6.3]]
to:
!!!!!Documentation -> [[Documentation.Migration|Migration]] -> Migration from 1.6.2 to 1.6.3
May 09, 2013, at 02:00 PM by 79.118.227.150 -
Changed line 1 from:
!! Resources -> [[Resources.Documentation | Documentation]] -> Upgrading from 1.6.2 to 1.6.3
to:
!! [[Documentation.Index | Documentation]] -> [[Documentation.Migration-1-6-2-to-1-6-3 | Migration from 1.6.2 to 1.6.3]]
Changed line 8 from:
You can find the all the new additions in 1.6.3 release compiled [[Main.Ver163 | under this page]]. Reading it may help you understand the migration / update process.
to:
You can find the all the new additions in 1.6.3 release compiled [[About.Version-1-6-3 | under this page]]. Reading it may help you understand the migration / update process.
April 24, 2013, at 03:04 PM by 109.99.235.212 -
Added lines 1-60:
!! Resources -> [[Resources.Documentation | Documentation]] -> Upgrading from 1.6.2 to 1.6.3
This page has been visited {$PageCount} 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 [[Main.Ver163 | 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)")
@]

Page last modified on May 16, 2013, at 07:25 PM