[asterisk-users] CLI History
Carla Schroder
carla at bratgrrl.com
Mon Dec 11 12:17:23 MST 2006
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:30][root at hera(pbx3):~]# asterisk -trv
> Asterisk 1.2.9.1, Copyright (C) 1999 - 2006 Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> 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!
>
I'm a bit confused by your example. What are A,B,C, etc? To exit the Asterisk
console, I type 'exit'. Asterisk continues to run, as it should. To re-enter
the console I use asterisk -rvvv.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
Linux geek and random computer tamer
check out my Linux Cookbook!
http://www.oreilly.com/catalog/linuxckbk/
best book for sysadmins and power users
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the asterisk-users
mailing list