[asterisk-users] CLI History

Douglas Garstang dgarstang at oneeighty.com
Mon Dec 11 10:31:41 MST 2006


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!

Doug




More information about the asterisk-users mailing list