Hi Jeng,

>From the Asterisk CLI type "stop gracefully" and it will do exactly what you
described (stop accepting calls and shut down when all calls have
completed). If you don't want to stop accepting calls, but still want to
stop Asterisk when there are no active calls, you can use "stop when
convenient". The same qualifiers ("gracefully" and "when convenient") can be
applied to the "restart" command.

Cheers,
AR

On Dec 10, 2007 7:29 AM, Jeng Yu <[EMAIL PROTECTED]> wrote:

> My Gurus!
>
> I'm still playing with asterisk in the lab here. There
> is a feature that I need in a production asterisk
> system. I was wondering if it already exists in
> asterisk.
>
> When we want to shutdown a production asterisk system,
> we would like the shutdown to happen after there are
> no
> more calls being processed. In other words, a shutdown
> command that does the following:
>
>   - block asterisk from receiving/answering all new
>     connection requests
>
>   - monitor existing call connections it is currently
>     handling
>
>   - when all calls/connections have ended, then
> effect
>     the shutdown and stop the asterisk process.
>
> Is there a way to do this in asterisk now, and how?
>
> This would be the ultimate graceful shutdown; perfect
> for routine system maintenance tasks on production
> servers handling continuous traffic.
>
> Thanks,
>
> Jeng
>
_______________________________________________
--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

Reply via email to