[asterisk-dev] Muti Asterisk

michel freiha michofr at gmail.com
Mon Jun 21 03:04:26 CDT 2010


Dear tzaffrir,

What is the problem if I run multiple Asterisk on different IPs but on the
same Port? I think there is no issue with that...I'm right?

Regards

On Mon, Jun 21, 2010 at 10:26 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> On Sat, Jun 19, 2010 at 05:32:58AM -0400, CDR wrote:
> > Could you send me details of your installation?
>
> What you need is:
>
> 1. Start asterisk with a custom asterisk.conf
> 2. Fix pathes in asterisk.conf
> 3. Fix other common resources, such as port numbers
>
> (3) is rather obvious: you can't have two Asterisk instances listening
> on UDP port 5060. Either fix the port number, or maybe you want only one
> of them to listen on SIP? Alternatively, keep multiple IP addresses, and
> assign one per instance.
>
> As for (2), look into contrib/scripts/live_ast[1]
>
> (1) takes a really simple tweak into any Asterisk startup script.
> Expecially if you already have a wrapper such as the one generated by
> live_ast. Stopping / Restarting it in a reliable way may be slightly
> more tricky, though. Specifically the test for "is the asterisk
> executable running" is not reliable enough, and you should probably rely
> solely on PID files, or on a babysitting parent process.
>
> [1] http://svn.digium.com/svn/asterisk/trunk/contrib/scripts/live_ast
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100621/8d14422d/attachment.htm 


More information about the asterisk-dev mailing list