Documentation

Documentation.Migration-1-11-0-to-2-1-0 History

Hide minor edits - Show changes to markup

December 07, 2016, at 02:03 PM by 109.99.227.30 -
Added line 51:
  • dialog: the topology_hiding() function was moved in a stand-alone new module, called topology_hiding (d84649e3). If you are using this function, you need to load the topology_hiding module, and also call the topology_hiding_match() function for sequential requests.
August 25, 2015, at 07:43 PM by etamme - clarify migration docs to indicate loading proto_udp is required
Changed line 35 from:
  • In 2.1, for each type of listener, you must load its corresponding module (e.g. loadmodule "proto_tcp.so" if you are using TCP listeners). Additional info here...
to:
  • In 2.1, for each type of listener, you must load its corresponding module (e.g. loadmodule "proto_tcp.so" if you are using TCP listeners or loadmodule "proto_udp.so" if you are using UDP listeners). Additional info here...
April 21, 2015, at 03:41 PM by liviu -
Changed line 37 from:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds
to:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds/useconds
March 19, 2015, at 10:45 AM by liviu -
Changed line 35 from:
  • In 2.1, for each type of listener, you must load its corresponding module (e.g. loadmodule "proto_tcp.so" if you are using TCP listeners).
to:
  • In 2.1, for each type of listener, you must load its corresponding module (e.g. loadmodule "proto_tcp.so" if you are using TCP listeners). Additional info here...
March 19, 2015, at 10:44 AM by liviu -
Added line 35:
  • In 2.1, for each type of listener, you must load its corresponding module (e.g. loadmodule "proto_tcp.so" if you are using TCP listeners).
March 18, 2015, at 09:21 PM by liviu -
Deleted lines 14-18:
   or
   # osipsconsole 
   OpenSIPS$:db migrate opensips_1_11 opensips_2_1
   OpenSIPS$:quit
   # 
March 18, 2015, at 12:31 PM by 89.120.101.121 -
Added line 41:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds
Deleted line 52:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds
March 16, 2015, at 12:35 PM by liviu -
Changed line 43 from:
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the changed value (ad92fa6)
to:
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the last changed value (ad92fa6)
March 16, 2015, at 12:35 PM by liviu -
Changed line 42 from:
  • Fix: acc_evi_request() now works properly (24bd3a8)
to:
  • Fix: acc_evi_request() now properly reports E_ACC_CDR, E_ACC_EVENT and E_ACC_MISSED_EVENT (24bd3a8)
March 16, 2015, at 12:31 PM by liviu -
Changed line 8 from:

You can find the all the new additions compiled in the 2.1.0 release page. Going through the changelog may improve your understanding of the migration / update process.

to:

You can find the all the new additions compiled in the 2.1.0 release page. Going through the changelog may improve your understanding of the migration / update process.

March 13, 2015, at 05:52 PM by liviu -
Added line 40:
  • All tcp_xxx and tls_xxx core parameters have been moved to their respective modules (proto_tcp, respectively proto_tls)
March 13, 2015, at 12:00 PM by liviu -
Added line 56:

The following is the full list of backwards-incompatible changes in the output of the OpenSIPS Management Interface commands:

March 12, 2015, at 06:47 PM by liviu -
Changed line 6 from:

This section is meant to provide useful help in migrating your OpenSIPS installations from the 1.11 version to the latest 2.1 release.

to:

This section is meant to provide useful help in migrating OpenSIPS installations from the 1.11 version to the latest 2.1 release.

March 12, 2015, at 06:47 PM by liviu -
Deleted lines 4-5:

......................................................................................... TODO ..............................................................

March 12, 2015, at 06:46 PM by liviu -
Changed line 59 from:
  • MI output structure changed: (34576f5 and 459dffb) - make sure your scripts are still working correctly
to:
  • MI output structure changed: (34576f5 and 459dffb) - make sure your MI parsing scripts are still working correctly!
March 12, 2015, at 06:46 PM by liviu -
Changed lines 42-52 from:
  • Fix: "opensips fifo t_uac_dlg" and t_new_request() now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
  • Fix: acc_evi_request() now works properly (24bd3a8)
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the changed value (ad92fa6)
  • Memcached NoSQL driver bugfix: get() operations no longer create counters in case they do not exist (47cd18c)
  • Couchbase NoSQL driver bugfix: get() operations no longer create counters in case they do not exist (67023e9)
  • make: default prefix changed to "/usr/local" from "/usr" (84cfab2)
  • script: variables can now be assigned NULL variables (5ebc1ef)
  • removed SSLv2 and SSLv3 support (4c56d98 and 06f9025)
  • mi_xmlrpc_ng: default root path changed from "xmlrpc" to "RPC2" (e93a98b)
  • obsolete modules: mi_xmlrpc, auth_diameter, closeddial (d6c14c2)
  • dialog: OpenSIPS no longer starts if dialog fails to establish an SQL DB connection (e2c77e4)
