[asterisk-users] multiple asterisks in a server

Klaus Darilion klaus.mailinglists at pernau.at
Wed Feb 25 04:40:27 CST 2009



Rilawich Ango schrieb:
> It seems better to install once with multiple instances.  Do we need
> to take care the port or IP of each instance?

of course you have to.

> 
> On Wed, Feb 25, 2009 at 5:36 AM, Klaus Darilion
> <klaus.mailinglists at pernau.at> wrote:
>> 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
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list