This is an old revision of the document!
Table of Contents
Upgrade from 3.1.x to 3.2.x
Database Structure
The structure of following DB tables that existed in v3.1.x was changed.
modules/lcr tables
- Renamed lcr_gw table column 'tag' to 'prefix'.
- Added new lcr_gw table column 'tag': tag VARCHAR(64) DEFAULT NULL.
- Increased lcr_gw table version to 2.
- Script modules/lcr/utils/lcr_upgrade_from_3.1.sh can be used to perform the upgrade of lcr_gw table.
modules_k/xcap_client
- table version for xcap is 4
Modules
modules/lcr
- Renamed 'dont_strip_or_tag_flag' module parameter to 'dont_strip_or_prefix_flag'.
- Added new optional 'tag_avp' module parameter and made 'lcr_flags' module parameter optional.
- If 'tag_avp' module parameter is defined, gateway's tag field value is assigned to the AVP by next_gw() and from_gw() functions.
- load_gws() syntax has changed from load_gws(lcr_id[, caller_uri]) to load_gws(lcr_id[, uri_user[, caller_uri]]).
- [to|from][_any]_gw() functions now check also transport protocol of gateway.
- [to|from]_gw() syntax has changed from [to|from]_gw(lcr_id[, ip_addr]) to [to|from]_gw(lcr_id[, ip_addr, proto]).
- [to|from]_any_gw() syntax has changed from [to|from]_any_gw([ip_addr]) to [to|from]_any_gw([ip_addr, proto]).
modules/utils
- New function is_int(pvar) that returns true if pvar argument has integer value.