to:
  • Fix: "opensips fifo t_uac_dlg" and t_new_request() now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
  • Fix: acc_evi_request() now works properly (24bd3a8)
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the changed value (ad92fa6)
  • Memcached NoSQL driver bugfix: get() operations no longer create counters in case they do not exist (47cd18c)
  • Couchbase NoSQL driver bugfix: get() operations no longer create counters in case they do not exist (67023e9)
  • make: default prefix changed to "/usr/local" from "/usr" (84cfab2)
  • script: variables can now be assigned NULL variables (5ebc1ef)
  • removed SSLv2 and SSLv3 support (4c56d98 and 06f9025)
  • mi_xmlrpc_ng: default root path changed from "xmlrpc" to "RPC2" (e93a98b)
  • obsolete modules: mi_xmlrpc, auth_diameter, closeddial (d6c14c2)
  • dialog: OpenSIPS no longer starts if dialog fails to establish an SQL DB connection (e2c77e4)
Changed lines 54-56 from:
  • Contact header parsing: OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
  • json: $json variables will be set to NULL if assignment fails due to parsing errors (8dfe15e3ce)
to:
  • Contact header parsing: OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
  • json: $json variables will be set to NULL if assignment fails due to parsing errors (8dfe15e3ce)
Changed lines 59-67 from:
  • MI output structure changed: (34576f5 and 459dffb) - make sure your scripts are still working correctly
  • MI output: "opensipsctl fifo list_tcp_conns" - "Timeout" field is now a human-readable date instead of UNIX timestamp (6ac1dc8251)
  • MI output: "opensipsctl fifo subs_phtable_list" - "expires" field is now a human-readable date instead of UNIX timestamp (ddaf004)
  • MI output: "opensipsctl fifo dp_translate" may now return "404 - No translation" (f517529)
  • MI output: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
  • MI output: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
to:
  • MI output structure changed: (34576f5 and 459dffb) - make sure your scripts are still working correctly
  • MI output: "opensipsctl fifo list_tcp_conns" - "Timeout" field is now a human-readable date instead of UNIX timestamp (6ac1dc8251)
  • MI output: "opensipsctl fifo subs_phtable_list" - "expires" field is now a human-readable date instead of UNIX timestamp (ddaf004)
  • MI output: "opensipsctl fifo dp_translate" may now return "404 - No translation" (f517529)
  • MI output: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
  • MI output: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
March 12, 2015, at 06:42 PM by liviu -
Changed line 54 from:
  • Contact header: OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
to:
  • Contact header parsing: OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
March 12, 2015, at 06:40 PM by liviu -
Changed line 53 from:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds
to:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds
March 12, 2015, at 06:40 PM by liviu -
Deleted lines 58-59:
  • MI format: "opensipsctl fifo list_tcp_conns" - "Timeout" field is now a human-readable date instead of UNIX timestamp (6ac1dc8251)
  • MI format: "opensipsctl fifo subs_phtable_list" - "expires" field is now a human-readable date instead of UNIX timestamp (ddaf004)
Changed lines 60-65 from:
  • MI output change: "opensipsctl fifo dp_translate" may now return "404 - No translation" (f517529)
  • MI output change: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output change: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output change: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
  • MI output change: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
to:
  • MI output: "opensipsctl fifo list_tcp_conns" - "Timeout" field is now a human-readable date instead of UNIX timestamp (6ac1dc8251)
  • MI output: "opensipsctl fifo subs_phtable_list" - "expires" field is now a human-readable date instead of UNIX timestamp (ddaf004)
  • MI output: "opensipsctl fifo dp_translate" may now return "404 - No translation" (f517529)
  • MI output: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
  • MI output: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
March 12, 2015, at 06:38 PM by liviu -
Changed lines 40-44 from:

The following is the full list of backwards-incompatible changes (some of them are fixes) in the OpenSIPS configuration script:

  • "opensips fifo t_uac_dlg" and t_new_request() now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
  • Fix acc_evi_request() : now works properly (24bd3a8)
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the changed value (ad92fa6)
to:

The following is the full list of backwards-incompatible syntax or functional changes in the OpenSIPS configuration script (some of them are fixes):

  • Fix: "opensips fifo t_uac_dlg" and t_new_request() now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
  • Fix: acc_evi_request() now works properly (24bd3a8)
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the changed value (ad92fa6)
Changed lines 47-48 from:
  • make: default prefix changed to "/usr/local" from "/usr" (84cfab2)
  • script : variables can now be assigned NULL variables (5ebc1ef)
to:
  • make: default prefix changed to "/usr/local" from "/usr" (84cfab2)
  • script: variables can now be assigned NULL variables (5ebc1ef)
