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?


EXEC System "/bin/rm /var/lib/asterisk/sounds/blah.gsm"

And still, getting a System through Asterisk is an overkill and
introduces an extra layer of complication and inefficiency. Use you
language's equivalent of system(3) .

-- 
               Tzafrir Cohen       
icq#16849755              jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]       
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

_______________________________________________
--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

Reply via email to