Thanks all, problem solved.
> Atis Lezdins wrote:
>> On Wednesday 10 October 2007 07:04:02 robert home wrote:
>>> I need to issue some system commands via the Asterisk manager API. From
>>> the
>>> CLI the ! (system command) works fine, but when connected via the
>>> manager
>>> API it fails.
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Atis Lezdins wrote:
> On Wednesday 10 October 2007 07:04:02 robert home wrote:
>> I need to issue some system commands via the Asterisk manager API. From the
>> CLI the ! (system command) works fine, but when connected via the manager
>> API it fails.
Yes - use the manager API to do an Originate by setting variable $CMD to
the shell code you want to execute, and then call a piece of dialplan
where the shellout will be executed through the System( $CMD ) command.
Note that this would enable an attacker to execute arbitrary commands with
On Wednesday 10 October 2007 07:04:02 robert home wrote:
> I need to issue some system commands via the Asterisk manager API. From the
> CLI the ! (system command) works fine, but when connected via the manager
> API it fails.
>
> Does anyone know why, or of a work around?
I believe, it's because
I need to issue some system commands via the Asterisk manager API. From the CLI
the ! (system command) works fine, but when connected via the manager API it
fails.
Does anyone know why, or of a work around?
Thanks
Robert___
--Bandwidth and Colocation