In article <[EMAIL PROTECTED]>,
Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Sun, Oct 14, 2007 at 05:43:27AM -0700, Dominic Son wrote:
> > Ok, this is what worked:
> > EXEC System "rm -rf /var/lib/asterisk/sounds/blah.gsm"
> > the -rf eliminates the hassle.. a dream come true it worked !
>
> -r s
On Sun, Oct 14, 2007 at 05:43:27AM -0700, Dominic Son wrote:
> Ok, this is what worked:
> EXEC System "rm -rf /var/lib/asterisk/sounds/blah.gsm"
> the -rf eliminates the hassle.. a dream come true it worked !
-r sure wasn't needed . -f then? But this is the default of rm. The
shell got in your way
Ok, this is what worked:
EXEC System "rm -rf /var/lib/asterisk/sounds/blah.gsm"
the -rf eliminates the hassle.. a dream come true it worked !
On 10/13/07, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 13, 2007 at 05:45:26PM -0700, Dominic Son wrote:
> > Hi.
> >
> > You mean to use the AG
On Sat, Oct 13, 2007 at 05:45:26PM -0700, Dominic Son wrote:
> Hi.
>
> You mean to use the AGI funtion in the particular programming
> language? yeah. i tried, same results.. : T
I guess that this is a permissions issue. Check what you get in the
standard error.
--
Tzafrir Cohen
On Saturday 13 October 2007 18:35:28 Dominic Son wrote:
> tried both as suggested...though AGI says it's succesful:
>
> AGI Rx << EXEC System rm /var/lib/asterisk/sounds/abandons.gsm
> AGI Tx >> 200 result=0
The EXEC command takes two arguments, an application name and an
argument. So, it, in fac
Hi.
You mean to use the AGI funtion in the particular programming
language? yeah. i tried, same results.. : T
i guess i'll have to put it in a database, and flag it to remove
manually for now...
On 10/13/07, Philipp Kempgen <[EMAIL PROTECTED]> wrote:
> Dominic Son wrote:
>
> > tried both as sug
Dominic Son wrote:
> tried both as suggested...though AGI says it's succesful:
>
> AGI Rx << EXEC System rm /var/lib/asterisk/sounds/abandons.gsm
> AGI Tx >> 200 result=0
>
> the abandons.gsm file is still there...
Umm, then I don't know what's going wrong.
> i have to delete it through my agi
tried both as suggested...though AGI says it's succesful:
AGI Rx << EXEC System rm /var/lib/asterisk/sounds/abandons.gsm
AGI Tx >> 200 result=0
the abandons.gsm file is still there...
i have to delete it through my agi because i'm recording sounds, and i
want users to hear their recording and re
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
Executes with given .
So I'd try
EXEC System rm foo
or
EXEC System rm\ foo
But I don't understand why yo