This is an old revision of the document!


Upgrade from 3.1.x to 3.2.x

Database Structure

This sections presents notes, listed by modules, about the structure of database tables that existed in v3.1.x and changed during development of v3.2.0.

modules_k/acc

  • table acc
    • callid column has now the size varchar(255)
  • table missed_calls
    • callid column in has now the size varchar(255)

modules_k/acc

  • table htable
    • table version is 2
    • new column: expires INT DEFAULT 0 NOT NULL

modules/lcr

  • table lcr_gw
    • table version is 2.
    • Renamed lcr_gw table column 'tag' to 'prefix'.
    • Added new lcr_gw table column 'tag': tag VARCHAR(64) DEFAULT NULL.
    • Script modules/lcr/utils/lcr_upgrade_from_3.1.sh can be used to perform the upgrade of lcr_gw table.

modules_k/presence

  • table active_watchers
    • callid column has now the size varchar(255)

modules_k/pua

  • table pua
    • table version is 7
    • call_id column has now the size varchar(255)
    • pres_id column has now the size varchar(255)

modules_k/rls

  • table rls_presentity
    • table version is 1
    • content_type column has now the size varchar(255)
    • callid column has now the size varchar(255)
    • contact column has now the size varchar(128)

modules_k/siptrace

  • table sip_trace
    • table version is 3
    • new columns: time_us INT UNSIGNED DEFAULT 0 NOT NULL
    • msg column has the type: MEDIUMTEXT

modules_k/xcap_client

  • table xcap
    • table version is 4
    • doc column has the type: MEDIUMBLOB
    • doc_uri column has now the size varchar(255)

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.

Navigation

Wiki

Other

QR Code
QR Code install:3.1.x-to-3.2.x (generated for current page)