To upgrade from OpenSIPS or OpenSER to Kamailio on a single machine
- Do:
		
- cpan Math::BigInt::FastCalc
 - enswitch install kamailio
 - vi /etc/kamailio/kamailio.cfg # and set the database URL
 - service openser stop
 - service opensips stop
 - enswitch kamailio_tables
 - service kamailio restart
 
 - If running Debian or Ubuntu, do:
		
- rm -f /etc/init.d/opensips /etc/init.d/openser
 - update-rc.d openser remove
 - update-rc.d opensips remove
 
 - If running CentOS, Fedora, or Redhat, do:
		
- chkconfig openser off
 - chkconfig opensips off
 - rm -f /etc/init.d/opensips /etc/init.d/openser
 
 
To upgrade from OpenSIPS or OpenSER to Kamailio on a pair of machines running heartbeat
Do each command on both machines before continuing to the next command.
- Do, on both machines simultaneously:
		
- cpan Math::BigInt::FastCalc
 - enswitch install kamailio-ha
 - vi /etc/kamailio/kamailio.cfg # and set the database URL
 - service heartbeat stop
 - vi /etc/ha.d/haresources # and change "opensips" or "openser" to "kamailio"
 - enswitch kamailio_tables # only needs done on one machine
 - service heartbeat start
 - rm /etc/ha.d/resource.d/opensips /etc/ha.d/resource.d/openser
 
 - Test a failover and fail back.
 
Should you need to revert to OpenSIPS, the table_version for location is 1004.
