[Freeswitch-users] mod_managed API interface question

Malay Thakershi mthakershi at gmail.com
Tue Aug 31 10:19:42 PDT 2010


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.



More information about the FreeSWITCH-users mailing list