> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Carla Schroder
> Sent: Monday, December 11, 2006 2:17 PM
> To: [email protected]
> Subject: Re: [asterisk-users] CLI History
> 
> On Monday 11 December 2006 9:31 am, Douglas Garstang wrote:
> > What's wrong with the Asterisk CLI history? When I exit the CLI, and
> > re-enter, the last command in the history always defaults to 'stop
now'.
> > This is very bad, and it's caused accidental shutdowns more than
once.
> >
> > Connected to Asterisk 1.2.9.1 currently running on hera (pid =
17399)
> > Verbosity is at least 3
> > hera*CLI> A
> > No such command 'A' (type 'help' for help)
> > hera*CLI> B
> > No such command 'B' (type 'help' for help)
> > hera*CLI> C
> > No such command 'C' (type 'help' for help)
> > hera*CLI> D
> > No such command 'D' (type 'help' for help)
> > hera*CLI> E
> > No such command 'E' (type 'help' for help)
> > hera*CLI>
> > [10:[EMAIL PROTECTED](pbx3):~]# asterisk -trv
> > Asterisk 1.2.9.1, Copyright (C) 1999 - 2006 Digium, Inc. and others.
> > Created by Mark Spencer <[EMAIL PROTECTED]>
> > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
> > details. This is free software, with components licensed under the
GNU
> > General Public License version 2 and other licenses; you are welcome
to
> > redistribute it under certain conditions. Type 'show license' for
> details.
> >
>
========================================================================
=
> > Connected to Asterisk 1.2.9.1 currently running on hera (pid =
17399)
> > Verbosity is at least 3
> > hera*CLI> stop now <-- I pressed the UP arrow upon re-entering the
> console!
> >
> 

Mine appears to work: 

##Connected to Asterisk and execute stop now: 

        dragon*CLI> stop now
        dragon*CLI>
        Disconnected from Asterisk server

## Restarted Asterisk: 

        [EMAIL PROTECTED] ~]# asterisk -p

## Connected to Asterisk then ran exit: 

        [EMAIL PROTECTED] ~]# asterisk -r
        Asterisk 1.4.0-beta3, Copyright (C) 1999 - 2006 Digium, Inc. and
others.
        Created by Mark Spencer <[EMAIL PROTECTED]>
        Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty'
for     details.
        This is free software, with components licensed under the GNU
General         Public
        License version 2 and other licenses; you are welcome to
redistribute    it under
        certain conditions. Type 'show license' for details.
        
======================================================================
===
        Connected to Asterisk 1.4.0-beta3 currently running on dragon
(pid =  32521)
        dragon*CLI> exit

## Connected to Asterisk Again and hit the up arrow:

        [EMAIL PROTECTED] ~]# asterisk -r
        Asterisk 1.4.0-beta3, Copyright (C) 1999 - 2006 Digium, Inc. and
others.
        Created by Mark Spencer <[EMAIL PROTECTED]>
        Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty'
for     details.
        This is free software, with components licensed under the GNU
General         Public
        License version 2 and other licenses; you are welcome to
redistribute    it under
        certain conditions. Type 'show license' for details.
        
======================================================================
===
        Connected to Asterisk 1.4.0-beta3 currently running on dragon
(pid =  32521)
        dragon*CLI> exit

Exit is displayed not stop now. If you hit "A" and it's an invalid
command...maybe that is your problem...
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to