Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Neeraj Chand
Asterisk version 1.4 From: Neeraj Chand Sent: Friday, 14 August 2009 8:17 PM To: 'asterisk-users@lists.digium.com' Subject: [asterisk-users] Time of Day Routing Hi David, With this: ifTime(00:00-12:00|*|*|*) Whatever time you specify at the end,

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Steve Howes
On 14 Aug 2009, at 09:17, Neeraj Chand wrote: Asterisk version 1.4 From: Neeraj Chand Sent: Friday, 14 August 2009 8:17 PM To: 'asterisk-users@lists.digium.com' Subject: [asterisk-users] Time of Day Routing Hi David, With this: ifTime(00:00-12:00|*|*|*) Whatever time you specify

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Tony Mountifield
In article 05d03313-994b-4892-b045-f61332ddb...@geekinter.net, Steve Howes st...@geekinter.net wrote: On 14 Aug 2009, at 09:17, Neeraj Chand wrote: Asterisk version 1.4 From: Neeraj Chand Sent: Friday, 14 August 2009 8:17 PM To: 'asterisk-users@lists.digium.com' Subject:

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Doug Lytle
Tony Mountifield wrote: Hmm, I would still consider it a bug, whether on 1 or 2 minute resolution. I haven't seen the 2 minutes issue with the below: GotoIfTime(07:59-16:59|mon-fri|*|*?office-hours,s,1) Our plant closes at 5pm. And, at exactly 5pm, the afterhours context takes over.

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread SIP
Tony Mountifield wrote: In article 05d03313-994b-4892-b045-f61332ddb...@geekinter.net, Steve Howes st...@geekinter.net wrote: On 14 Aug 2009, at 09:17, Neeraj Chand wrote: Asterisk version 1.4 From: Neeraj Chand Sent: Friday, 14 August 2009 8:17 PM To:

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Don Kelly
Tony Mountifield wrote: In article 05d03313-994b-4892-b045-f61332ddb...@geekinter.net, Steve Howes st...@geekinter.net wrote: On 14 Aug 2009, at 09:17, Neeraj Chand wrote: Asterisk version 1.4 From: Neeraj Chand Sent: Friday, 14 August 2009 8:17 PM To:

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Tony Mountifield
In article 4a855630.5080...@arcdiv.com, SIP s...@arcdiv.com wrote: Tony Mountifield wrote: In article 05d03313-994b-4892-b045-f61332ddb...@geekinter.net, Steve Howes st...@geekinter.net wrote: On 14 Aug 2009, at 09:17, Neeraj Chand wrote: Asterisk version 1.4 From: Neeraj

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Tilghman Lesher
On Friday 14 August 2009 08:15:55 Tony Mountifield wrote: In article 4a855630.5080...@arcdiv.com, SIP s...@arcdiv.com wrote: Tony Mountifield wrote: In article 05d03313-994b-4892-b045-f61332ddb...@geekinter.net, Steve Howes st...@geekinter.net wrote: On 14 Aug 2009, at 09:17, Neeraj

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Rob Hillis
Tilghman Lesher wrote: Regardless of how you think it should work, the poster above described precisely the way it works. If your end boundary is 12:00, it will evaluate as true all the way up until 12:01:59. If you don't want that, another poster has suggested using 11:59, which will work

Re: [asterisk-users] Time of Day Routing

2009-08-13 Thread Danny Nicholas
My “Assumption” would be that 00:00-12:00 actually covers midnight to 12:00:59. I would verify this by hitting this dialplan at 30 seconds after noon local time. Since I’m still on 1.4, this one is academic to me. _ From: asterisk-users-boun...@lists.digium.com

Re: [asterisk-users] Time of Day Routing

2009-08-13 Thread Edwin Lam
Dáibhéad Antoine O'Reilligh wrote: I have a logic question that is confusing me. ifTime(00:00-12:00|*|*|*) { Playback(welcome-morning); } else { ifTime(12:00-18:00|*|*|*) {

Re: [asterisk-users] Time of Day Routing

2009-08-13 Thread Tilghman Lesher
On Thursday 13 August 2009 19:18:44 Edwin Lam wrote: Dáibhéad Antoine O'Reilligh wrote: I have a logic question that is confusing me. ifTime(00:00-12:00|*|*|*) { Playback(welcome-morning); } else {