[Freeswitch-users] Time condition in Lua

Chia-Yen Wu xanlich at gmail.com
Wed Feb 24 01:14:45 PST 2010


yep , sorry i mean to say "week of month"

thank for help! that's what i needed!

2010/2/24 Nazim Agabekov <nazim.agabekov at gmail.com>

>  Hello Wu
>
> That's what I've found searching Lua Wiki:
>
> http://lua-users.org/wiki/DayOfWeekAndDaysInMonthExample
>
> There are a lot of helpful examples which could be used to create a
> powerful calendar application.
> Did you mean to say "week of month"?
>
> Nazim.
>
>
> On 02/24/2010 06:54 AM, Chia-Yen Wu wrote:
>
> hello
>
>  is there anyway to do the time condition in lua script?
> the only way i know is get the infomation by strftime() and compare it
> but not all of them, like "*month of week" *doesnt support by strftime()
> which dialplan XML does.
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _______________________________________________
> 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/20100224/4d95aad9/attachment-0002.html 


More information about the FreeSWITCH-users mailing list