[asterisk-users] GoToIfTime issue

Randy R randulo2008 at gmail.com
Fri Jan 22 03:26:42 CST 2010


On Fri, Jan 22, 2010 at 9:51 AM, Zhang Shukun <bitzsk at gmail.com> wrote:
> exten => 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1)

> but what should i do. if i want to set seperate weekdays,like mon,wed.
> not continuous weekday like mon-fri.

I couldn't find any reference to multiple, non-contiguous days on a
quick Google, but this would work at the cost of an extra line:

exten => 222,1,GoToIfTime(11:00-14:00|mon|*|*?1:3,1)
exten => 222,2,GoToIfTime(11:00-14:00|wed|*|*?1:3,1)



More information about the asterisk-users mailing list