Changed line 52 from:
  • dialog : OpenSIPS no longer starts if dialog fails to establish an SQL DB connection (e2c77e4)
to:
  • dialog: OpenSIPS no longer starts if dialog fails to establish an SQL DB connection (e2c77e4)
Changed lines 54-56 from:
  • Contact Header : OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
  • json : $json will be set to NULL if parsing fails (8dfe15e3ce)
to:
  • Contact header: OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
  • json: $json variables will be set to NULL if assignment fails due to parsing errors (8dfe15e3ce)
Changed lines 59-65 from:
  • MI format : "Timeout" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo list_tcp_conns" (6ac1dc8251)
  • MI format : "expires" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo subs_phtable_list" (ddaf004)
  • MI output structure changed: (34576f5 and 459dffb)
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
  • MI output change: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output change: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output change: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
to:
  • MI format: "opensipsctl fifo list_tcp_conns" - "Timeout" field is now a human-readable date instead of UNIX timestamp (6ac1dc8251)
  • MI format: "opensipsctl fifo subs_phtable_list" - "expires" field is now a human-readable date instead of UNIX timestamp (ddaf004)
  • MI output structure changed: (34576f5 and 459dffb) - make sure your scripts are still working correctly
  • MI output change: "opensipsctl fifo dp_translate" may now return "404 - No translation" (f517529)
  • MI output change: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output change: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output change: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
March 12, 2015, at 06:28 PM by liviu -
Changed lines 40-42 from:

The following is the full list of backwards-incompatible changes in the OpenSIPS configuration script:

  • Fix SIP request generation: "opensips fifo t_uac_dlg" and the script t_new_request() function now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
to:

The following is the full list of backwards-incompatible changes (some of them are fixes) in the OpenSIPS configuration script:

  • "opensips fifo t_uac_dlg" and t_new_request() now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
March 12, 2015, at 06:24 PM by liviu -
Deleted lines 41-42:
  • MI format : "Timeout" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo list_tcp_conns" (6ac1dc8251)
  • MI format : "expires" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo subs_phtable_list" (ddaf004)
Deleted lines 46-50:
  • MI output structure changed: (34576f5 and 459dffb)
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
  • MI output change: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output change: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output change: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
Deleted line 48:
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
Deleted line 52:
  • MI output change: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
Changed lines 56-59 from:
to:
Added lines 58-67:
  • MI format : "Timeout" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo list_tcp_conns" (6ac1dc8251)
  • MI format : "expires" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo subs_phtable_list" (ddaf004)
  • MI output structure changed: (34576f5 and 459dffb)
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
  • MI output change: "opensipsctl fifo rtpproxy_show" structure change (213e777)
  • MI output change: "opensipsctl fifo ds_list" state instead of flags (45afa00)
  • MI output change: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
  • MI output change: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
March 12, 2015, at 06:22 PM by liviu -
Changed lines 19-20 from:
   > db migrate opensips_1_11 opensips_2_1
   > quit
to:
   OpenSIPS$:db migrate opensips_1_11 opensips_2_1
   OpenSIPS$:quit
March 12, 2015, at 06:20 PM by liviu -
Changed line 19 from:
   > migrate opensips_1_11 opensips_2_1
to:
   > db migrate opensips_1_11 opensips_2_1
March 12, 2015, at 06:13 PM by liviu -
Added line 40:

The following is the full list of backwards-incompatible changes in the OpenSIPS configuration script:

March 12, 2015, at 06:12 PM by liviu -
Changed line 39 from:

List of backwards-incompatible config script changes

to:

Config Script Migration

March 12, 2015, at 06:12 PM by liviu -
Changed line 14 from:

For MySQL users, you can easily migrate your 1.11.x OpenSIPS databases to the 2.1.0 format with the opensipsdbctl tool (TODO: code this!):

to:

For MySQL users, you can easily migrate your 1.11.x OpenSIPS databases to the 2.1.0 format with the opensipsdbctl tool:

March 12, 2015, at 04:33 PM by liviu -
Changed line 71 from:
  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
to:
  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
Changed line 75 from:
  • msilo, silo table - DEFAULT "text/plain" removed (2e4b2d5)
to:
  • msilo, silo table - DEFAULT "text/plain" removed (2e4b2d5)
Changed lines 83-85 from:
  • acc, missed_calls table - NEW columns: "created" and "setuptime" (94cf5dd)
  • msilo, silo table - "NULL" attribute added (e02a004)
  • closeddial, closeddial table - DROPPED (7b30b2c)
to:
  • acc, missed_calls table - NEW columns: "created" and "setuptime" (94cf5dd)
  • msilo, silo table - "NULL" attribute added (e02a004)
  • closeddial, closeddial table - DROPPED (7b30b2c)
