[SR-Users] Running both 4.3 and 4.4 with the same database with permission module

Daniel Tryba d.tryba at pocos.nl
Thu Aug 18 12:29:25 CEST 2016


I want to upgrade my cluster from 4.3 to 4.4, beginning with the spare
for live testing. But since there is a change to the trusted table
(which we don't use, only address) this isn't possible without some
tricks. There is no override for skipping the version check on any
permissions table.

I need to share the subscriber/location/address/usr_preferences and
db_aliases tables between the 4.3 and 4.4 machines. The only thing I can
think of is:
-patch the permissions module to accept the old version of trusted
-create a 4.4 database and use federated tables to access the 4.3 data

Not hard to implement any of these 2, but some other modules have the
option to skip these checks, eg: 
http://www.kamailio.org/docs/modules/4.4.x/modules/auth_db.html#auth_db.p.version_table

Is there a reason not all modules have this flag (which you could use at
your own risk)? Or am I missing something here?



More information about the sr-users mailing list