<div dir="ltr">Dear tzaffrir,<br><br>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?<br><br>Regards<br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style><div class="gmail_quote">
On Mon, Jun 21, 2010 at 10:26 AM, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sat, Jun 19, 2010 at 05:32:58AM -0400, CDR wrote:<br>
> Could you send me details of your installation?<br>
<br>
</div>What you need is:<br>
<br>
1. Start asterisk with a custom asterisk.conf<br>
2. Fix pathes in asterisk.conf<br>
3. Fix other common resources, such as port numbers<br>
<br>
(3) is rather obvious: you can't have two Asterisk instances listening<br>
on UDP port 5060. Either fix the port number, or maybe you want only one<br>
of them to listen on SIP? Alternatively, keep multiple IP addresses, and<br>
assign one per instance.<br>
<br>
As for (2), look into contrib/scripts/live_ast[1]<br>
<br>
(1) takes a really simple tweak into any Asterisk startup script.<br>
Expecially if you already have a wrapper such as the one generated by<br>
live_ast. Stopping / Restarting it in a reliable way may be slightly<br>
more tricky, though. Specifically the test for "is the asterisk<br>
executable running" is not reliable enough, and you should probably rely<br>
solely on PID files, or on a babysitting parent process.<br>
<br>
[1] <a href="http://svn.digium.com/svn/asterisk/trunk/contrib/scripts/live_ast" target="_blank">http://svn.digium.com/svn/asterisk/trunk/contrib/scripts/live_ast</a><br>
<br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br></div>