[asterisk-dev] handling system commands in AMI

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Jun 5 12:10:56 CDT 2009


On Fri, Jun 05, 2009 at 06:50:05PM +0200, Philipp Kempgen wrote:
> Tzafrir Cohen schrieb:

> > Specifically: '!' or '!command' in 'asterisk -r' shell runs a local
> > shell rather than a shell on the remote Asterisk process. It's not 
> > something that should even go over the wire.
> 
> > So you can just as well implement this on the remote side without
> > touching Asterisk's code :-)
> 
> In what scenario would I want to use "!" then?

If you're in a asteriskr shell and have no other terminal to run a
command in.

Both '!' and 'quit' are not real Asterisk CLI commands.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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-dev mailing list