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.<br>
<br><div class="gmail_quote">2009/2/25 Rilawich Ango <span dir="ltr"><<a href="mailto:maillisting@gmail.com">maillisting@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It seems better to install once with multiple instances. Do we need<br>
to take care the port or IP of each instance?<br>
<div><div><span id="q_11fab256c89908f5_1" class="h4">- Show quoted text -</span></div><div class="h5"><br>
On Wed, Feb 25, 2009 at 5:36 AM, Klaus Darilion<br>
<<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>> wrote:<br>
> Klaus Darilion wrote:<br>
>> Rilawich Ango wrote:<br>
>>> Hi all,<br>
>>> Is it possible to install more than 1 asterisk in a single server?<br>
>>> If yes, what do I need to set and take care?<br>
>><br>
>> Just to have several Asterisk instances on a single server you do not<br>
>> need to install it multiple times. Install it once and start it multiple<br>
>> times.<br>
>><br>
>> Of course you have to have a dedicated configuration for each server, eg:<br>
>> /etc/asterisk/instance1/*<br>
>> /etc/asterisk/instance2/*<br>
>> /etc/asterisk/instance3/*<br>
>><br>
>> Then you start the Asterisk process and specify the location of the<br>
>> asterisk.conf file.<br>
>><br>
>> asterisk -C /etc/asterisk/instance1/asterisk.conf<br>
>> asterisk -C /etc/asterisk/instance2/asterisk.conf<br>
>> asterisk -C /etc/asterisk/instance3/asterisk.conf<br>
>><br>
>> Further, in asterisk.conf specify for each asterisk instance a different<br>
>> location of: spool directory, PID file, ....<br>
><br>
> btw: I use a common /var/lib/asterisk/ as I want to have the same<br>
> "sounds" for all instances. This gives a problem when you use 1.4, as<br>
> 1.4 can not configure the location of astdb. For these you have to apply<br>
> this patch:<br>
> <a href="http://bugs.digium.com/view.php?id=14257" target="_blank">http://bugs.digium.com/view.php?id=14257</a><br>
><br>
> regards<br>
> klaus<br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>