Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-07 Thread Mark Coccimiglio
Tzafrir Cohen wrote: What I say is that you have the worse of both worlds: - downtime of at ~1/2 a minute (avarage, if a cron runs every minute). In the case a restart is all it take. - A bigger downtime in case a restart is not what it takes. Because your logs will be flooded. - And a

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-06 Thread Tzafrir Cohen
On Fri, May 04, 2007 at 09:59:36PM -1000, Mark Coccimiglio wrote: > Tzafrir; > Actually I have found this config to work really well. I prefer to > use a script run from inittab but Ubuntu doesn't work like Redhat or > BSD. On a production box keeping asterisk up and running is "THE TOP" > p

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-05 Thread Remco Post
Tzafrir Cohen wrote: > On Sat, May 05, 2007 at 06:23:43PM +0200, Remco Post wrote: >> Mark Coccimiglio wrote: >>> Tzafrir; >>>Actually I have found this config to work really well. I prefer to >>> use a script run from inittab but Ubuntu doesn't work like Redhat or >>> BSD. On a production bo

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-05 Thread Tzafrir Cohen
On Sat, May 05, 2007 at 06:23:43PM +0200, Remco Post wrote: > Mark Coccimiglio wrote: > > Tzafrir; > >Actually I have found this config to work really well. I prefer to > > use a script run from inittab but Ubuntu doesn't work like Redhat or > > BSD. On a production box keeping asterisk up an

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-05 Thread Remco Post
Mark Coccimiglio wrote: > Tzafrir; >Actually I have found this config to work really well. I prefer to > use a script run from inittab but Ubuntu doesn't work like Redhat or > BSD. On a production box keeping asterisk up and running is "THE TOP" > priority. If you would rather check every fi

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-05 Thread Mark Coccimiglio
Tzafrir; Actually I have found this config to work really well. I prefer to use a script run from inittab but Ubuntu doesn't work like Redhat or BSD. On a production box keeping asterisk up and running is "THE TOP" priority. If you would rather check every five minutes then replace the fi

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Tzafrir Cohen
On Fri, May 04, 2007 at 01:59:41PM -1000, Mark Coccimiglio wrote: > What I do is add an entry in the crontab file as such: > > * * * * * if [ ! `/bin/pidof -s asterisk` ] ; then /usr/sbin/asterisk; fi > > Its simple and it works. Additionally if asterisk crashes then cron > restarts the serv

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Mark Coccimiglio
What I do is add an entry in the crontab file as such: * * * * * if [ ! `/bin/pidof -s asterisk` ] ; then /usr/sbin/asterisk; fi Its simple and it works. Additionally if asterisk crashes then cron restarts the server in about a minute. Just be careful with your configs. Mark Coccimiglio

Re: Re[2]: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Yuan LIU
From: James Texter <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 12:28:39 -0500 If you do "make config" when compiling zaptel and asterisk, it should put the script in /etc/init.d, and add the relevant entries to the various start levels. Not with 1.4 at least. makefile is not looking in the righ

Re[2]: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Christian
Hi, Many thanks got it working now. All the best, Christian On 2007-05-04 at 13:31 Nitesh Divecha wrote: >Christian, > >You can follow this procedure > >http://www.aussievoip.com/wiki/freePBX-Ubuntu > > >Regards, >Nitesh > > > > > > > > > >Christian wrote: >> Hi, >> I have already done: >> apt-g

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Tzafrir Cohen
On Fri, May 04, 2007 at 01:31:19PM -0400, Nitesh Divecha wrote: > Christian, > > You can follow this procedure > > http://www.aussievoip.com/wiki/freePBX-Ubuntu If you like hard work, that is. I wonder how our frePBX debs fare on Ubuntu (deb http://updates.xorcom.com etch main ). Theretically t

Re: Re[2]: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread James Texter
If you do "make config" when compiling zaptel and asterisk, it should put the script in /etc/init.d, and add the relevant entries to the various start levels. Thanks, James Texter On Fri, 2007-05-04 at 18:44 +0200, Christian wrote: > Hi, > I have already done: > apt-get build-dep asterisk and t

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Nitesh Divecha
Christian, You can follow this procedure http://www.aussievoip.com/wiki/freePBX-Ubuntu Regards, Nitesh Christian wrote: Hi, I have already done: apt-get build-dep asterisk and then installed libpri, zaptel and asterisk from the latest sources. So what should i do then? New to Ubuntu

Re[2]: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Christian
Hi, I have already done: apt-get build-dep asterisk and then installed libpri, zaptel and asterisk from the latest sources. So what should i do then? New to Ubuntu. many thanks, Christian On 2007-05-04 at 17:00 Tzafrir Cohen wrote: >On Fri, May 04, 2007 at 02:04:55PM +0200, Christian wrote: >>

Re: [asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Tzafrir Cohen
On Fri, May 04, 2007 at 02:04:55PM +0200, Christian wrote: > Hi all, > Could someone please tell me how to make Asterisk start at boot on Ubuntu > Feisty 7.04? > Many thanks, > Christian > apt-get install asterisk Look at the init.d scripts. Note that in Ubuntu, subdirectories under /var/run

[asterisk-users] Starting Asterisk on Ubuntu 7.04

2007-05-04 Thread Christian
Hi all, Could someone please tell me how to make Asterisk start at boot on Ubuntu Feisty 7.04? Many thanks, Christian ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http