<p dir="ltr">Yes, for relatively small scripts that are concentrated on their jobs. But this thing is huge.</p>
<div class="gmail_quote">On 25 Jan 2016 3:36 am, "Michael Jerris" <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Lua is likely to be by far the most efficient of any scripting language used in FreeSWITCH, if there is still really a concern about performance, more pieces can be moved to helpers built out in c code. If you are looking for dynamic but still optimal performance, lua is likely your best bet<span></span><br><br>On Sunday, January 24, 2016, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">why not re-implementing it in Golang and ESL?<br>
<br>
What's happening now with your system, is that FreeSWITCH loads few<br>
thousand lines of Lua code on every call establishment. So, even with<br>
default 30cps limit, you may overload the CPU with unnecessary job.<br>
<br>
if you don't like Go, it could be some other language, but I like the<br>
built-in threads in it.<br>
<br>
<br>
<br>
On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips <<a>chad@apartmentlines.com</a>> wrote:<br>
> Hi Bote,<br>
><br>
> The difference is (supposed to be) that using Jester takes a lot of the<br>
> dirty work out of doing things that you must turn to scripting for. The<br>
> original design was to remove almost all scripting complexity, and instead<br>
> have users use a more template-based approach to writing their advanced<br>
> workflows. You can have a look at<br>
> <a href="http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences" target="_blank">http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences</a><br>
> to see the basic template style.<br>
><br>
> And here's an example template that does some fairly advanced stuff:<br>
><br>
> <a href="http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html" target="_blank">http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html</a><br>
><br>
> To my eyes, what the template accomplishes is quite easy to deduce from<br>
> simply reading it, and all of the dirty work for taking those actions is<br>
> handled by Jester core and the supporting modules.<br>
><br>
> The current limitation is that you must use the template structure to gain<br>
> access to Jester's modules. Looking back, this was a design mistake that I<br>
> intend to rectify -- it would be much more powerful and flexible to use a<br>
> template when it made sense, and still be able to mix pure Lua scripting<br>
> with calls to Jester's support modules when that makes more sense. And what<br>
> I'm hoping to get help with is correcting that design flaw while preserving<br>
> 'the good stuff' in the toolkit.<br>
><br>
> Chad<br>
><br>
> On Fri, Jan 22, 2016 at 2:16 PM, Bote Man <<a>bote_radio@botecomm.com</a>> wrote:<br>
>><br>
>> Hey Chad, long time no chat J I saw your update to the Help section of<br>
>> the Confluence page concerning this and glanced at some things there.<br>
>><br>
>><br>
>><br>
>> I guess I don’t even know enough to understand the difference between<br>
>> using your toolkit and just plain writing a Lua script. Would I, for<br>
>> example, write an abbreviated Lua script that calls tested and proven<br>
>> functions in your toolkit, sort of like a library?<br>
>><br>
>><br>
>><br>
>> Anyway it sounds useful, so thanks.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> ---<br>
>><br>
>> Bote<br>
>><br>
>><br>
>><br>
>> FreeSWITCH Docs Janitor<br>
>><br>
>> <a href="http://freeswitch.org/confluence" target="_blank">http://freeswitch.org/confluence</a><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> From: Chad Phillips<br>
>> Sent: Friday, 22 January, 2016 14:41<br>
>> Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua<br>
>> scripting toolkit<br>
>><br>
>><br>
>><br>
>> Looking for folks in the FreeSWITCH community who would be interested in<br>
>> collaborating on an open source scripting toolkit I've written for<br>
>> FreeSWITCH/Lua. The basic idea is to have ready made solutions to common<br>
>> scripting needs, so as not to reinvent the wheel.<br>
>><br>
>><br>
>><br>
>> The original project was written in 2010. A lot of it still works great,<br>
>> and there are some design flaws that I'd like to work out in the next<br>
>> release.<br>
>><br>
>><br>
>><br>
>> Project code is here: <a href="https://github.com/thehunmonkgroup/jester" target="_blank">https://github.com/thehunmonkgroup/jester</a><br>
>><br>
>><br>
>><br>
>> Some background and reasoning for the project here:<br>
>> <a href="http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/" target="_blank">http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/</a><br>
>><br>
>><br>
>><br>
>> If anyone is interested in helping, please let me know!<br>
>><br>
>><br>
>><br>
>> Chad<br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a>consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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>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>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a>consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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>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>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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>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></blockquote>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>