[Asterisk-Users] Playing with time ranges...

Mark Elkins mje at posix.co.za
Fri Apr 30 03:07:56 MST 2004


Playing with time ranges - using the examples found in one of the
asterisk cook books... (pdf - page 17)
; After Hours
include => night_menu|00:00-08:00|Tue-Fri|*|*
include => night_menu|17:00-24:00|Mon-Thu|*|*

this gives...
... pbx.c:2962 get_timerange: 24:00 isn't a valid end time....
    -- Including context 'night_menu|17:00-24:00|Mon-Thu|*|*' in context
'default'

Looking at pbx.c - I'm not sure if I should change the end time (ie
midnight) to either 23:59 -or- 00:00.

23:59 will work - but what happens to calls then between 23:59 and
midnight?

(Be nice if the people who wrote cookbook examples tested them too)
-- 
  .  .     ___. .__      Posix Systems - Sth Africa
 /| /|       / /__       mje at posix.co.za  -  Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS  Tel: +27 12 807 0590  Cell: +27 82 601 0496

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040430/ecdb649b/attachment.pgp


More information about the asterisk-users mailing list