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.

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

|improve this answer|||||
  • Nope. That didn't work. Still get the StartRetry line and the file is not deleted. – user92541 Sep 2 '11 at 0:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.