[asterisk-users] asterisk CLI and no such command "stop"

MatsK mkn0014 at gmail.com
Mon Jan 7 15:47:51 CST 2008


Vieri wrote:
> Hi,
> 
> I'm probably missing something trivial but I don't
> understand what. 
> 
> Asterisk is loading fine but when I connect to the
> console (asterisk -vr) and type "stop" I get a no such
> command reply:
> 
> *CLI> help
> (...)
>         skinny show lines  Show defined Skinny lines per device
>               soft hangup  Request a hangup on a given channel
>                    unload  Unload a dynamic module by name
> *CLI> stop
> No such command 'stop' (type 'help' for help)
> 
> # tail -n 1000 /var/log/messages | grep -i error
> 
> Does anyone know why the "stop" command doesn't appear
> on the help list and is unavailable?

Try
*CLI> help stop
and that will show you the syntax for the commands that fails!

I can agree that "No such command 'stop' (type 'help' for help)" is a 
bit misleading and should have been "Wrong syntax" or "Incomplete 
command" or something like that

And always state witch * version you use!





More information about the asterisk-users mailing list