[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Oct 10 09:11:26 CDT 2010


On Wed, Oct 06, 2010 at 01:30:06PM +0200, Olivier wrote:
> 2010/10/5 Nikhil <d.nikhil at cem-solutions.net>
> 
> >  Hi
> > We can run multiple instance of asterisk in same box with different IP
> > and port. U need to install asterisk in different location eg: 1:
> > /home/asterisk1/ 2 , : /home/asterisk2 ,and run both from that path ,
> > listen ip and port should be different.
> >
> > command to run:
> >
> > $ /home/asterisk1/usr/sbin/asterisk -g for first asterisk
> > $ /home/asterisk2/usr/sbin/asterisk -g for second asterisk
> >
> 
> How do you then dealt with /etc/init.d/asterisk scripts ?
> One per instance ?

I suppose that  - yes. Note that you may also need to point the init.d
script to the PID file, depending on the settings.

-- 
               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



More information about the asterisk-users mailing list