3.1 makes no changes to the "cdrs" or "cdrcosts" tables, so the database upgrade should run in less than a minute on most installations.

To upgrade from Enswitch 3.0 to Enswitch 3.1

  1. On all machines, check out /opt/enswitch/branches/3.1.
  2. On all machines, update the /opt/enswitch/current symlink.
  3. On the primary database machine, do:
    • enswitch drop_foreign_keys
    • enswitch upgrade
  4. On all machines, do:
    • enswitch restart
  5. Under System » Roles, edit any roles that are not shipped with Enswitch by default, setting access as desired, and save the role.
  6. Test calls and the web interface.
  7. On the primary database machine, do:
    • enswitch after_upgrade