> The problem is it records all incoming calls include those with the
> disposition of "NO ANSWER, FAILED, BUSY, UNKNOWN.". For example the "NO
> ANSWER" call will leave a 44byte wav file in my ${RECDIR}
>
> How can I record only the calls with the disposition of "ANSWERED"?
>
> May be I should run a cronjob to clean up the 44byte file after it's
> been created? Is there a better way?
>
I would probably add a line in my hangup (h) extension that does an execif
to delete the file if the disposition is not equal to "ANSWERED".
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users