This is one working example on one of our customers:
[dsstime]
include => parkedcalls
exten => s,1,gotoiftime(6:00-18:00|mon-fri|*|*?dss1st,s,1)
exten => s,2,goto(dssoff,s,1)
;
I never had any problem like someone calling at 5:59:59 and the call was
lost. Or calling at 17:59:59, because if that is the case, the call is going
to dsson or dssoff, and once is completed, nothing change for that call.
Regards,
Carlos Alperin
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jim Gottlieb
Sent: Wednesday, July 13, 2005 6:56 PM
To: Asterisk Users Mailing List
Subject: [Asterisk-Users] time includes
If I'm doing a time include in extensions.conf, do I want 04:00-23:00
and 23:00-04:00 or 04:00-22:59 amd 23:00-03:59? I want to make sure
that at no time are both or neither included.
In other words, does the second time go to HH:MM:00 or HH:MM:59?
Thanks.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users