[VoIP] Asterisk Startup

Greg Blakely greg at vyger.net
Thu Jan 10 21:36:38 CST 2008


Or, instead of the /etc/rc.local entries shown below, the /etc/inittab
could contain this entry:

ax:2345:respawn:/usr/sbin/asterisk -cq

That would re-start the program if it should crash.

You **will** still need to load the drivers through /etc/rc.local,
though, per the "modprobe" statements. 

> -----Original Message-----
> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] 
> On Behalf Of Lee Spenadel
> Sent: Thursday, January 10, 2008 6:52 AM
> To: 'Voice Over IP Tandem for Analog Switches'
> Subject: Re: [VoIP] Asterisk Startup
> 
> This is what I place in my /etc/rc.local to start asterisk 
> and load the drivers for my system.  Modify for your needs:
> 
> modprobe zaptel
> sleep 2
> modprobe tor2  #for the T1 card that I use sleep 2
> #modprobe wcfxo   #for the X100P card that I no longer use, 
> hence why it's
> commented out
> sleep 2
> ztcfg -vvvv
> asterisk
> touch /var/lock/subsys/local
> 
> Lee
> 
> -----Original Message-----
> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] 
> On Behalf Of Richard Lane
> Sent: Thursday, January 10, 2008 6:12 AM
> To: Voice Over IP Tandem for Analog Switches
> Subject: [VoIP] Asterisk Startup
> 
> Hi All,
> 
> I have a technical question.
> 
> How do I make asterisk load on startup. At the moment I need 
> to logon to the box and run asterisk -vvvvc
> 
> There must be a better way.
> 
> Richard
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> 


More information about the VoIP mailing list