Changes

From SME Server
Jump to navigationJump to search
1,903 bytes added ,  16:07, 29 January 2018
FreePBX and Asterisk on Koozali SME Server
Line 253: Line 253:  
  db yum_repositories setprop asterisk-current Exclude php-*
 
  db yum_repositories setprop asterisk-current Exclude php-*
 
  signal-event yum-modify
 
  signal-event yum-modify
 +
 +
===Migration from earlier versions===
 +
 +
There is currently no upgrade path between versions. Backup/Restore will most likely not work.
 +
Apparently this is planned for v14+
 +
 +
In the meantime some notes on manually upgrading. This was based on moving from asterisk 1.8.x and an old version of FreepBX.
 +
 +
First, make sure you backup ABSOLUTELY everything. In different ways and in different places.
 +
 +
A straight copy of /etc/asterisk and /opt/freepbx plus a complete database dump at least.
 +
 +
It will be better if you have a completely clean install, preferably on a VM where you can snapshot the basic install and go back if you need to.
 +
 +
I took a copy of the freepbx DB and imported it completely into a different server. I could then do a side by side comparison of tables and data.
 +
 +
Here are some basic tables that you will need, though they may not all be required depending on your configuration
 +
 +
General
 +
 +
modules (for reference as to what you already have installed)
 +
sip (most entries required, but manual checking required)
 +
sipsettings (for reference - do not INSERT)
 +
freepbxsettings (for reference - do not INSERT)
 +
 +
Trunks and Routes
 +
trunks
 +
trunk_dialpatterns
 +
incoming
 +
outbound_routes
 +
outbound_route_patterns
 +
outbound_routes_sequence
 +
outbound_route_trunk
 +
 +
Other
 +
ringgroups
 +
queueprio
 +
queues_config
 +
queues_details
 +
 +
Device and User mode
 +
devices
 +
users
 +
 +
Extension mode
 +
extensions
 +
 +
freepbx_users - does not exist in v13
 +
 +
I exported each table and a table from the new install to compare, particularly items like field lengths, and KEYS. Some old tables did not have Primary keys set.
 +
 +
I then copied the 'INSERT INTO' section into phpmyadmin/sql section on the new server.
 +
 +
If you swap from Extension to Device and User mode I found that once I had inserted the data I had to go into FreePBX, open each record, and Submit, finally followed by Apply Config. This seemed to update the DB.
 +
 +
 +
    
= Security =
 
= Security =

Navigation menu