1

I'm placing outgoing calls using Asterisk call files on Asterisk 1.8. My call files are very simple and have no MaxRetries or RetryTime specified. If a call succeeds, the corresponding callfile is deleted.

However, if the call fails for some reason, the callfile does not get deleted. Instead, it stays in the /var/spool/asterisk/outgoing directory, and has the following appended to it: "StartRetry: 1276 1 (1314160379)"

Why is that happening? I'm expecting the file to be deleted immediately after the call, no matter what the resulting status of the call is.

1

1 Answer 1

0

It could be that you have incorrect edit times on your call files. Try setting AlwaysDelete to Yes.

AlwaysDelete: Yes/No - If the file's modification time is in the future, the call file will not be deleted

1
  • Nope. That didn't work. Still get the StartRetry line and the file is not deleted.
    – user92541
    Sep 2, 2011 at 0:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .