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);

                        } else {
                                Playback(welcome-evening);

                        }
                }


Does that cover the entire day? The question arose because of the time as
follows:

   ifTime(00:00-12:00|*|*|*) { ---- so midnight to noon fine--but should it
be 11:59 or 12:00

and ifTime(12:00-18:00|*|*|*) {   -- should it be from 12:01

However doing that I assume will miss a minute.

Anybody know :)

D


-- 
_________________________________________

Mr. David Anthony O'Reilly, M.Sc, B.Sc

Researcher @ MISL Group, University College Cork (Current)

M.Sc MOB Postgraduate @ University College Cork - M.Sc (Mobile Networking
and Computing) - 2009

Computer Science Graduate of The University of Dublin, Trinity College -
B.Sc (Computer Science) 2008

Email: [email protected]    /    [email protected]
Tel: +353 (0) 86 030 60 32
_________________________________________
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to