3.3 adds the "taxed" column to the "cdrs" table, so the database upgrade may take up to an hour on systems with many stored CDRs.

To upgrade from Enswitch 3.2 to Enswitch 3.3

  1. On all machines, check out /opt/enswitch/branches/3.3.
  2. On all machines, update the /opt/enswitch/current symlink.
  3. On the primary database machine, do:
    • enswitch upgrade
  4. Remove these lines from opensips.cfg or openser.cfg, as this functionality has been moved to Enswitch:
    modparam( "nathelper", "natping_interval", 240 )
    modparam( "nathelper", "ping_nated_only", 1 )
    modparam( "nathelper", "sipping_bflag", 1 )
    modparam( "nathelper", "sipping_from", "sip:keepalive@enswitch" )
  5. Move these lines in opensips.cfg or openser.cfg from their current location to just above the "perl_exec( "Integrics::Enswitch::OpenSIPS::from_user" );" line:
    if ( method == "OPTIONS" || method == "PING" || method == "PUBLISH" ) {
    sl_send_reply( "200", "OK" );
    exit;
    }
  6. On all machines, do:
    • enswitch restart
  7. Test calls and the web interface.
  8. On the primary database machine, do:
    • enswitch after_upgrade