No subject
Thu Jul 12 09:23:04 CDT 2007
On Dec 10, 2007 10:36 AM, Jeng Yu <jengyu2007 at yahoo.co.uk> wrote:
> Thanks, All! And thanks, Oquendo! I will experiment
> with this suggestion. I was actually thinking in terms
> of a situation where it would be done
> non-interactively.
>
> Jeng
>
>
> --- "J. Oquendo" <sil at infiltrated.net> wrote:
>
> > Jeng Yu wrote:
> >
> > > This would be the ultimate graceful shutdown;
> > perfect
> > > for routine system maintenance tasks on production
> > > servers handling continuous traffic.
> >
> > if [ `asterisk -rx "show channels verbose"|awk
> > '/active calls/{print
> > $1}'` -eq 0 ]
> >
> > then asterisk -rx "stop now"
> >
> > fi
> >
> >
> >
> > --
> > ====================================================
> > 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
> >
> > > _______________________________________________
> > --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
>
>
>
> __________________________________________________________
> Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
>
>
>
>
> _______________________________________________
> --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
>
More information about the asterisk-users
mailing list