3.7 makes some changes to the cdrs and cdrs_archive tables, so "enswitch upgrade" may take some tens of minutes to run on larger systems.

To upgrade from Enswitch 3.6 to Enswitch 3.7

  1. If running Debian or Ubuntu, on all machines do:
    • apt-get install libnet-ip-perl libtext-csv-perl
  2. If running CentOS, Fedora, or Redhat Enterprise, on all machines do:
    • cpan Net::IP
    • cpan Text::CSV
  3. On all machines, check out /opt/enswitch/branches/3.7.
  4. On all machines, update the /opt/enswitch/current symlink.
  5. On the primary database machine, do:
    • enswitch upgrade
  6. On all machines, do:
    • enswitch restart
  7. Test calls and the web interface.
  8. On the primary database machine, do:
    • enswitch after_upgrade