On Fri, Feb 6, 2015 at 5:27 AM, Борисов, Дмитрий / Dmitriy Borisov <bordmi@rarus.ru> wrote:I found only one method (from lua):freeswitch.api:execute("sched_api","$time $group luarun(fire_event.lua $id)")Does freeswitch has any other way, less perverse?Could you define what makes sched_api "way too hard" and "perverse"? We've been using it for years and I find it to be exceptionally simple and elegant. Granted, it's designed to schedule an API to be run, not specifically to fire an event. However, sending events requires several steps to be taken anyway, i.e. defining the event headers and then firing. Doing sched_api to have a script fire an event for you seems completely reasonable.-MC2015-02-06 16:03 GMT+03:00 Борисов, Дмитрий / Dmitriy Borisov <bordmi@rarus.ru>:Hi!I want to schedule a FreeSWITCH event from lua script. How can I do this?sched_api is too hard way to do this, in my opinion.--with best regards,Dmitriy Borisov--with best regards,Dmitriy Borisov
_________________________________________________________________________
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-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org