View previous topic :: View next topic |
Author |
Message |
bilmar_gh at yahoo.com Guest
|
Posted: Mon Feb 11, 2008 2:44 pm Post subject: [asterisk-users] Automatically start after restart |
|
|
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 |
|
Back to top |
|
|
matt at venturevoip.com Guest
|
Posted: Mon Feb 11, 2008 3:12 pm Post subject: [asterisk-users] Automatically start after restart |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bilal ghayyad wrote:
Quote: | 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----- |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Mon Feb 11, 2008 3:18 pm Post subject: [asterisk-users] Automatically start after restart |
|
|
bilal ghayyad wrote:
Quote: | 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." |
|
Back to top |
|
|
manouchk at gmail.com Guest
|
Posted: Tue Feb 12, 2008 4:39 am Post subject: [asterisk-users] Automatically start after restart |
|
|
Le lundi 11 f?vrier 2008, bilal ghayyad a ?crit?:
Quote: | 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.
Quote: | 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
--
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 |
|
Back to top |
|
|
bilmar_gh at yahoo.com Guest
|
Posted: Wed Feb 13, 2008 5:38 am Post subject: [asterisk-users] Automatically start after restart |
|
|
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:
Quote: | Hi All;
How can I let Asterisk start automatically once the
machine restarted without need to type asterisk
| -cvvv?
Quote: |
Any script or something that can do that?
Also, in which command line screen (F1 or F2 or F3
| or
Quote: | ..?) 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 |
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Wed Feb 13, 2008 5:54 am Post subject: [asterisk-users] Automatically start after restart |
|
|
On 2/13/08, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote: | 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?
|
ROFL
Sorry, can't stop laughing...
Bilal, you should first learn netiquette, and read email completely.
You would find then, that answer is enclosed inline (as it's commonly
done in emails). SHA1 indicates hashing algorithm for signed email.
Regards,
Atis
Quote: |
I am using Fedora core 7.
Regards
Bilal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bilal ghayyad wrote:
Quote: | Hi All;
How can I let Asterisk start automatically once the
machine restarted without need to type asterisk
| -cvvv?
Quote: |
Any script or something that can do that?
Also, in which command line screen (F1 or F2 or F3
| or
Quote: | ..?) 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
_______________________________________________
-- 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
| --
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835 |
|
Back to top |
|
|
anthonyf at rockynet.com Guest
|
Posted: Fri Feb 15, 2008 11:05 am Post subject: [asterisk-users] Automatically start after restart |
|
|
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:
Quote: | bilal ghayyad wrote:
Quote: | 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 |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Fri Feb 15, 2008 11:35 am Post subject: [asterisk-users] Automatically start after restart |
|
|
On Fri, Feb 15, 2008 at 09:05:43AM -0700, Anthony Francis wrote:
Asterisk is a daemon. Why do you need to look at its output?
Check logger.conf, as well as your distro's logrotate. Or use rsyslog
that already knows how to rotate logs (mind you: asterisk as well).
Fedora have switched to it, and it seems that Debian will also do.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
|