<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">well but if u follow the guide of
wrap around time similar to my 3rd condition then doesnt it need
to be true or does it only work when 'a' hour is higher than 'b'
in a "a-b" time span because if u specify a range of
"05:00-05:00" then this would also be zero even though u set a
weekday of "1-2"<br>
<br>
<br>
</font></font>
<div class="moz-signature">
<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 class="moz-cite-prefix">-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] week day and time condition
possible bug<br>
From: Ken Rice <a class="moz-txt-link-rfc2396E" href="mailto:krice@freeswitch.org"><krice@freeswitch.org></a><br>
To: FreeSWITCH Users Help
<a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>
Date: 9/4/2016, 6:14:44 PM<br>
</div>
<blockquote
cite="mid:431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div>No it tells it second 0 to second 0 on days days 1 and 2</div>
<div id="AppleMailSignature"><br>
</div>
<div id="AppleMailSignature"><br>
<br>
Sent from my iPhone</div>
<div><br>
On Sep 4, 2016, at 8:45 AM, Bipin Patel <<a
moz-do-not-send="true" href="mailto:bipin@xbipin.com">bipin@xbipin.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<font size="-1"><font face="Arial">but doesnt specifying 1-2
as weekday tell it Sunday 0 to Monday 0<br>
<br>
<br>
</font></font>
<div class="moz-signature">
<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 class="moz-cite-prefix">-------- Original Message
--------<br>
Subject: Re: [Freeswitch-users] week day and time condition
possible bug<br>
From: Ken Rice <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:krice@freeswitch.org"><krice@freeswitch.org></a><br>
To: FreeSWITCH Users Help <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>
Date: 9/4/2016, 5:35:09 PM<br>
</div>
<blockquote
cite="mid:91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<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 <<a
moz-do-not-send="true" href="mailto:bipin@xbipin.com">bipin@xbipin.com</a>>
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>
<condition wday="1-2"
time-of-day="00:00:00-00:00:00" break="never"><br>
<action application="set"
data="out-prefix=777" inline="true"/><br>
</condition><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>
<condition wday="2-7"
time-of-day="7:00-21:00" break="never"><br>
<action application="set"
data="out-prefix=888" inline="true"/><br>
</condition><br>
<condition wday="2-7"
time-of-day="21:00:00-7:00:00" break="never"><br>
<action application="set"
data="out-prefix=777" inline="true"/><br>
</condition><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 moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br>
<span></span><br>
<span>Official FreeSWITCH Sites</span><br>
<span><a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://www.cluecon.com">http://www.cluecon.com</a></span><br>
<span></span><br>
<span>FreeSWITCH-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
<span>UNSUBSCRIBE:<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://">http://</a><a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_________________________________________________________________________</span><br>
<span>Professional FreeSWITCH Consulting Services: </span><br>
<span><a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br>
<span></span><br>
<span>Official FreeSWITCH Sites</span><br>
<span><a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a></span><br>
<span></span><br>
<span>FreeSWITCH-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
<span>UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://">http://</a><a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>