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 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 because i'm recording sounds, and i > > want users to hear their recording and redo it if they choose to. > > > > so there's a 'RECORD FILE', but not a 'DELETE FILE' .. : T > > > > On 10/13/07, Philipp Kempgen <[EMAIL PROTECTED]> wrote: > >> Dominic Son wrote: > >> > >>> Uuugh..for the life of me, i cannot delete sound files using > >>> "EXEC System(rm /var/lib/asterisk/sounds/blah.gsm)" > > >> But I don't understand why you would want to do that instead of > >> just running the command in your script. > > You did not get my point. Why not just do something like > unlink('/var/lib/asterisk/sounds/abandons.gsm'); > or > exec('rm -f '.escapeShellArg('/var/lib/asterisk/sounds/abandons.gsm')); > in your script? (examples are for PHP) > > 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 > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users