[asterisk-users] multiple asterisks in a server
Klaus Darilion
klaus.mailinglists at pernau.at
Tue Feb 24 15:36:16 CST 2009
Klaus Darilion wrote:
> Rilawich Ango wrote:
>> Hi all,
>> Is it possible to install more than 1 asterisk in a single server?
>> If yes, what do I need to set and take care?
>
> Just to have several Asterisk instances on a single server you do not
> need to install it multiple times. Install it once and start it multiple
> times.
>
> Of course you have to have a dedicated configuration for each server, eg:
> /etc/asterisk/instance1/*
> /etc/asterisk/instance2/*
> /etc/asterisk/instance3/*
>
> Then you start the Asterisk process and specify the location of the
> asterisk.conf file.
>
> asterisk -C /etc/asterisk/instance1/asterisk.conf
> asterisk -C /etc/asterisk/instance2/asterisk.conf
> asterisk -C /etc/asterisk/instance3/asterisk.conf
>
> Further, in asterisk.conf specify for each asterisk instance a different
> location of: spool directory, PID file, ....
btw: I use a common /var/lib/asterisk/ as I want to have the same
"sounds" for all instances. This gives a problem when you use 1.4, as
1.4 can not configure the location of astdb. For these you have to apply
this patch:
http://bugs.digium.com/view.php?id=14257
regards
klaus
More information about the asterisk-users
mailing list