Summary:ASTERISK-11152: [patch] live_ast: script to run asterisk without installing
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2008-01-04 18:55:34.000-0600Date Closed:2008-10-22 14:54:42
Versions:Frequency of
Environment:Attachments:( 0) live_ast
( 1) live_ast_2
( 2) live_ast_3
( 3) live_ast_4
( 4) live_ast_5
( 5) live_ast_6
Description:When you want to test a new version of asterisk it is often desirable not to fully install it on your system, as you want to keep your existing setup.

Asterisk installation includes not only the asterisk binary, but also a directory of modules, a directory of configuration files, log files, etc. This script automates the process of using a private copy of all the above without installing Asterisk on the system.

It generally works by installing asterisk under a subdirectory live/ (using DESTDIR), and then providing a few small adjustments to run it from there.

It may also be desireble to build and run that test copy of Asterisk vs. some experimental versions of libraries. The script includes simple support for using custom versions of zaptel and libpri, and other libraries are simple to add.
Comments:By: Tzafrir Cohen (tzafrir) 2008-01-22 08:29:02.000-0600

live_ast_2: a new version with:
* Now generates a sample live.conf on 'make samples'.
* Configuration variables renamed to have a common LIVE_AST_ prefix.
* Add an option to always delete menuselect.makeopts after configure, to avoid a build error after an svn update.

By: Tzafrir Cohen (tzafrir) 2008-04-16 14:46:47

A new version that disables (by default) two modules that will fail badly when binding to a port that is already in use and take Asterisk down with them (pbx_dundi.so and chan_h323.so). The rest of the binders seem to just fail with a warning and thus give us no troubles.

By: Tzafrir Cohen (tzafrir) 2008-05-12 18:05:20

live_ast_4: A few more clean-ups.
* A separate "conf-file" command to just generate live.conf before configure
* Separate variables for zaptel and for live_zap .
* documentation.

By: Tzafrir Cohen (tzafrir) 2008-07-02 15:34:32

Adjusting to DAHDI.

By: Tzafrir Cohen (tzafrir) 2008-08-08 04:59:47

live_ast_6: a few more generation options. No major change.

By: Paul Belanger (pabelanger) 2008-08-10 00:49:56

Just attaching myself to bug to monitor, since we've been using the script for a few weeks.

+1 for commit!  Thanks, tzafrir!

By: Leif Madsen (lmadsen) 2008-10-22 10:50:35

This seems like a pretty neat little idea; I like it! I've assigned it to Corydon76 for a code review, and if he determines this makes sense and should be set to Ready for Testing, he can assign it to me to remind me to test this before a commit. Thanks!

By: Digium Subversion (svnbot) 2008-10-22 14:54:40

Repository: asterisk
Revision: 151601

A   trunk/contrib/scripts/live_ast

r151601 | tilghman | 2008-10-22 14:54:40 -0500 (Wed, 22 Oct 2008) | 6 lines

Add a contributed script for running Asterisk without installing it, first.
(closes issue ASTERISK-11152)
Reported by: tzafrir
      live_ast_6 uploaded by tzafrir (license 46)