Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which looks like an invalid entry for the time. is it possible in asterisk? regards, Ron
Hi How cn i define in GotoIfTime from day 1 extending to day 2? e.g July 30 2200 up to July 31 0200 I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which looks like an invalid entry for the time. is it possible in asterisk? regards, nhadie
Nhadie wrote:> Hi > > How cn i define in GotoIfTime from day 1 extending to day 2? > > e.g July 30 2200 up to July 31 0200 > > I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) >GotoIfTime(22:00-23:59|*|30-31|jul?test,s,1) GotoIfTime(00:00-02:00|*|30-31|jul?test,s,1) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
On Wednesday 30 July 2008 14:46:55 Nhadie wrote:> Hi > > How cn i define in GotoIfTime from day 1 extending to day 2? > > e.g July 30 2200 up to July 31 0200 > > I'm thinking like this: GotoIfTime(22:00-02:00|*|30-31|jul?test,s,1) > > but i think that means July 30 22:00-2:00 and July 31 22:00-2:00 which > looks like an invalid entry for the time.It's not invalid. That specifies July 30 midnight to 2am, July 30 10pm to midnight, July 31 midnight to 2am, and July 31 10pm to midnight. -- Tilghman