[asterisk-users] Graceful Asterisk Shutdown

J. Oquendo sil at infiltrated.net
Mon Dec 10 07:14:34 CST 2007


Alex Robar wrote:
> 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.

Hrmm... I inferred what he asked for:

"to happen after there are no more calls being processed."

On a script, I would still do it as I previously posted. As for
gracefully, "when convenient", I took his comment as posted... When
there are no more calls = 0

-- 
====================================================
J. Oquendo

SGFA #579 (FW+VPN v4.1)
SGFE #574 (FW+VPN v4.1)

"I hear much of people's calling out to punish the
guilty, but very few are concerned to clear the
innocent." Daniel Defoe

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF684C42E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5533 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20071210/735e3f62/attachment.bin 


More information about the asterisk-users mailing list