Re: [asterisk-users] Automatically start after restart

2008-02-15 Thread Tzafrir Cohen
On Fri, Feb 15, 2008 at 09:05:43AM -0700, Anthony Francis wrote:
> 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.

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:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- 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


Re: [asterisk-users] Automatically start after restart

2008-02-15 Thread Anthony Francis
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
[EMAIL PROTECTED]


___
-- 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


Re: [asterisk-users] Automatically start after restart

2008-02-13 Thread Atis Lezdins
On 2/13/08, bilal ghayyad <[EMAIL PROTECTED]> wrote:
> 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

>
> 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 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
>
>
>
>   
> 
> 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.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

___
-- 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


Re: [asterisk-users] Automatically start after restart

2008-02-13 Thread bilal ghayyad
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 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



  

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


Re: [asterisk-users] Automatically start after restart

2008-02-12 Thread Emmanuel Favre-Nicolin
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

___
-- 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


Re: [asterisk-users] Automatically start after restart

2008-02-11 Thread Doug Lytle
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."



___
-- 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


Re: [asterisk-users] Automatically start after restart

2008-02-11 Thread Matt Riddell
-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-

___
-- 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