To upgrade from OpenSIPS 1.4 to 1.7
- Make sure the latest Enswitch fixes are installed.
- Do:
- cd /etc/opensips
- cp opensips.cfg opensips.cfg-1.4
- Make the following changes to opensips.cfg:
- Add 'loadmodule "signaling.so"' just above the other loadmodule lines.
- Remove 'loadmodule "xlog.so"'.
- Change '$avp(i:42)' to '$avp(42)' in the 'modparam( "nathelper|registrar", "received_avp", "$avp(i:42)" )' line.
- Remove 'modparam( "registrar", "append_branches", 1 )'.
- Remove 'modparam( "rr", "enable_full_lr", 1 )'.
- Remove 'modparam( "usrloc", "fetch_rows", 500 )'.
- In /opt/enswitch/current/bin/enswitch_install, change $ser_version to '1.7.2' and $ser_dir to '1.7.2-tls'.
- Do:
- enswitch sql "update version set table_version=1006 where table_name='location'"
- enswitch sql "update version set table_version=7 where table_name='phones'"
- enswitch install -u opensips
- Do "ps -ef | grep opensips" and check that OpenSIPS is running and that all the processes started at the expected time.
- Test calls.
Should you need to revert, the 1.4 database table versions are 1004 for location and 6 for phones.