To upgrade from Kamailio 5.x to 5.8

  1. If running RTPengine at a version older than 11.5.1, re-install it with version 11.5.1 or later.
  2. Upgrade Kamailio:
    • mv /lib/kamailio /lib/kamailio-old || mv /lib64/kamailio /lib64/kamailio-old
    • enswitch install -u kamailio # If running a single machine
    • enswitch install -u kamailio-ha # If running Kamailio with heartbeat
    • enswitch install -u kamailio-cp # If running Kamailio with corosync and pacemaker
  3. Update configuration:
    • vi /etc/kamailio/kamailio.cfg # and change kamailio_5X.cfg to kamailio_58.cfg
  4. Restart Kamailio:
    • enswitch restart
  5. Check the Kamailio log for errors and test calls.