March 12, 2015, at 04:32 PM by liviu -
Changed line 83 from:
  • acc, missed_calls table - NEW columns: "created" and "setuptime" (94cf5dd)
to:
  • acc, missed_calls table - NEW columns: "created" and "setuptime" (94cf5dd)
March 12, 2015, at 04:31 PM by liviu -
Changed line 75 from:
  • msilo, msilo table - DEFAULT "text/plain" removed (2e4b2d5)
to:
  • msilo, silo table - DEFAULT "text/plain" removed (2e4b2d5)
Changed line 84 from:
  • msilo, msilo table - "NULL" attribute added (e02a004)
to:
  • msilo, silo table - "NULL" attribute added (e02a004)
March 12, 2015, at 04:31 PM by liviu -
Changed line 71 from:
  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
to:
  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
Changed line 75 from:
  • msilo, msilo table - DEFAULT "text/plain" removed (2e4b2d5)
to:
  • msilo, msilo table - DEFAULT "text/plain" removed (2e4b2d5)
Changed lines 84-85 from:
  • msilo, msilo table - "NULL" attribute added (e02a004)
  • closeddial, closeddial table - DROPPED (7b30b2c)
to:
  • msilo, msilo table - "NULL" attribute added (e02a004)
  • closeddial, closeddial table - DROPPED (7b30b2c)
March 12, 2015, at 04:28 PM by liviu -
March 12, 2015, at 03:54 PM by liviu -
Added line 85:
  • closeddial, closeddial table - DROPPED (7b30b2c)
March 12, 2015, at 03:52 PM by liviu -
Changed line 83 from:
  • acc, acc table - NEW columns: "created" and "setuptime" (94cf5dd)
to:
  • acc, missed_calls table - NEW columns: "created" and "setuptime" (94cf5dd)
March 12, 2015, at 01:56 PM by liviu -
Changed line 10 from:

You can find the all the new additions compiled in the 2.1.0 release page. The changelog may improve your understanding of the migration / update process.

to:

You can find the all the new additions compiled in the 2.1.0 release page. Going through the changelog may improve your understanding of the migration / update process.

March 12, 2015, at 01:55 PM by liviu -
Changed lines 39-42 from:

OpenSIPS config script migration

List of backwards-incompatible changes

to:

List of backwards-incompatible config script changes

Changed lines 68-69 from:

Migration of custom scripts (Management Interface related)

to:

List of MI input/output changes

March 12, 2015, at 01:54 PM by liviu -
Changed lines 39-41 from:

Script migration

(TODO)

to:

OpenSIPS config script migration

Changed lines 68-71 from:
to:

Migration of custom scripts (Management Interface related)

March 12, 2015, at 01:50 PM by liviu -
Deleted line 38:

March 12, 2015, at 01:49 PM by liviu -
Added line 89:

March 12, 2015, at 01:49 PM by liviu -
Added lines 86-87:

\\

March 12, 2015, at 01:48 PM by liviu -
Changed lines 72-85 from:
  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
  • call_center, cc_agents table - new "last_call_end" column (4b366c5)
  • call_center, cc_calls table - NEW (2f6eb09)
  • dispatcher, dispatcher table - new "priority" column (6dc7261)
  • msilo, msilo table - DEFAULT "text/plain" removed (2e4b2d5)
  • siptrace, siptrace table - from_ip|to_ip split into 6 columns (b746032)
  • pua, pua table - new indexes added (59061f1)
  • domain, domain table - attributes support (57ec0f3)
  • drouting, dr_partitions table - NEW (c664d40)
  • dialplan, dialplan table - NEW timerec column (e71485f)
  • fraud_detection, fraud_detection table - NEW (f8a72e8)
  • registrar, aliases table - various column property changes (1572ed0)
  • acc, acc table - NEW columns: "created" and "setuptime" (94cf5dd)
  • msilo, msilo table - "NULL" attribute added (e02a004)
to:
  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
  • call_center, cc_agents table - new "last_call_end" column (4b366c5)
  • call_center, cc_calls table - NEW (2f6eb09)
  • dispatcher, dispatcher table - new "priority" column (6dc7261)
  • msilo, msilo table - DEFAULT "text/plain" removed (2e4b2d5)
  • siptrace, siptrace table - from_ip|to_ip split into 6 columns (b746032)
  • pua, pua table - new indexes added (59061f1)
  • domain, domain table - attributes support (57ec0f3)
  • drouting, dr_partitions table - NEW (c664d40)
  • dialplan, dialplan table - NEW timerec column (e71485f)
  • fraud_detection, fraud_detection table - NEW (f8a72e8)
  • registrar, aliases table - various column property changes (1572ed0)
  • acc, acc table - NEW columns: "created" and "setuptime" (94cf5dd)
  • msilo, msilo table - "NULL" attribute added (e02a004)
