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

Alex Hermann alex at speakup.nl
Thu Aug 18 15:50:53 CEST 2016


On donderdag 18 augustus 2016 12:29:25 CEST Daniel Tryba wrote:
> 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.

The changes are backwards compatible with the old version. You can just use 
another "version" table on the new instance.

http://sip-router.org/wiki/cookbooks/core-cookbook/devel#version_table

Seems docs haven't made it to kamailio.org.


> 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.ve
> rsion_table

IMHO that option needs to be removed.
-- 
Greetings,

Alex Hermann





More information about the sr-users mailing list