[asterisk-users] ! Command from -rx?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Aug 4 21:09:44 CDT 2007
On Sat, Aug 04, 2007 at 09:16:22PM -0400, Matt wrote:
> This may sound stupid.. so bear with me for a moment.
>
> Assuming the only access I have to a machine is through asterisk -rx
> can I use the ! command?
>
> asterisk -rx help
>
> includes the ! command, but I can't seem to get it to work ie:
>
> asterisk -rx "! ls"
What do you need that for?
'!' is pointless with asterisk -rx: with asterisk -r, '!' runs a local
command in a subshel (or starts a new subshell) by the local cleint
asterisk. It does nothing by the server.
So you might as well just run:
ls
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list