User Tools

Site Tools


install:upgrade:stable-to-devel

This is an old revision of the document!


Upgrade Kamailio from v4.2.x to v4.3.0 (devel)

The page contains the details about the changes that were made to old components during the development of v4.3.0 compared with what existed in v4.2.x. It does not include the brand new modules, focusing on how to upgrade database and configuration file from v4.2.x to run with Kamailio devel.

Previous Stable Release

If you look for the guidelines to upgrade to previous stable release, see:

Remarks

Following tokens are used to mark the changes:

  • INF - the change doesn't really have any direct impact - no action required in old config
  • CPM - the change was used with the new value via explicit parameter in default config file from old releases
  • RCM - the change is recommended to be done if you had an explicit different or lower value for this parameter in old config

Modules

rtpengine

  • rtpengine_tout parameter was replaced by rtpengine_tout_ms (CPM)

siptrace

  • added totag field to sip_trace table
  • increased sip_trace table version to 4

Core

Parameters

Database

MySQL Database Structure

There are several changes to the database structure, in short:

  • location table has three new columns: server_id, connection_id, keepalive
  • presentity table has a new column: priority
  • sip_trace table has a new column: totag

Upgrade Old MySQL Database Structure

Run following SQL statements in MySQL client to upgrade database structure from v4.2 to v4.3:

-- table: location
ALTER TABLE location ADD COLUMN server_id INT(11) DEFAULT 0 NOT NULL;
ALTER TABLE location ADD COLUMN connection_id INT(11) DEFAULT 0 NOT NULL;
ALTER TABLE location ADD COLUMN keepalive INT(11) DEFAULT 0 NOT NULL;
DELETE FROM version WHERE TABLE_NAME='location';
INSERT INTO version (`table_name`, `table_version`) VALUES ('location','7');
 
-- table: presentity
ALTER TABLE presentity ADD COLUMN priority INT(11) DEFAULT 0 NOT NULL;
DELETE FROM version WHERE TABLE_NAME='presentity';
INSERT INTO version (`table_name`, `table_version`) VALUES ('presentity','4');
install/upgrade/stable-to-devel.1427468874.txt.gz · Last modified: 2015/03/27 16:07 by miconda