hi , all what's wrong with this command? exten => 222,1,GoToIfTime(11:00-14:00|mon,wed|*|*?1:3,1) as i got the error: -- Executing [222 at 95040:1] GotoIfTime("SIP/1001-00000099", "11:00-14:00|mon|wed|*|*?1:3|1") in new stack [Jan 20 11:21:11] WARNING[16804]: pbx.c:4118 get_range: Invalid day 'wed', assuming none but what should i do. if i want to set seperate weekdays,like mon,wed. not continuous weekday like mon-fri. -- Best regards, Sucan
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)