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

[asterisk-users] Time of Day Routing

2009-08-14 Thread Neeraj Chand
Hi David, With this: ifTime(00:00-12:00|*|*|*) Whatever time you specify at the end, I believe asterisk continues to evaluate this condition as true for 2 more minutes. So in this case, it will be valid for 00:00-12:02, even though you've specified 12:00 Cheers! Neeraj

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
-users] Time of Day Routing Hi David, With this: ifTime(00:00-12:00|*|*|*) Whatever time you specify at the end, I believe asterisk continues to evaluate this condition as true for 2 more minutes. So in this case, it will be valid for 00:00-12:02, even though you’ve

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
@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, I believe asterisk continues to evaluate this condition as true for 2 more minutes. So in this case, it will be valid for 00:00-12:02, even though

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Don Kelly
@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, I believe asterisk continues to evaluate this condition as true for 2 more minutes. So in this case, it will be valid for 00:00-12:02, even

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Tony Mountifield
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, I believe asterisk continues to evaluate this condition

Re: [asterisk-users] Time of Day Routing

2009-08-14 Thread Tilghman Lesher
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 at the end, I

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

[asterisk-users] Time of Day Routing

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

Re: [asterisk-users] Time of Day Routing

2009-08-13 Thread Danny Nicholas
-users-boun...@lists.digium.com] On Behalf Of Dáibhéad Antoine O'Reilligh Sent: Thursday, August 13, 2009 3:43 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Time of Day Routing Hi everybody I have a logic question that is confusing me. ifTime(00:00-12:00

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 {