<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">generally it keeps the overhead of running the script around during the whole call.&nbsp;<div><br></div><div>Mike</div><div><br><div><br><div><div>On Sep 4, 2009, at 10:37 AM, Shameem Shiek wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Michael,<br><br>Why is it not recommended to do the brdge app right in the script?&nbsp; The reason I ask this, I did have lot of trouble using Park/Fifo app in the script and the whole thing started working after I did the UUID transfer and have the things I wanted executed as part of the Dial plan. <br>
<br>Also, How many concurrent sessions can one support in ESL using Python/Ruby compared to using Lua?<br><br>Thanks.<br><br><div class="gmail_quote">On Fri, Sep 4, 2009 at 3:06 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "><br><br><div class="gmail_quote"><div class="im">On Thu, Sep 3, 2009 at 10:59 PM, Muhammad Shahzad <span dir="ltr">&lt;<a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I couple of my team members are working on translating a very long Asterisk Dial Plan to FreeSWITCH XML Dial Plan. Now reference to wiki link below,<br></blockquote></div><div><br>Before you go through all the trouble of translating the dialplan be sure to review the application itself. In many cases just doing a dialplan translation results in less efficient use of FreeSWITCH's powerful features. Be sure that you are looking at the way FreeSWITCH handles various situations and take advantage of its power and ease of use.<br>

</div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><a href="http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#About_Dialplan_Variables" target="_blank">http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#About_Dialplan_Variables</a><br>


<br>The dial plan variables are not getting initialized as expected. I was just wondering if we move this variable get and set stuff to any language module say mod_perl, will that make any difference performance wise? I mean we will be invoking a Perl interpreter for each incoming call, won't that be expensive in terms of RAM and CPU usage and thus reducing number of calls this FS deployment can handle?<br>


<br>I have guys with programming skills in Perl, PHP, Python, Java and LUA languages. Which language do you recommend for this, again in terms of speed and performance?<br clear="all"><br></blockquote></div><div><br>Lua is very portable and we've done tests with hundreds of concurrent Lua scripts running. The other languages are heavier but they'll still handle quite a few concurrent sessions. Just be sure that you don't do the bridge app right in the script, use transfer instead and have the dialplan process any bridging that you need to do.<br>

<br>-MC<br><br></div></div>
</blockquote></div></blockquote></div><br></div></div></body></html>