<div dir="ltr">First take a look at:<div><a href="http://wiki.freeswitch.org/wiki/Rosetta_stone">http://wiki.freeswitch.org/wiki/Rosetta_stone</a></div><div><br></div><div>There&#39;s MANY ways to tell freeswitch what to do.</div>

<div><br>Let&#39;s take a step back, OK?</div><div><br></div><div>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).</div>

<div><br></div><div>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.</div><div><br></div><div>If you need more, you can use XML_curl -- that&#39;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!)</div>

<div><br></div><div>Alternatively, there&#39;s ESL - freeswitch fires off events for many things you can watch and trigger something. Or, ESL outbound.</div><div>If you know C, you can write this logic in a module that is loaded directly with freeswitch.</div>

<div><br></div><div>You can look up all those in the wiki, but I hope this helps explain the bigger picture.</div><div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi Marcus</span><br>

BestFone</div></div><br><div class="gmail_quote">On Tue, Mar 12, 2013 at 8:35 AM, ashish gautam <span dir="ltr">&lt;<a href="mailto:gautamashish09@gmail.com" target="_blank">gautamashish09@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I am a newbie to FS and was previously using Asterisk for developing telephony apps using PHP-AGI.<br><br>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.<br>


<br>Kindly help.<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br>REGARDS<br><span style="color:rgb(153,153,153)">============================================</span><br><b style="color:rgb(102,102,102)">Ashish Gautam</b><br>

<div style="text-align:left">
<span style="color:rgb(102,102,102)"><a href="tel:%28%2B918802865008" value="+918802865008" target="_blank">(+918802865008</a>)</span><br><br></div>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>