[Home]

Summary:ASTERISK-02608: GotoIfTime does not support new "n" priority
Reporter:Andrew Lindh (andrew)Labels:
Date Opened:2004-10-14 10:02:11Date Closed:2011-06-07 14:10:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I love the "n" priority. Named prioritys are great. Goto() works with the new priority, but GotoIfTime() does not.

****** ADDITIONAL INFORMATION ******

This should work (if open exists as a priority in the current context):

GotoIfTime(09:00-18:00|mon-fri|*|*,s,open)
Comments:By: Mark Spencer (markster) 2004-10-14 10:05:28

Gotoiftime just calls Goto internally if the time matches.  The problem is the syntax you specified is not correct, you're supposed to use a "?" to separate the context/extension/pri (see "show application gotoiftime").

Please do not use the bug tracker for technical support, but seek assistance in #asterisk or the online documentation first.