Re: [asterisk-users] Manager API ! (System) command

2007-10-23 Thread robert home
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. >>

Re: [asterisk-users] Manager API ! (System) command

2007-10-23 Thread Matt Riddell
-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.

Re: [asterisk-users] Manager API ! (System) command

2007-10-10 Thread lenz
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

Re: [asterisk-users] Manager API ! (System) command

2007-10-09 Thread Atis Lezdins
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

[asterisk-users] Manager API ! (System) command

2007-10-09 Thread robert home
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