On Friday 15 May 2009 03:49:05 pm Hristo Benev wrote:
> I came up to this solution, but is there a way to change the AGISTATUS
> variable to FAILURE -> We have it always SUCCESS

if the script you use exits successfully (without an error), AGISTATUS will 
always be SUCCESS even if it didn't do what you wanted.

you need to have your script exit with something other than 0 if you'd like to 
have AGISTATUS not be SUCCESS.

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

Attachment: signature.asc
Description: This is a digitally signed message part.

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