[asterisk-bugs] [Asterisk 0018427]: RetryTime in callfiles is confused

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 3 21:41:05 UTC 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18427 
====================================================================== 
Reported By:                jkister
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18427
Category:                   PBX/pbx_spool
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.1-rc1 
JIRA:                       SWP-2685 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-05 11:33 CST
Last Modified:              2011-01-03 15:41 CST
====================================================================== 
Summary:                    RetryTime in callfiles is confused
Description: 
if you make a callfile with 
MaxRetries: 5
RetryTime: 420

the pbx does not reschedule the retry in 420 seconds - instead, it is much
sooner, sometimes even immediately.

the call file itself is modified by the pbx:
Channel: Local/121 at extensions
Callerid: 121
MaxRetries: 15
RetryTime: 420
WaitTime: 60
Context: alarm-ack
Extension: s
Priority: 1

StartRetry: 4419 1 (1291569420)

EndRetry: 4419 1 (1291569037)

StartRetry: 4419 2 (1291569481)

EndRetry: 4419 2 (1291569099)

StartRetry: 4419 3 (1291569840)

DelayedRetry: 4419 2 (1291569457)

EndRetry: 4419 3 (1291569457)

StartRetry: 4419 4 (1291569901)

but those epochs are actually *in the future*.  for example, the last
"StartRetry 1291569901" was printed appended to the file 380 seconds in the
future:

pbx1> perl -e 'print "$^T\n"'
1291569521

====================================================================== 

---------------------------------------------------------------------- 
 (0130104) jkister (reporter) - 2011-01-03 15:41
 https://issues.asterisk.org/view.php?id=18427#c130104 
---------------------------------------------------------------------- 
I realize I made a mistake in the [extensions] context (1XX vs _1XX, but it
doesnt matter anyway) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-03 15:41 jkister        Note Added: 0130104                          
======================================================================




More information about the asterisk-bugs mailing list