Table of Contents

Migrating OpenSER v1.2.2 to v1.3.0

This page is dedicated to the differences between versions 1.2.2 and 1.3.0 of OpenSER.

Changes in setup script commands

The database specific setup scripts like openser_postgres.sh or openser_mysql.sh are nolonger available. There are integrated into the openserdbctl command. In order to usethis command the database type must be specified in the openserctlrc config file.

1.2 syntax:

openser_postgresql.sh create

1.3 syntax:

openserdbctl create

Changes in Pseudo-variables

1.2 syntax:

$avp(id[N])
$hdr(name[N])
$(Cxy)

1.3 syntax:

$(avp(id)[N])
$(hdr(name)[N])
$C(xy) , $(C(xy))

Changes in core behaviour

The IPV6 DNS resolver and the automatic blacklisting are now disabled per default. If you want to use this feature in 1.3 you must enable itexplicitly. Add this statements to your config file:

dns_try_ipv6=yes
disable_dns_blacklist=no

Also, the unix socket support has been moved out of core into the 'mi_datagram' module. The 'unix_sock', 'unix_sock_children', and 'unix_tx_timeout' core parameters need to be migrated to 'modparam's.

Migrating Presence

The presence server has been restructured in version 1.3. To obtain the same functionality as in 1.2.2, two modules should be loaded: presence and presence_xml. The presence module parameters 'force_active' and 'xcap_table' were moved in presence_xml module. So, if setting these parameters is needed, the following lines: