[asterisk-users] GotoIfTime problem - possible bug

David Backeberg dbackeberg at gmail.com
Mon Nov 23 12:24:18 CST 2009


On Mon, Nov 23, 2009 at 1:11 PM, Nic Colledge <nic at njcolledge.net> wrote:
> I’m currently doing some testing against asterisk 1.6.1.7-rc2 (keep meaning
> to upgrade) and am having a problem with the GotoIfTime dial plan function.
>
> The asterisk book says that day of week field can include the ampersand (&)
> to combine multiple days / day ranges but this gives me an error.
>
> For example mon&wed gives the error (in the asterisk console):
>
> [Nov 23 18:04:27] WARNING[11387]: pbx.c:6249 get_range: Invalid day of week
> 'mon&wed', assuming none

I use "mon-fri" all the time, but I've never tried to grab
non-contiguous days before.

Have you tried '|', as in the shift of backslash, or some people say pipe?

I'm not sure I've ever actually seen documentation that says multiple
non-contiguous days is valid syntax.



More information about the asterisk-users mailing list