Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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

No Format
TESTTIME(date,time[,zone])
Arguments
  • date - Date in ISO 8601 format
  • time - Time in HH:MM:SS format (24-hour time)
  • zone - Timezone name

See Also

Import Version

This documentation was imported from Asterisk Version Unknown