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.
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 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
yep , sorry i mean to say "week of month" thank for help! that's what i needed! 2010/2/24 Nazim Agabekov <nazim.agabekov@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@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ 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
participants (2)
-
Chia-Yen Wu
-
Nazim Agabekov