[asterisk-users] Problem with GoToIfTime
Peder
peder at networkoblivion.com
Tue Jun 29 07:21:12 CDT 2010
<days of month> = <daynum>
| <daynum>'-'<daynum>
| "*"
It's either a range of days, e.g. 29-30, or * for don't care. So do 29-30.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Tuesday, June 29, 2010 7:12 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Problem with GoToIfTime
Hello list,
why is it that GoToIfTime thinks a date of *|*|29-*|jun is not valid ??
[Jun 29 14:06:34] -- Executing [s at macro-vac:10]
GotoIfTime("SIP/testcorp-00000036", "*|*|29-*|jun?onvac") in new stack
[Jun 29 14:06:34] WARNING[3076]: pbx.c:4127 get_range: Invalid end day '*',
assuming none
[Jun 29 14:06:34] -- Executing [s at macro-vac:11]
GotoIfTime("SIP/testcorp-00000036", "*|*|*-1|jul?onvac") in new stack
[Jun 29 14:06:34] WARNING[3076]: pbx.c:4120 get_range: Invalid day '*',
assuming none
I want to set a period of 29 June till first July.
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100629/fe171986/attachment.htm
More information about the asterisk-users
mailing list