[asterisk-users] Question about MaxRetries in the Asterisk Outgoing folder

John Timms johngtimms at gmail.com
Thu Apr 1 16:01:46 CDT 2010


I'm doing some automated calling by putting .call files in the Outgoing
folder of Asterisk. I'm concerned this might be a stupid question, but I'm
pretty sure I've done my research well and I'm unable to come up with an
answer on my own.

I want to know: what happens to the .call files after the "MaxRetries"
number has been reached?

In my experience, they stay in the Outgoing folder, but are never deleted.
Instead, Asterisk keeps processing them, but never actually making a call.
In my mind, once the MaxRetries number has been met, Asterisk should do
something to get rid of the files, whether moving them to another "failed"
folder or just deleting them. You can see an example of my problem below.
The Yellow Highlighted remarks are my own for clarification and are not in
the actual .call file.

--------------------------------------
Channel: SIP/8644161809 at vitel-outbound
MaxRetries: 9  <= Set to retry 9 times
RetryTime: 120 <= Retrys after 120 seconds
Context: autodial
Extension: s
Priority: 1
CallerID: 8645553190
Set: USERNUMBER=8644161809-JohnTimms
Set: DIGITS=8644161809
                                                                       <=
I've tried the "Archive: Yes" option here, but had no change in behavior
StartRetry: 2397 1 (1270149233)                        <= This line &
the following are all added by Asterisk

EndRetry: 2397 1 (1270149158)

StartRetry: 2397 2 (1270149399)

EndRetry: 2397 2 (1270149324)

StartRetry: 2397 3 (1270149565)

EndRetry: 2397 3 (1270149490)

StartRetry: 2397 4 (1270149731)

EndRetry: 2397 4 (1270149656)

StartRetry: 2397 5 (1270149897)

EndRetry: 2397 5 (1270149822)

StartRetry: 2397 6 (1270150063)

EndRetry: 2397 6 (1270149988)

StartRetry: 2397 7 (1270150229)

EndRetry: 2397 7 (1270150154)

StartRetry: 2397 8 (1270150395)

EndRetry: 2397 8 (1270150320)

StartRetry: 2397 9 (1270150561)

DelayedRetry: 2397 8 (1270151821)

DelayedRetry: 2397 8 (1270151942)

DelayedRetry: 2397 8 (1270152063)

DelayedRetry: 2397 8 (1270152184)

DelayedRetry: 2397 8 (1270152305)

DelayedRetry: 2397 8 (1270152426)

DelayedRetry: 2397 8 (1270152547)

DelayedRetry: 2397 8 (1270152668)

DelayedRetry: 2397 8 (1270152789)

DelayedRetry: 2397 8 (1270152910)

DelayedRetry: 2397 8 (1270153031)

DelayedRetry: 2397 8 (1270153152)

DelayedRetry: 2397 8 (1270153273)

DelayedRetry: 2397 8 (1270153394)

DelayedRetry: 2397 8 (1270153515)

DelayedRetry: 2397 8 (1270153636)

--------------------------------------

If anyone can help me out, that would be much appreciated.

--
John Timms
(864) 416-1809
johngtimms at gmail.com
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100401/20fdfbf5/attachment.htm 


More information about the asterisk-users mailing list