Thank you for the info.
As I wrote to Warren GotoIfTime was easy to use and seemed more flexible,
Got it working now! Perfect!

Only one thing left now, and my system is pretty much ready for live testing,
Surely easy for the user list, so it will come in another mail soon, after I 
have done 
Some more research. (how the receptionist can transfer calls to SIP extensions 
internally)


Best regards 

Aksel

-----Opprinnelig melding-----
Fra: [email protected] 
[mailto:[email protected]] På vegne av Tilghman Lesher
Sendt: 18. juni 2010 18:01
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] Error trying to add context: Context 'internal' 
tries to include nonexistent context 'nighttime|12:30-8:00|mon-fri|*|*'

On Friday 18 June 2010 09:49:39 Warren Selby wrote:
> On Fri, Jun 18, 2010 at 7:44 AM, Aksel Celasun <[email protected]> wrote:
> >  Minor edit on the include => nighttime|12:30-8:00|mon-fri|*|*
> >
> > Correct now.
>
> This isn't how you do time based checks in asterisk.  Lookup the
> application "GotoIfTime".

Actually, it is an old method that still works, but as Warren mentioned, you
should endeavor to switch to using GotoIfTime, as there's a nasty race
condition inherent in using timed includes.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

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

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

Reply via email to