Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
I think might have to do with this, the dialplan seems to just stop: serverfault.com/questions/304956/… –  user92541 Aug 25 '11 at 16:17
add comment

1 Answer 1

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

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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