On Wed, Oct 06, 2010 at 01:30:06PM +0200, Olivier wrote:
> 2010/10/5 Nikhil
> > 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.