[asterisk-bugs] [Asterisk 0016464]: [patch] Set time for use in evaluating holiday dialplans

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 13 15:27:35 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16464 
====================================================================== 
Reported By:                tilghman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16464
Category:                   Functions/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-567 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-17 19:14 CST
Last Modified:              2010-01-13 15:27 CST
====================================================================== 
Summary:                    [patch] Set time for use in evaluating holiday
dialplans
Description: 
Allow an administrator to evaluate whether a dialplan is correctly
configured for a holiday, without needing to down the server and change the
actual date and time.
====================================================================== 

---------------------------------------------------------------------- 
 (0116637) svnbot (reporter) - 2010-01-13 15:27
 https://issues.asterisk.org/view.php?id=16464#c116637 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 239957

U   trunk/include/asterisk/pbx.h
U   trunk/main/pbx.c

------------------------------------------------------------------------
r239957 | tilghman | 2010-01-13 15:27:34 -0600 (Wed, 13 Jan 2010) | 12
lines

Add the TESTTIME() dialplan function, which permits testing GotoIfTime.
Specifically, by setting TESTTIME() to a particular date and time, you
can test whether a dialplan correctly branches as was intended.  This was
developed after recent questions on the -users list on how to test their
holiday dialplan logic.
(closes issue https://issues.asterisk.org/view.php?id=16464)
 Reported by: tilghman
 Patches: 
       20100112__issue16464.diff.txt uploaded by tilghman (license 14)
 
Review: https://reviewboard.asterisk.org/r/458/

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

http://svn.digium.com/view/asterisk?view=rev&revision=239957 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-13 15:27 svnbot         Checkin                                      
2010-01-13 15:27 svnbot         Note Added: 0116637                          
======================================================================




More information about the asterisk-bugs mailing list