[Freeswitch-users] Time-of-day broken?

Avi Marcus Avi at amarcus.com
Mon Dec 27 19:39:36 MSK 2010


I deleted that file, argh. let's see:
I tried <condition time-of-day="00:00-21:59:59"  break="on-true">

and now I get
Date/Time Match (PASS) [YLE-tod] break=on-true

Not sure what changed.

But if it showed Regex (*FAIL*) [YLE3] time-of-day() =~ /00:00-07:59:59/
break=on-false
last time - it seemed to be matching it to something...?
Why the switch from regex to date/time? Did I have the () in my XML?

Oh well, if I can't reproduce it, then I guess there's nothing to do about
it.

-Avi

On Mon, Dec 27, 2010 at 5:47 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> the () implies whatever you are testing evaluated to an empty string
> so you are testing if NOTHING matches the regex.
> What did the xml look like?
>
>
>
> On Sun, Dec 26, 2010 at 6:29 PM, Avi Marcus <Avi at amarcus.com> wrote:
> > This is my first day using time-based routing, and I'm not having fun.
> > Regex (FAIL) [YLE3] time-of-day() =~ /00:00-07:59:59/ break=on-false
> > freeswitch at internal> strftime 2010-12-27 02:14:41
> > This is on the latest GIT.
> > -Avi
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101227/3ca4dde4/attachment-0001.html 


More information about the FreeSWITCH-users mailing list