<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Its a misconfig you are specifying only 1 second where the first condition can fire 0 thru 0 is just 0<br><br>Sent from my iPhone</div><div><br>On Sep 4, 2016, at 8:24 AM, Bipin Patel &lt;<a href="mailto:bipin@xbipin.com">bipin@xbipin.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>
  

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  
  
    <font size="-1"><font face="Arial">i found one bug today relating to
        conditions where day and date are used, just wanted to confirm
        if its a bug or a misconfig<br>
        <br>
        i have a condition as below<br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition wday="1-2" time-of-day="00:00:00-00:00:00"
        break="never"&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;action application="set" data="out-prefix=777"
        inline="true"/&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
        <br>
        what this does is if its a Sunday to Monday morning then set
        out-prefix variable to 777 but even though being a Sunday this
        always parses as fail unless i set wday to 1 and time-of-day to
        00:00:00-23:59:59<br>
        <br>
        the reason i use the above is because i have more conditions
        which r as follows<br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition wday="2-7" time-of-day="7:00-21:00"
        break="never"&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;action application="set" data="out-prefix=888"
        inline="true"/&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition wday="2-7" time-of-day="21:00:00-7:00:00"
        break="never"&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;action application="set" data="out-prefix=777"
        inline="true"/&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
        <br>
        <br>
      </font></font>
    <div class="moz-signature">-- <br>
      <style>
body {
  font-family: Verdana, sans-serif;
  font-size: 0.8em;
  color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
  width: 100%;
  height: 1px;
  background: #ccc;
  border: 0;
}
</style>Regards,<br>
      Bipin<br>
      <br>
      <br>
      <hr>
    </div>
  



</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>