Saeed Akhtar
2009-Dec-30 11:59 UTC
[asterisk-users] multiple instances of asterisk on same machine
hi all, I have a little problem.... I'm using asterisk with opensips as opensips dispatches calls to asterisk. I have to use multiple asterisk servers but since for the time being im using 1 machine for testing i want to run different instances of asterisk running on 1 pc listening to different ports. Can someone please guide me how to do this? I'll be very thankful Regards, Saeed Akhtar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091230/62ed40d4/attachment.htm
On Wed, Dec 30, 2009 at 5:29 PM, Saeed Akhtar <saeedakhtar.484 at gmail.com>wrote:> hi all, > > I have a little problem.... I'm using asterisk with opensips as opensips > dispatches calls to asterisk. I have to use multiple asterisk servers but > since for the time being im using 1 machine for testing i want to run > different instances of asterisk running on 1 pc listening to different > ports. Can someone please guide me how to do this? I'll be very thankful > >how about configuring different config files in different folders and run asterisk to use that config files. ram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091230/a284f806/attachment.htm
Tzafrir Cohen
2009-Dec-30 14:11 UTC
[asterisk-users] multiple instances of asterisk on same machine
On Wed, Dec 30, 2009 at 04:59:11PM +0500, Saeed Akhtar wrote:> hi all, > > I have a little problem.... I'm using asterisk with opensips as opensips > dispatches calls to asterisk. I have to use multiple asterisk servers but > since for the time being im using 1 machine for testing i want to run > different instances of asterisk running on 1 pc listening to different > ports.Just for listening on different ports? With different dialplans? With different logs?> Can someone please guide me how to do this? I'll be very thankfulasterisk.conf (and the command-line option for using a custom location for one) is your friend. Do make sure every instance gets its own astvarrundir. Otherwise strange things would happen when you attempt to have more than one instance running. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir