[asterisk-users] GotoIfTime problem - possible bug

Tilghman Lesher tlesher at digium.com
Mon Nov 23 12:19:58 CST 2009


On Monday 23 November 2009 12:11:02 pm Nic Colledge 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
>
> Does anyone else have experience of this problem? Are there any patches /
> newer versions to get around this?

That was an error on my part, when I helped review the book prior to
publication.  (I was incidentally thinking of the arguments to the CUT() 
function.)  However, given that it was a good idea, it has been implemented
in the forthcoming 1.6.2 release, currently in release candidate status.

-- 
Tilghman



More information about the asterisk-users mailing list