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? ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Tomás Laureano Peralta Tormey
2008-Jan-07 19:50 UTC
[asterisk-users] asterisk CLI and no such command "stop"
Vieri: You will need to specify to the stop command, when to stop. The options are: now, when convenient or gracefully. Running the command 'help stop' inside the CLI will give an idea of this options. Best regards, Tom?s. On Jan 7, 2008 5:21 PM, Vieri <rentorbuy at yahoo.com> 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? > > > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080107/068feb00/attachment.htm
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!
--- Vieri <rentorbuy at yahoo.com> wrote:> *CLI> stop > No such command 'stop' (type 'help' for help)There was a config error on my behalf in the zapata config and that somehow didn't stop asterisk from loading but without the stop and zap commands. Solved. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