TESTTIME()
Synopsis
Sets a time to be used with the channel to test logical conditions.
Description
To test dialplan timing conditions at times other than the current time, use this function to set an alternate date and time. For example, you may wish to evaluate whether a location will correctly identify to callers that the area is closed on Christmas Day, when Christmas would otherwise fall on a day when the office is normally open.
Syntax
TESTTIME(date,time[,zone])
Arguments
date
- Date in ISO 8601 formattime
- Time in HH:MM:SS format (24-hour time)zone
- Timezone name
See Also
Import Version
This documentation was imported from Asterisk Version GIT-20-f8000daff5