Re: [asterisk-users] Problem with GoToIfTime

2010-06-29 Thread Peder
 =  
| '-' 
| "*" 

 

It's either a range of days, e.g. 29-30, or * for don't care.  So do 29-30.

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@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 [...@macro-vac:10]
GotoIfTime("SIP/testcorp-0036", "*|*|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 [...@macro-vac:11]
GotoIfTime("SIP/testcorp-0036", "*|*|*-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.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Problem with GoToIfTime

2010-06-29 Thread Jonas Kellens

Hello list,

why is it that GoToIfTime thinks a date of **|*|29-*|jun *is not valid ??


[Jun 29 14:06:34] -- Executing [...@macro-vac:10] 
*GotoIfTime*("SIP/testcorp-0036", "**|*|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 [...@macro-vac:11] 
*GotoIfTime*("SIP/testcorp-0036", "**|*|*-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.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users