[asterisk-users] Installing Dahdi, libpri of different versions in one pc

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Mar 13 04:15:48 CDT 2012


On Tue, Mar 13, 2012 at 01:07:55PM +0530, Gopalakrishnan N wrote:
> Hi,
> 
> I would like to install Dahdi, libpri and Asterisk of different versions in
> one machine. Lets say, Asterisk 1.6.X, Asterisk 1.8.x and Asterisk 1.4.x to
> be installed in one machine, this can be done using prefix while building
> configure.
> 
> For dahdi, libpri can it be done in same way? Because I need to test
> telephony cards (PRI, BRI, GSM & Transcoding) with different versions of
> Asterisk, libpri and Dahdi, I can't remove and install again of each
> versions since it is time consuming, sicne there are lot of versions
> available.

Take a look at contrib/scripts/live_ast in the source tree of Asterisk.
It's intended to run a "private" copy of Asterisk. There's also support
there for using "private" copies of libpri and DAHDI if you actually
need that.

Alternatively, build every combination in its own chroot.

In both cases, DAHDI kernel modules you actually load are system-global.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list