Login | Register

Documentation

Documentation -> Migration -> Migration from 1.6.3 to 1.6.4

This page has been visited 6193 times.

Table of Content (hide)

  1. 1. DB migration
  2. 2. Script migration
    1. 2.1 NATHELPER module

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

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


1.  DB migration

The tables of several modules were extended with new fields (and the version of the tables were accordingly increased).

To migrate from any 1.6.x DB structure to 1.6.4, if using MySQL, you can use the DB update shell script provided by the OpenSIPS tarball under scripts/mysql_update_1_6_4.sh - you can also fetch it from SVN - http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.6/scripts/mysql_update_1_6_4.sh?view=log


2.  Script migration

2.1  NATHELPER module

The force_rtp_proxy() function was removed and needs to be replaced with rtpproxy_offer() / rtpproxy_answer(). The new functions take the same parameters as the old one.

Replace force_rtp_proxy() with rtpproxy_offer() when dealing with the first SDP in session (like dealing with the INVITE request) and replace force_rtp_proxy() with rtpproxy_answer() when handling the second SDP in session (200 OK INVITE reply).



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