[asterisk-users] Re: System from AMI

Richard Lyman pchammer at dynx.net
Thu Mar 29 09:23:47 MST 2007


Tomislav Parcina wrote:
> Lee Jenkins wrote:
>> You have to login into the AMI server with proper credentials and 
>> send commands.
> *snipped

> OK, maybe he doesn't show output, so I have tried this:
> Action: Command
> Command: ! rm /tmp/test.txt
>
> Response: Follows
> Privilege: Command
> --END COMMAND--
>
> But this doesn't work neither (tmp/test.txt is stil lthere).
> Is there any solution to this problem?

if you are unable to get '!' to work...

there are other ways of doing this.

manager originate can do this, use a local channel and point it at 
either a context/exten with an echo/system call,
or with the application/data method.







More information about the asterisk-users mailing list