<div dir="ltr"><br>
<br><br><div class="gmail_quote">On Wed, Dec 30, 2009 at 7:11 PM, 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Dec 30, 2009 at 04:59:11PM +0500, Saeed Akhtar wrote:<br>
> hi all,<br>
><br>
> I have a little problem.... I'm using asterisk with opensips as opensips<br>
> dispatches calls to asterisk. I have to use multiple asterisk servers but<br>
> since for the time being im using 1 machine for testing i want to run<br>
> different instances of asterisk running on 1 pc listening to different<br>
> ports.<br>
<br>
</div>Just for listening on different ports? With different dialplans? With<br>
different logs?<br></blockquote><div><br></div><div>no issue with dialplan. Only listening to different ports will work. i'm testing opensips' capability not asterisk's. same log and same dialplan will work.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
> Can someone please guide me how to do this? I'll be very thankful<br>
<br>
</div>asterisk.conf (and the command-line option for using a custom location<br>
for one) is your friend.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Do make sure every instance gets its own astvarrundir. Otherwise strange<br>
things would happen when you attempt to have more than one instance<br>
running.<br></blockquote><div><br></div><div><br></div><div>i think you are referring to 'asterisk -C <configfile>' option. I copied /etc/asterisk to /etc/asterisk1 and changed astetcdir and astrundir. then i ran it and it gave me error that dundi port binding conflict so i configured different port in dundi.conf and that error resolved. But now I dont know how to make two asterisk instances to listen on different ports. I registered a sip phone with default port and it registered with the second one. Now I want to ask how to make asterisk to listen on different ports? </div>
<div><br></div><br><br>Regards,<br><br>Saeed Akhtar<br><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><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><div><div></div><div class="h5"><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></div>