March 12, 2015, at 01:46 PM by liviu -
Changed line 75 from:
  • dispatcher, dispatcher table - new "priority" column (6dc7261)
to:
  • dispatcher, dispatcher table - new "priority" column (6dc7261)
Changed lines 78-85 from:
  • '''pua table new indexes added: (59061f1)
  • '''domain: attributes support (57ec0f3)
  • '''drouting: dr_partitions table added (c664d40)
  • '''dialplan : new timerec column (e71485f)
  • '''fraud_detection: new table (f8a72e8)
  • '''aliases table: various column property changes (1572ed0)
  • '''acc: new columns - "created" and "setuptime" (94cf5dd)
  • '''msilo "NULL" attribute added (e02a004)
to:
  • pua, pua table - new indexes added (59061f1)
  • domain, domain table - attributes support (57ec0f3)
  • drouting, dr_partitions table - NEW (c664d40)
  • dialplan, dialplan table - NEW timerec column (e71485f)
  • fraud_detection, fraud_detection table - NEW (f8a72e8)
  • registrar, aliases table - various column property changes (1572ed0)
  • acc, acc table - NEW columns: "created" and "setuptime" (94cf5dd)
  • msilo, msilo table - "NULL" attribute added (e02a004)
March 12, 2015, at 01:40 PM by liviu -
Changed lines 71-90 from:

List of dbschema changes

  • cachedb_sql "PRIMARY KEY" attr added (f1fec17)
  • call_center - new "last_call_end" column (4b366c5)
  • call_center - add "cc_calls" table (2f6eb09)
  • dispatcher - new "priority" column (6dc7261)
  • msilo DEFAULT "text/plain" removed (2e4b2d5)
  • siptrace: from_ip|to_ip -> split into 6 columns (b746032)
  • pua table new indexes added: (59061f1)
  • domain: attributes support (57ec0f3)
  • drouting: dr_partitions table added (c664d40)
  • dialplan : new timerec column (e71485f)
  • fraud_detection: new table (f8a72e8)
  • aliases table: various column property changes (1572ed0)
  • acc: new columns - "created" and "setuptime" (94cf5dd)
  • msilo "NULL" attribute added (e02a004)
to:

List of DB changes

  • cachedb_sql, cachedb table - "PRIMARY KEY" attr added (f1fec17)
  • call_center, cc_agents table - new "last_call_end" column (4b366c5)
  • call_center, cc_calls table - NEW (2f6eb09)
  • dispatcher, dispatcher table - new "priority" column (6dc7261)
  • msilo, msilo table - DEFAULT "text/plain" removed (2e4b2d5)
  • siptrace, siptrace table - from_ip|to_ip split into 6 columns (b746032)
  • '''pua table new indexes added: (59061f1)
  • '''domain: attributes support (57ec0f3)
  • '''drouting: dr_partitions table added (c664d40)
  • '''dialplan : new timerec column (e71485f)
  • '''fraud_detection: new table (f8a72e8)
  • '''aliases table: various column property changes (1572ed0)
  • '''acc: new columns - "created" and "setuptime" (94cf5dd)
  • '''msilo "NULL" attribute added (e02a004)
March 12, 2015, at 01:27 PM by liviu -
Deleted lines 37-38:

\\

March 12, 2015, at 01:27 PM by liviu -
Deleted lines 40-41:

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

Changed lines 92-94 from:
to:

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

March 12, 2015, at 01:26 PM by liviu -
Changed lines 33-34 from:
to:


Added lines 38-39:

\\

March 12, 2015, at 01:26 PM by liviu -
Added line 36:

In order to migrate other SQL backends, the complete list of structural changes may be found below. However, if possible, we recommend re-creating the databases from scratch using the DB deployment tutorial.

March 12, 2015, at 01:08 PM by liviu -
Changed line 34 from:

NOTE that the migration tool is available only for MYSQL databases!

to:

NOTE that the migration tool is only available for MYSQL databases!

March 12, 2015, at 01:03 PM by liviu -
Changed line 14 from:

For MySQL users, you can easily migrate your 1.11.x OpenSIPS databases to the 2.1.0 format with the opensipsdbctl tool:

to:

For MySQL users, you can easily migrate your 1.11.x OpenSIPS databases to the 2.1.0 format with the opensipsdbctl tool (TODO: code this!):

March 12, 2015, at 01:01 PM by liviu -
Changed lines 6-7 from:

......................................................................................... TODO ..............................................................

to:

......................................................................................... TODO ..............................................................

Changed line 16 from:
   # opensipsdbctl migrate opensips_1_10 opensips_1_11
to:
   # opensipsdbctl migrate opensips_1_11 opensips_2_1
Changed line 19 from:
   > migrate opensips_1_10 opensips_1_11
to:
   > migrate opensips_1_11 opensips_2_1
