Asterisk Project : Application_GotoIfTime
This page last changed on Mar 30, 2011 by wikibot.
GotoIfTime()SynopsisConditional Goto based on the current time. DescriptionThis application will set the context, extension, and priority in the channel structure based on the evaluation of the given time specification. After this application completes, the pbx engine will continue dialplan execution at the specified location in the dialplan. If the current time is within the given time specification, the channel will continue at labeliftrue. Otherwise the channel will continue at labeliffalse. If the label chosen by the condition is omitted, no jump is performed, and execution passes to the next instruction. If the target jump location is bogus, the same actions would be taken as for Goto. Further information on the time specification can be found in examples illustrating how to do time-based context includes in the dialplan. SyntaxGotoIfTime(timesweekdaysmdaysmonths[,timezone]?[labeliftrue][:labeliffalse]) Arguments
See AlsoApplication_GotoIf Import VersionThis documentation was imported from Asterisk version SVN-branch-1.8-r311874. |
![]() |
Document generated by Confluence on Oct 04, 2011 12:42 |