[asterisk-users] GoToIfTime issue

Tilghman Lesher tlesher at digium.com
Sun Jan 24 21:37:53 CST 2010


On Sunday 24 January 2010 20:52:55 Zhang Shukun wrote:
> 2010/1/22 Tilghman Lesher <tlesher at digium.com>:
> > On Friday 22 January 2010 04:06:29 Zhang Shukun wrote:
> >> 2010/1/22 Randy R <randulo2008 at gmail.com>:
> >> > 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)
> >>
> >> Thank you, but why don't it to be comma seperate to represent seperate
> >> weekdays?  as | mon,wed,fri |
> >>
> >> it's also very understandable.
> >
> > Starting in 1.6.2, you can use the ampersand to join days.
>
> thanks! but i wonder while in asterisk 1.6.2, the web sites says many
> funtions of them is experimental,
>
> is this edition good for production environment use?

1.6.2 should be fine for production use.  If, however, you experience an
issue, you're welcome to bring it up on this list.  If it's a genuine bug
(and not just a configuration issue), you may need to file it on the issue
tracker.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list