Changed lines 23-25 from:

where :

  • opensips_1_10 is the existing DB name corresponding to version 1.10.x format
  • opensips_1_11 is the DB name to be created for 1.11 format
to:

where:

  • opensips_1_11 is the existing DB name corresponding to version 1.11.x format
  • opensips_2_1 is the DB name to be created for 2.1 format
March 12, 2015, at 12:59 PM by liviu -
Added lines 5-6:

......................................................................................... TODO ..............................................................

March 12, 2015, at 12:57 PM by liviu -
Changed lines 6-8 from:

This section is meant to provide useful help in migrating your OpenSIPS installations from the 1.10 version to 1.11.

You can find the all the new additions in the 1.11.0 release compiled under this page. The changelog may help your understanding of the migration / update process.

to:

This section is meant to provide useful help in migrating your OpenSIPS installations from the 1.11 version to the latest 2.1 release.

You can find the all the new additions compiled in the 2.1.0 release page. The changelog may improve your understanding of the migration / update process.

March 12, 2015, at 12:56 PM by liviu -
Added lines 5-38:

This section is meant to provide useful help in migrating your OpenSIPS installations from the 1.10 version to 1.11.

You can find the all the new additions in the 1.11.0 release compiled under this page. The changelog may help your understanding of the migration / update process.


DB migration

For MySQL users, you can easily migrate your 1.11.x OpenSIPS databases to the 2.1.0 format with the opensipsdbctl tool:

   # opensipsdbctl migrate opensips_1_10 opensips_1_11
   or
   # osipsconsole 
   > migrate opensips_1_10 opensips_1_11
   > quit
   # 

where :

  • opensips_1_10 is the existing DB name corresponding to version 1.10.x format
  • opensips_1_11 is the DB name to be created for 1.11 format

NOTE:

  • the old database will not be deleted, altered or changed - it will not be touched at all
  • new database will be created and data from old DB will be imported into it

NOTE that the migration tool is available only for MYSQL databases!

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


Script migration

(TODO)

March 11, 2015, at 07:20 PM by liviu -
Deleted line 26:
  • acc: new columns - "created" and "setuptime" (94cf5dd)
Added line 47:
  • acc: new columns - "created" and "setuptime" (94cf5dd)
March 11, 2015, at 07:07 PM by liviu -
Changed line 14 from:
  • %
to:
  • MI output structure changed: (34576f5 and 459dffb)
March 11, 2015, at 07:07 PM by liviu -
Changed lines 14-15 from:
  • %redMI output structure changed: (34576f5 and 459dffb)
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
to:
  • %
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
March 11, 2015, at 07:07 PM by liviu -
Changed lines 14-15 from:
  • MI output structure changed: (34576f5 and 459dffb)
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
to:
  • %redMI output structure changed: (34576f5 and 459dffb)
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
March 11, 2015, at 07:01 PM by liviu -
March 11, 2015, at 06:56 PM by liviu -
Added line 30:
  • json : $json will be set to NULL if parsing fails (8dfe15e3ce)
Changed line 33 from:
  • json : $json will be set to NULL if parsing fails (8dfe15e3ce)
to:
March 11, 2015, at 06:49 PM by liviu -
Changed line 29 from:
  • Contact Header : OpenSIPS no longer supports a "Contact: <>\r\n" header - imposed by RFC (608de67)
to:
  • Contact Header : OpenSIPS 2.1 no longer supports this syntax: "Contact: <>\r\n", as imposed by RFC3261 (608de67)
Changed line 52 from:
to:
March 11, 2015, at 06:48 PM by liviu -
Added line 29:
  • Contact Header : OpenSIPS no longer supports a "Contact: <>\r\n" header - imposed by RFC (608de67)
Deleted line 31:
Changed line 52 from:
to:
March 11, 2015, at 06:45 PM by liviu -
Changed line 28 from:
  • all tcp_ and tls_ timeouts are now given in milliseconds, instead of seconds
to:
  • all tcp_ and tls_ global timeout parameters are now given in milliseconds, instead of seconds
Changed line 52 from:
to:
March 11, 2015, at 06:45 PM by liviu -
Changed line 28 from:
  • asdasdasdasd
to:
  • all tcp_ and tls_ timeouts are now given in milliseconds, instead of seconds
Changed line 52 from:
to:
March 11, 2015, at 06:44 PM by liviu -
Added line 28:
  • asdasdasdasd
Deleted line 31:
Changed line 52 from:
to:
March 11, 2015, at 06:35 PM by liviu -
Added line 27:
  • acc: new columns - "created" and "setuptime" (94cf5dd)
Deleted line 31:
Changed line 52 from:
to:
March 11, 2015, at 06:27 PM by liviu -
Added lines 26-31:
  • MI output change: "opensipsctl ul show" output aligned to default JSON format (e8101df + eaa5f1a)
