]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add memorial day to holiday dialplan example
authorAndrew Thompson <andrew@hijacked.us>
Mon, 30 Nov 2009 19:10:22 +0000 (19:10 +0000)
committerAndrew Thompson <andrew@hijacked.us>
Mon, 30 Nov 2009 19:10:22 +0000 (19:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15723 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml

index 5e25a2317a8e8438cc6c57e415a2559771a763f6..189d247f5c3c52a82bd9f72a0b74b6abdafcb2d5 100644 (file)
@@ -46,7 +46,7 @@
 
     <!-- Example of routing based on holidays
 
-       This example covers all US Federal holidays except for inauguration day and memorial day.
+       This example covers all US Federal holidays except for inauguration day.
     -->
 
     <extension name="holiday_example" continue="true">
        <!-- president's day is the 3rd monday in february -->
        <action application="set" data="open=false"/>
       </condition>
+      <condition wday="2" mon="5" mday="25-31">
+       <!-- memorial day is the last monday in may (the only monday between the 25th and the 31st) -->
+       <action application="set" data="open=false"/>
+      </condition>
       <condition mday="4" mon="6">
        <!-- independence day -->
        <action application="set" data="open=false"/>