Use Lua. It's easy to learn, it's lightweight, and it scales WAY WAY better than JavaScript/Spidermonkey. In the amount of time it will take you to debug an esoteric js error you can learn Lua. In fact, chapter 7 of the FS book has a nice, gentle intro to Lua. (Full disclosure: I authored chapter 7 of the FreeSWITCH book. I am unabashedly biased in favor of Lua.)<br>
<br>-MC<br><br>Amazon link: <a href="http://amzn.to/cNym68">http://amzn.to/cNym68</a><br><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 2:45 PM, Der Engel <span dir="ltr"><<a href="mailto:engelster@gmail.com">engelster@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Just begun to play with FreeSWITCH and was wondering what scripting<br>
language to use to extend its functionality, by reading the wiki I<br>
understand that the recommended one is Lua but I don't know the<br>
language yet, I do know Javascript, so my question is, will FreeSWTCH<br>
support Javascript as a first class citizen in the future (by looking<br>
at the source the spidermonkey lib hasn't been update in years) or<br>
should I just get started in learning Lua for future<br>
support/conformance sake?<br>
<br>
Thanks,<br>
Der<br>
<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>
</blockquote></div><br>