Changed line 52 from:
to:
March 11, 2015, at 06:24 PM by liviu -
Changed line 25 from:
to:
  • dialog : OpenSIPS no longer starts if dialog fails to establish an SQL DB connection (e2c77e4)
Deleted line 46:
March 11, 2015, at 06:14 PM by liviu -
Changed line 24 from:
to:
  • obsolete modules: mi_xmlrpc, auth_diameter, closeddial (d6c14c2)
March 11, 2015, at 06:01 PM by liviu -
Changed line 23 from:
to:
  • mi_xmlrpc_ng: default root path changed from "xmlrpc" to "RPC2" (e93a98b)
March 11, 2015, at 05:11 PM by liviu -
Deleted line 28:
  • msilo "NOT NULL" attribute removed (5c790aa)
Changed line 41 from:
to:
  • msilo "NULL" attribute added (e02a004)
March 11, 2015, at 05:09 PM by liviu -
Added line 22:
  • removed SSLv2 and SSLv3 support (4c56d98 and 06f9025)
Deleted line 25:
Deleted line 47:
March 11, 2015, at 04:56 PM by liviu -
Added lines 43-48:
March 11, 2015, at 04:56 PM by liviu -
Changed line 40 from:
  • fraud_detection table (f8a72e8)
to:
  • fraud_detection: new table (f8a72e8)
March 11, 2015, at 04:56 PM by liviu -
Changed line 41 from:
  • aliases: various column property changes (1572ed0)
to:
  • aliases table: various column property changes (1572ed0)
March 11, 2015, at 04:56 PM by liviu -
Changed line 41 from:
to:
  • aliases: various column property changes (1572ed0)
March 11, 2015, at 04:30 PM by liviu -
Changed line 40 from:
to:
  • fraud_detection table (f8a72e8)
March 11, 2015, at 04:10 PM by liviu -
Changed line 39 from:
  • dialplan : new timerec column; just migrate version table value (e71485f)
to:
  • dialplan : new timerec column (e71485f)
March 11, 2015, at 04:10 PM by liviu -
Changed line 39 from:
to:
  • dialplan : new timerec column; just migrate version table value (e71485f)
March 11, 2015, at 01:36 PM by liviu -
March 11, 2015, at 01:35 PM by liviu -
Changed line 38 from:
to:
  • drouting: dr_partitions table added (c664d40)
March 11, 2015, at 01:29 PM by liviu -
Changed line 37 from:
to:
  • domain: attributes support (57ec0f3)
March 11, 2015, at 01:24 PM by liviu -
Changed line 21 from:
to:
  • MI json : on invalid command, "{"error":"Internal server error"}" has been replaced with "{"error":"Command not found"}" (aaaf85c)
March 11, 2015, at 12:31 PM by liviu -
Changed line 36 from:
to:
  • pua table new indexes added: (59061f1)
March 10, 2015, at 05:48 PM by liviu -
Added line 20:
  • script : variables can now be assigned NULL variables (5ebc1ef)
Deleted line 25:
Deleted line 42:
March 10, 2015, at 05:46 PM by liviu -
Changed line 19 from:
to:
  • make: default prefix changed to "/usr/local" from "/usr" (84cfab2)
March 10, 2015, at 05:26 PM by liviu -
Changed line 35 from:
to:
  • siptrace: from_ip|to_ip -> split into 6 columns (b746032)
March 10, 2015, at 05:21 PM by liviu -
Changed line 18 from:
to:
  • MI output change: "opensipsctl fifo dr_gw_status" changed from "Enabled : yes/no" to "State : Disabled MI / Probing / Inactive / Active (3866e35)
March 10, 2015, at 05:07 PM by liviu -
Added line 17:
  • MI output change: "opensipsctl fifo ds_list" state instead of flags (45afa00)
Added lines 20-25:
Deleted line 42:
March 10, 2015, at 04:55 PM by liviu -
Changed line 16 from:
to:
  • MI output change: "opensipsctl fifo rtpproxy_show" structure change (213e777)
March 10, 2015, at 04:48 PM by liviu -
Changed lines 27-38 from:
to:
  • msilo DEFAULT "text/plain" removed (2e4b2d5)
March 10, 2015, at 04:42 PM by liviu -
Added line 15:
  • MI output change: "opensipsctl fifo dp_translate" now returns "404 - No translation" (f517529)
Deleted line 18:
Changed line 27 from:
to:
March 10, 2015, at 04:39 PM by liviu -
Changed line 27 from:
to:
March 10, 2015, at 04:39 PM by liviu -
Changed lines 26-27 from:
to:
  • dispatcher - new "priority" column (6dc7261)
March 10, 2015, at 03:55 PM by liviu -
Changed line 14 from:
  • MI output structure changed: (34576f5)
