[asterisk-users] AGI with System() ?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Sat Oct 13 21:32:23 CDT 2007
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 fact, ran: EXEC System rm (ignoring anything beyond
the second argument).
What you probably meant to send it was:
EXEC System "rm /var/lib/asterisk/sounds/abandons.gsm"
--
Tilghman
More information about the asterisk-users
mailing list