[Asterisk-Users] Static Config?

2003-11-17 Thread Storm D. J. Petersen
Hi,

I'm new to asterisk.  After fiddling a bit I got it to work. It seems great.
One question though, is it possible to configure asterisk when it is
running?  i.e. add new phones or do you have to restart it every time you
want to make changes?

Thanks,


Storm.


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Static Config?

2003-11-17 Thread daryl
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Storm D. J. Petersen
> Sent: Monday, November 17, 2003 1:37 PM
> To: [EMAIL PROTECTED]
> Subject: [Asterisk-Users] Static Config?
> 
[...]
> 
> I'm new to asterisk.  After fiddling a bit I got it to work. 
> It seems great. One question though, is it possible to 
> configure asterisk when it is running?  i.e. add new phones 
> or do you have to restart it every time you want to make changes?
> 
[...]

Edit your config files and issue a "reload" from the CLI.  Shouldn't
even drop ongoing calls.
Daryl
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static Config?

2003-11-17 Thread Steven Critchfield
On Mon, 2003-11-17 at 12:37, Storm D. J. Petersen wrote:
> Hi,
> 
> I'm new to asterisk.  After fiddling a bit I got it to work. It seems great.
> One question though, is it possible to configure asterisk when it is
> running?  i.e. add new phones or do you have to restart it every time you
> want to make changes?

Depends on the type of changes you do. Changes to the dialplan are easy
and can be made with the reload command. Some services in asterisk
reread their config on each call so as to have the newest copy to use
all the time. Some changes need a restart. I think the zapata channels
require a restart. Of course if you are changing them, you probably are
in the middle of either hardware changes or initial setup, so restarting
isn't as inconvenient. I'm not sure about the VoIP drivers and how they
handle the configs as I haven't needed to worry about them of late.
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Static Config?

2003-11-17 Thread David Gomillion
One more important thing to note: you can issue a restart when
convenient (or type restw if you're lazy like me).  This
waits until the channels are free (correct me if I'm wrong).

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Steven Critchfield
> Sent: Monday, November 17, 2003 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Asterisk-Users] Static Config?
> 
> On Mon, 2003-11-17 at 12:37, Storm D. J. Petersen wrote:
> > Hi,
> >
> > I'm new to asterisk.  After fiddling a bit I got it to work. It
seems
> great.
> > One question though, is it possible to configure asterisk when it is
> > running?  i.e. add new phones or do you have to restart it every
time
> you
> > want to make changes?
> 
> Depends on the type of changes you do. Changes to the dialplan are
easy
> and can be made with the reload command. Some services in asterisk
> reread their config on each call so as to have the newest copy to use
> all the time. Some changes need a restart. I think the zapata channels
> require a restart. Of course if you are changing them, you probably
are
> in the middle of either hardware changes or initial setup, so
restarting
> isn't as inconvenient. I'm not sure about the VoIP drivers and how
they
> handle the configs as I haven't needed to worry about them of late.
> --
> Steven Critchfield  <[EMAIL PROTECTED]>
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Static Config?

2003-11-17 Thread Steven Critchfield
On Mon, 2003-11-17 at 14:02, David Gomillion wrote:
> One more important thing to note: you can issue a restart when
> convenient (or type restw if you're lazy like me).  This
> waits until the channels are free (correct me if I'm wrong).

While this is one of my favorite commands and I enjoy it immensely, it
also can cause some anxious moments when you are watching calls come and
go. I think I waited about 3 hours once just hoping to get it cleared to
restart asterisk once. 

If you don't mind a few missed calls but don't want to interupt ongoing
calls there is also the gracefully command. gracefully will stop
accepting new calls, and will either stop or restart when all calls
clear. 

> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:asterisk-users-
> > [EMAIL PROTECTED] On Behalf Of Steven Critchfield
> > Sent: Monday, November 17, 2003 1:01 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Asterisk-Users] Static Config?
> > 
> > On Mon, 2003-11-17 at 12:37, Storm D. J. Petersen wrote:
> > > Hi,
> > >
> > > I'm new to asterisk.  After fiddling a bit I got it to work. It
> seems
> > great.
> > > One question though, is it possible to configure asterisk when it is
> > > running?  i.e. add new phones or do you have to restart it every
> time
> > you
> > > want to make changes?
> > 
> > Depends on the type of changes you do. Changes to the dialplan are
> easy
> > and can be made with the reload command. Some services in asterisk
> > reread their config on each call so as to have the newest copy to use
> > all the time. Some changes need a restart. I think the zapata channels
> > require a restart. Of course if you are changing them, you probably
> are
> > in the middle of either hardware changes or initial setup, so
> restarting
> > isn't as inconvenient. I'm not sure about the VoIP drivers and how
> they
> > handle the configs as I haven't needed to worry about them of late.
> > --
> > Steven Critchfield  <[EMAIL PROTECTED]>
> > 
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users