to:
  • MI output structure changed: (34576f5 and 459dffb)
Changed line 26 from:
to:
March 10, 2015, at 03:53 PM by liviu -
Changed line 14 from:
  • MI structure changed: (34576f5)
to:
  • MI output structure changed: (34576f5)
Changed line 26 from:
to:
March 10, 2015, at 03:53 PM by liviu -
Changed line 26 from:
to:
March 10, 2015, at 03:53 PM by liviu -
Added line 14:
  • MI structure changed: (34576f5)
Added lines 16-18:
Changed lines 25-26 from:
  • call_center - add "cc_calls" table (2f6eb09)
to:
  • call_center - add "cc_calls" table (2f6eb09)
March 10, 2015, at 03:12 PM by liviu -
Changed lines 18-21 from:
  • msilo "NOT NULL" attribute removed: 5c790aa
  • cachedb_sql "PRIMARY KEY" attr added: f1fec17
  • call_center - new "last_call_end" column: 4b366c5
to:
  • msilo "NOT NULL" attribute removed (5c790aa)
  • cachedb_sql "PRIMARY KEY" attr added (f1fec17)
  • call_center - new "last_call_end" column (4b366c5)
  • call_center - add "cc_calls" table (2f6eb09)
March 10, 2015, at 03:09 PM by liviu -
Changed lines 20-21 from:
to:
  • call_center - new "last_call_end" column: 4b366c5
March 10, 2015, at 02:57 PM by liviu -
Changed lines 12-13 from:
  • memcached driver bugfix: get() operations no longer create counters in case they do not exist (47cd18c)
to:
  • Memcached NoSQL driver bugfix: get() operations no longer create counters in case they do not exist (47cd18c)
  • Couchbase NoSQL driver bugfix: get() operations no longer create counters in case they do not exist (67023e9)
Changed line 20 from:
to:
March 10, 2015, at 02:52 PM by liviu -
Added line 12:
  • memcached driver bugfix: get() operations no longer create counters in case they do not exist (47cd18c)
Deleted line 13:
Changed line 19 from:
to:
March 10, 2015, at 02:49 PM by liviu -
Changed lines 18-19 from:
to:
  • cachedb_sql "PRIMARY KEY" attr added: f1fec17
March 10, 2015, at 02:37 PM by liviu -
Changed line 11 from:
  • F
to:
  • Advertised address with mutiple branches: if the advertised address of the first branch is changed, all new branches will start off with the changed value (ad92fa6)
Changed line 18 from:
to:
March 10, 2015, at 02:12 PM by liviu -
Changed lines 17-18 from:
  • "NOT NULL" attribute removed: 5c790aa
to:
  • msilo "NOT NULL" attribute removed: 5c790aa
March 10, 2015, at 02:12 PM by liviu -
Deleted line 6:
  • json : $json will be set to NULL if parsing fails (8dfe15e3ce)
Added lines 10-11:
  • Fix acc_evi_request() : now works properly (24bd3a8)
  • F
Added lines 13-17:
  • json : $json will be set to NULL if parsing fails (8dfe15e3ce)

List of dbschema changes

  • "NOT NULL" attribute removed: 5c790aa
March 10, 2015, at 01:34 PM by liviu -
March 10, 2015, at 01:34 PM by liviu -
Changed line 10 from:
  • MI t_uac fix: force_send_socket() operations done in local_route are now working (d37ae66)
to:
  • Fix SIP request generation: "opensips fifo t_uac_dlg" and the script t_new_request() function now properly handle any force_send_socket() operation done inside the local_route (d37ae66)
March 10, 2015, at 01:30 PM by liviu -
Changed lines 10-11 from:
to:
  • MI t_uac fix: force_send_socket() operations done in local_route are now working (d37ae66)
March 10, 2015, at 01:10 PM by liviu -
Changed lines 8-9 from:
  • MI format : Timeout is human-readable instead of UNIX timestamp in "opensipsctl fifo list_tcp_conns" (6ac1dc8251)
to:
  • MI format : "Timeout" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo list_tcp_conns" (6ac1dc8251)
  • MI format : "expires" field is now a human-readable date instead of UNIX timestamp in "opensipsctl fifo subs_phtable_list" (ddaf004)
March 10, 2015, at 01:08 PM by liviu -
Added line 8:
  • MI format : Timeout is human-readable instead of UNIX timestamp in "opensipsctl fifo list_tcp_conns" (6ac1dc8251)
March 05, 2015, at 07:01 PM by liviu -
Added lines 1-9:
Documentation -> Migration -> Migration from 1.11.x to 2.1.0

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


List of backwards-incompatible changes

  • json : $json will be set to NULL if parsing fails (8dfe15e3ce)

Page last modified on December 07, 2016, at 02:03 PM