[asterisk-users] AGI with System() ?

Philipp Kempgen philipp.kempgen at amooma.de
Sat Oct 13 17:08:57 CDT 2007


Dominic Son wrote:

> Uuugh..for the life of me, i cannot delete sound files using
> "EXEC System(rm /var/lib/asterisk/sounds/blah.gsm)"
> 
> through AGI

agi show exec
 Usage: EXEC <application> <options>
        Executes <application> with given <options>.

So I'd try
EXEC System rm foo
or
EXEC System rm\ foo

But I don't understand why you would want to do that instead of
just running the command in your script.

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
    Let's use IT to solve problems and not to create new ones.
          Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998



More information about the asterisk-users mailing list