[asterisk-users] multiple asterisks in a server

Geraint Lee geraint at gmail.com
Wed Feb 25 06:57:14 CST 2009


yes, you need to make sure bindaddr is set correctly in iax.conf, sip.conf,
dundi.conf, manager.conf and any other files that might include bindaddr for
BOTH instances of asterisk, you can't allow one to bind to all ip's and the
other just to bind to one - it won't work.

2009/2/25 Rilawich Ango <maillisting at gmail.com>

> It seems better to install once with multiple instances.  Do we need
> to take care the port or IP of each instance?
> - Show quoted text -
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090225/73444320/attachment.htm 


More information about the asterisk-users mailing list