View previous topic :: View next topic |
Author |
Message |
rentorbuy at yahoo.com Guest
|
Posted: Mon Jan 07, 2008 2:21 pm Post subject: [asterisk-users] asterisk CLI and no such command "stop |
|
|
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 |
|
Back to top |
|
|
rentorbuy at yahoo.com Guest
|
Posted: Mon Jan 07, 2008 3:58 pm Post subject: [asterisk-users] asterisk CLI and no such command "stop |
|
|
--- Tom?s Laureano Peralta Tormey
<tomas.laureano.peralta.tormey at gmail.com> wrote:
Quote: | 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.
|
Thanks, I know that 'stop' needs arguments but if I
issue the 'help stop' command I get:
*CLI> help stop
No such command 'stop'.
Will look into the logs more carefully because I
suppose that if the asterisk process is up then it
should always have a cli 'stop' command available.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |
|
Back to top |
|
|
mkn0014 at gmail.com Guest
|
Posted: Mon Jan 07, 2008 4:47 pm Post subject: [asterisk-users] asterisk CLI and no such command "stop |
|
|
Vieri wrote:
Quote: | 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! |
|
Back to top |
|
|
rentorbuy at yahoo.com Guest
|
Posted: Mon Jan 07, 2008 5:34 pm Post subject: [asterisk-users] asterisk CLI and no such command "stop |
|
|
--- MatsK <mkn0014 at gmail.com> wrote:
Quote: | Vieri wrote:
Quote: | 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
Quote: | command reply:
*CLI> help
(...)
skinny show lines Show defined Skinny
| lines per device
Quote: | soft hangup Request a hangup on a
| given channel
Quote: | unload Unload a dynamic module
| by name
Quote: | *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
Quote: | 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!
|
inf-voip1 ~ # asterisk -vr
Asterisk 1.2.21.1, Copyright (C) 1999 - 2007 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.21.1 currently running on
inf-voip1 (pid = 13423)
Verbosity is at least 1
inf-voip1*CLI> stop now
No such command 'stop' (type 'help' for help)
inf-voip1*CLI> stop gracefully
No such command 'stop' (type 'help' for help)
inf-voip1*CLI>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
|
Back to top |
|
|
rentorbuy at yahoo.com Guest
|
Posted: Mon Jan 07, 2008 8:30 pm Post subject: [asterisk-users] asterisk CLI and no such command "stop |
|
|
--- Vieri <rentorbuy at yahoo.com> wrote:
Quote: | *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 |
|
Back to top |
|
|
|