RE: [Asterisk-Users] Asterisk on Fedora Core 2 startup script

2005-05-05 Thread Colin Anderson
I like easy questions! 

Add to /etc/rc.d:

modprobe wctdm
ztcfg -vv
su yourasteriskuser /usr/sbin/safe_asterisk 

where yourasteriskuser is the user that you normally run Asterisk under.
Omit the su yourasteriskuser if you are running Asterisk as root.
safe_asterisk is a watchdog script that restarts Asterisk if it craps out.
The  Ampersand runs it as a background process, returning control to the
tty and allowing you to log into the console. 

hth



-Original Message-
From: Jeff Ramsey
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: 5/5/2005 6:00 PM
Subject: [Asterisk-Users] Asterisk on Fedora Core 2 startup script

I need an rc script that will autorun the module for the wctdm and then
follow that by running asterisk. A first look at google tells me to try
this
list.

Thanks,
-- 
Jeff Ramsey


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk on Fedora Core 2 startup script

2005-05-05 Thread Rich Adamson

 I need an rc script that will autorun the module for the wctdm and then
 follow that by running asterisk. A first look at google tells me to try this
 list.

Take a look at 'make config' in both the zaptel and asterisk src directories.
It should install the scripting necessary.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk on Fedora Core 2 startup script

2005-05-05 Thread Greg Boehnlein
On Thu, 5 May 2005, Colin Anderson wrote:

 I like easy questions! 
 
 Add to /etc/rc.d:
 
 modprobe wctdm
 ztcfg -vv
 su yourasteriskuser /usr/sbin/safe_asterisk 
 
 where yourasteriskuser is the user that you normally run Asterisk under.
 Omit the su yourasteriskuser if you are running Asterisk as root.
 safe_asterisk is a watchdog script that restarts Asterisk if it craps out.
 The  Ampersand runs it as a background process, returning control to the
 tty and allowing you to log into the console. 

Or, you could just use the pre-existing scripts:

/usr/src/zaptel/zaptel.init

and

/usr/src/asterisk/contrib/init.d/rc.redhat.asterisk

They work.

-- 
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users