login | register
Sun 12 of Oct, 2008 [08:48 UTC]

voip-info.org

Discuss [0] History

Asterisk func iftime

Created by: murf,Last modification on Thu 12 of Apr, 2007 [15:26 UTC] by FreezeS

Synopsis

 Temporal Conditional: Returns the data following '?' if true else the data following ':'

Description

 IFTIME(<timespec>?[<true>][:<false>])




Notes


Return value

Returns the resulting string.

Example

 exten => s,1,Set(foo=${IFTIME(*|mon|8-15|nov?goodtime:badtime)})

See also




Comments