First take a look at: http://wiki.freeswitch.org/wiki/Rosetta_stone There's MANY ways to tell freeswitch what to do. Let's take a step back, OK? The simplest is to create a dialplan. With all the condition, regex, time based routing, etc, you can do quite a lot in just a static dialplan. Depending on what you need to do, you may never need to go beyond this. You can even do database calls from the static dialplan with mod_odbc_query (from git freeswitch-contrib). If you need a bit more flexiblity, you can call a lua script at any point. Lua seems to be the most embeddable language with very low overhead and high community support. If you need more, you can use XML_curl -- that's from a web server in any language -- that serves up XML specific for each call -- it gets all the variables about the call at that time. (You have to ensure your web server is working!) Alternatively, there's ESL - freeswitch fires off events for many things you can watch and trigger something. Or, ESL outbound. If you know C, you can write this logic in a module that is loaded directly with freeswitch. You can look up all those in the wiki, but I hope this helps explain the bigger picture. -Avi Marcus BestFone On Tue, Mar 12, 2013 at 8:35 AM, ashish gautam <gautamashish09@gmail.com>wrote:
Hi,
I am a newbie to FS and was previously using Asterisk for developing telephony apps using PHP-AGI.
I want to know which scripting language will be best to use with freeSWITCH? I have come across languages like Javascript,Python,LUA etc. and I am confused at this time about which one works best with it.
Kindly help.
-- REGARDS ============================================ *Ashish Gautam* (+918802865008)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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