Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Benny Amorsen
Ira writes: > Well, I'm neither but if it was me I'd just add a test that checks to > see if the 280 flag is set and it's after midnight and just turn the > flag off if that's true. That makes it so the first call of the day > fixes it automatically. Don't know if that's better or not, but it

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Benny Amorsen
Jared Smith writes: > Sounds like overkill to me... why not just use a GotoIfTime clause in > your dialplan? Because he already has one, but also an override. The override should go away at midnight, which normally requires a cron job. A stateless way of doing it is something like: exten => _

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Tilghman Lesher
On Tuesday 07 July 2009 11:54:54 Jeremy Winder wrote: > The problem is in the case of say a holiday on a Friday, when the tech > support manager decides at the last minute to let his people go early > and dials *280 and then leaves. Come Monday the override will still be > in place and since call v

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Ira
At 09:54 AM 7/7/2009, you wrote: >The problem is in the case of say a holiday on a Friday, when the tech >support manager decides at the last minute to let his people go early >and dials *280 and then leaves. Come Monday the override will still be >in place and since call volumes are usually low in

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Jeremy Winder
All of this is setup using FreePBX and to be honest, with all of the macros that FreePBX adds to the *.conf files I'm not really sure what Asterisk is doing. I've only been playing with all of this for about two weeks now and most of that was waisted trying to figure out the ZAPTEL vs DAHDI stuff.

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Jared Smith
On Tue, 2009-07-07 at 10:47 -0400, Jeremy Winder wrote: > It seemed to me cron was going to be the best solution. Sounds like overkill to me... why not just use a GotoIfTime clause in your dialplan? -- Jared Smith Training Manager Digium, Inc. ___ -

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Danny Nicholas
] On Behalf Of Jeremy Winder Sent: Tuesday, July 07, 2009 9:48 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Resetting Day/Night setting It seemed to me cron was going to be the best solution. I'll create a script that will run every minute or so

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Jeremy Winder
Sent: Tuesday, July 07, 2009 9:08 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Resetting Day/Night setting > > Use a cron entry to reset the setting using a cli command, as long as the > setting is in the internal database of a

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Danny Nicholas
ent answer. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jimmy Godbout Sent: Tuesday, July 07, 2009 9:08 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Resetting Day/Nig

Re: [asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Jimmy Godbout
[asterisk-users] Resetting Day/Night setting > > I'm not sure if this is part of Asterisk or FreePBX so I apologize if > this is the wrong list to ask my question. > > As part of my companies call routes, I have a Time Condition for our > tech support queue. I would like to add a Day

[asterisk-users] Resetting Day/Night setting

2009-07-07 Thread Jeremy Winder
I'm not sure if this is part of Asterisk or FreePBX so I apologize if this is the wrong list to ask my question. As part of my companies call routes, I have a Time Condition for our tech support queue. I would like to add a Day/Night Control so the Time Condition can be overruled. However, I'm afr