[Freeswitch-users] Schedule Api

Gregor Nanger gregor at infomedia.si
Mon Mar 21 02:43:03 MSK 2016


Playing with ESL and need some advice.

How can I schedule this dialplan command for example:

<action application="event"
data="Event-Subclass=myevent::notify,Event-Name=CUSTOM,key1=value1,key2=value2"/>

I want to shedule from ESL to raise CUSTOM event in x seconds, so I can
catch this event in ESL.

Should I send Api or Command from my code (ESL)?

I tried to send like:

sched_api +5 cc event Event-Name=CUSTOM, Event-Subclass=mysub::sub

But I get error Invalid Command!

Any hint?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/e520e482/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list