[asterisk-dev] How to rotate between Stable and Trunk versions

Rich Adamson radamson at routers.com
Thu May 25 05:32:22 MST 2006


Obelix wrote:
> I want to run a trunk version of Asterisk with the ability to switch back to a
> stable version.
> 
> Because they will be running with the same .conf files and call management
> database, I want to be able to switch between them just my running a simple
> script - either by copying them to and from their storage locations or by the
> use of file links, and changing some of the paths in asterisk.conf
> 
> Besides the bin and lib directories are there any other folders whose contents
> need to be checked?
> 
> I don't expect to change any configuration files or scripts unless they contain
> configuration options that are version specific.
> 
> Are there any such samples out there?

If the stable and trunk versions are relatively close, then...
  mv /usr/lib/asterisk/modules /usr/lib/asterisk/modules-stable
  mv /usr/lib/asterisk/modules-trunk /usr/lib/asterisk/modules
and restart asterisk.

Lots of assumptions in the above including zaptel, libpri, and any 
addons are compatible with both trunk and stable, etc.

R.




More information about the asterisk-dev mailing list