Documentation |
Documentation -> Migration -> Migration from 1.6.2 to 1.6.3This page has been visited 4765 times. Table of Content (hide)
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. 1. DB migrationThere 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); 2. Script migration2.1 DIALPLAN moduleAs 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. 2.2 PERMISSION moduleIf 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)"); 2.3 XLOG moduleAs 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 2.4 DROUTING moduleThe 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)") |