[asterisk-users] asterisk go to "holiday" extension but hoiday is not defined

Danny Nicholas danny at debsinc.com
Tue May 1 11:22:13 CDT 2012


Not sure about 1.8 but on 10.X I seem to recall that the Gotoiftime might be
case sensitive?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Syco
Sent: Tuesday, May 01, 2012 11:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] asterisk go to "holiday" extension but hoiday
is not defined

what is the pipe before jul
  I don't understand the utility of that "|"  from the doc.

On 01/05/2012 17:15, Joseph wrote:
> When a call comes in asterisk is forwarding the call to holiday 
> extension, even though the holiday is not defined.
>
> Here is my dial plan
>
> exten => 4,1,GotoIfTime(*,*,1,jan?holiday,s,1)  ; new years day exten 
> => 4,n,GotoIfTime(*,*,6,apr?holiday,s,1) ; easter holiday exten => 
> 4,n,GotoIfTime(*,*,23,may?holiday,s,1)
> exten => 4,n,GotoIfTime(*,*,1,|jul?holiday,s,1)  ; canada day exten => 
> 4,n,GotoIfTime(*,*,1,aug?holiday,s,1)  ; long weekend ...
>
> Today is May 1, so why is it going to "holiday" extension?
> Is there another dial plan that holidays are defined? I'm using 
> asterisk 1.8.10
>

--
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list