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"
Regards,
Bipin
-------- Original Message --------
Subject: Re: [Freeswitch-users] week day and time condition possible bug
From: Ken Rice <krice@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: 9/4/2016, 6:14:44 PM
No it tells it second 0 to second 0 on days days 1 and 2
Sent from my iPhonebut doesnt specifying 1-2 as weekday tell it Sunday 0 to Monday 0
Regards,
Bipin
-------- Original Message --------
Subject: Re: [Freeswitch-users] week day and time condition possible bug
From: Ken Rice <krice@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Date: 9/4/2016, 5:35:09 PM
Its a misconfig you are specifying only 1 second where the first condition can fire 0 thru 0 is just 0
Sent from my iPhonei found one bug today relating to conditions where day and date are used, just wanted to confirm if its a bug or a misconfig
i have a condition as below
<condition wday="1-2" time-of-day="00:00:00-00:00:00" break="never">
<action application="set" data="out-prefix=777" inline="true"/>
</condition>
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
the reason i use the above is because i have more conditions which r as follows
<condition wday="2-7" time-of-day="7:00-21:00" break="never">
<action application="set" data="out-prefix=888" inline="true"/>
</condition>
<condition wday="2-7" time-of-day="21:00:00-7:00:00" break="never">
<action application="set" data="out-prefix=777" inline="true"/>
</condition>
--
Regards,
Bipin
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www. freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch- UNSUBSCRIBE:http://lists.users freeswitch.org/mailman/ http://www.freeswitch.orgoptions/freeswitch-users
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www. freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch- UNSUBSCRIBE:http://lists.users freeswitch.org/mailman/ http://www.freeswitch.orgoptions/freeswitch-users
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org