Hi All; How can I let Asterisk start automatically once the machine restarted without need to type asterisk -cvvv? Any script or something that can do that? Also, in which command line screen (F1 or F2 or F3 or ..?) I will find it? Regards Bilal ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bilal ghayyad wrote:> Hi All; > > How can I let Asterisk start automatically once the > machine restarted without need to type asterisk -cvvv? > > Any script or something that can do that? > > Also, in which command line screen (F1 or F2 or F3 or > ..?) I will find it?Use the asterisk init scripts or safe_asterisk: 1. type "make config" after you finish compiling and installing Asterisk 2. type "service asterisk start" (in Fedora/CentOS etc) or "/etc/init.d/asterisk start" in other distros 3. type "asterisk -r" to connect to the process or do the same but using "safe_asterisk" instead of the scripts. The benefit of the make config stuff is that you can then do "chkconfig asterisk on" to make Asterisk start up automatically on boot. - -- Kind Regards, Matt Riddell Director _______________________________________________ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHsKwSDQNt8rg0Kp4RAumrAJ9Kxo3Q09oiwA91wZteQWf56A2PXgCgnbpO 6Z54r5N4d/xXGtXHEVTpr4Y=X2An -----END PGP SIGNATURE-----
bilal ghayyad wrote:> Any script or something that can do that? >The scripts are located in the Asterisk source directory under contrib/init.d Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Emmanuel Favre-Nicolin
2008-Feb-12 09:39 UTC
[asterisk-users] Automatically start after restart
Le lundi 11 f?vrier 2008, bilal ghayyad a ?crit?:> Hi All; > > How can I let Asterisk start automatically once the > machine restarted without need to type asterisk -cvvv?you need a init script. Depends on your distribution. It looks like some packages exists : asterisk-initscript for example.> Any script or something that can do that? > > Also, in which command line screen (F1 or F2 or F3 or > ..?) I will find it?asterisk -rvvv ? man asterisk> Regards > Bilal > > > > ___________________________________________________________________________ >_________ Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Cordialement, Dr Emmanuel Favre-Nicolin rua Genserico Encarna?ao 130/407 Mata da Praia VIT?RIA - ES - BR?SIL Tel : (+55) (0) 27-3082 7262
Dear Matt; Special thanks for you, but I did not understand what u mean by: Hash: SHA1? Do u mean to type SHA1 from the putty when I am connected remotely? I tried that and I did not find such command, but rather I found commands like sha1sum, sha224sum, sha256sum, ... Can u advise what exactly meant by SHA1 and from where to be typed? I am using Fedora core 7. Regards Bilal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bilal ghayyad wrote:> Hi All; > > How can I let Asterisk start automatically once the > machine restarted without need to type asterisk-cvvv?> > Any script or something that can do that? > > Also, in which command line screen (F1 or F2 or F3or> ..?) I will find it?Use the asterisk init scripts or safe_asterisk: 1. type "make config" after you finish compiling and installing Asterisk 2. type "service asterisk start" (in Fedora/CentOS etc) or "/etc/init.d/asterisk start" in other distros 3. type "asterisk -r" to connect to the process or do the same but using "safe_asterisk" instead of the scripts. The benefit of the make config stuff is that you can then do "chkconfig asterisk on" to make Asterisk start up automatically on boot. - -- Kind Regards, Matt Riddell Director ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
I actually use daemon tools http://cr.yp.to/daemontools/daemontools-0.76.tar.gz I like it because its log handling features, it takes the stdout of asterisk and puts it in a log directory and automatically rotates the files. Doug Lytle wrote:> bilal ghayyad wrote: > >> Any script or something that can do that? >> >> > > > The scripts are located in the Asterisk source directory under > contrib/init.d > > Doug > >-- Thank you and have a wonderful day, Anthony Francis Rockynet VOIP (303) 444-7052 opt 2 voip at rockynet.com