IMHO, the best way to do this is using the ESL. The wiki has some examples on how this can be done. Regards HASSAN On 2010-08-31, Malay Thakershi <mthakershi@gmail.com> wrote:
Hello,
Please let me know if this is feasible / possible. I need to make outgoing calls based on a scheduler using FS (SIP).
I am planning to write a windows service that runs at particular time interval (say 10 minutes), checks who needs to be called, fires commands to originate these calls.
I have a single FS command line running (where FS console is running). I am planning to fire FS commands such as: ----------------------
managed apidemo a1 123 API CALL [managed(apidemo a1 123)] output: ApiDemo executed with args 'a1 123' and event type API.
managedrun apidemo a1 123 API CALL [managedrun(apidemo a1 123)] output: +OK 2008-10-08 17:44:25 [DEBUG] switch_cpp.cpp:1059 console_log() ApiDemo on a background thread #(3), with args 'a1 123'. 2008-10-08 17:44:25 [DEBUG] switch_cpp.cpp:1059 console_log() ExecuteBackground in apidemo completed.
So I will pass some arguments to the mod_managed script and it will fire an API to originate call.
My main question is: How can I communicate windows service to fire FreeSwitch commands?
Thank you for any help or guidance.
_______________________________________________ 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
-- Sent from my mobile device