<div dir="ltr">If you are having lua &quot;set&quot; the variable, then those are actually SET in the channel for FreeSWITCH.<div>Any other lua-specific variables though will not be carried over.</div><div><br clear="all">

<div dir="ltr"><span style="font-family:Verdana, Arial, Helvetica, sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 3:12 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@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;">

Avi,<div><br></div><div>I have indeed been looking into the overhead, even though it doesn&#39;t becomes until very high load. Good idea, I will look into that, will i not lose all variables set by the first lua?</div><div>



<br></div><div>thanks for the tip!</div><div><br></div><div><font color="#888888">David<br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Jul 21, 2011 at 1:39 PM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div dir="ltr"><div class="gmail_quote"><div>I took a quick look at the Lua, and it looks like you bride within the lua scripts.</div>



<div>That means the lua script keeps running during the whole bridge.</div><div>At scale, you might start to see the overhead as an issue.</div>

<div><br></div><div>Instead you can bridge to a custom static extension, e.g. &quot;bridge_callingcard_$number&quot;  that then uses all the variables and completes the bridge, and launches whatever lua scripts needs to be run afterwards from there.</div>





<div><br></div><font color="#888888"><div>-Avi</div></font><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote">On Wed, Jul 20, 2011 at 2:30 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@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">
Hello guys,<div><br></div><div>I finally set up a git at github. I would like to have a couple testers, anyone?</div><div><br></div><div>Please bear in mind:</div><div><br></div><div>- There&#39;s NO installation script. But it is all scripts and web pages, etc.</div>








<div>- The web interface is in spanish, i still need to translate that.</div><div>- The web design is by no means &quot;cool&quot;, it is just functional.</div><div>- There will for sure be a thousand bugs, which will need to be fixed.</div>








<div><br></div><div>Contact me whoever&#39;s interested.</div><div><br></div><div><br></div><div>Thanks all</div><div><br></div><div><font color="#888888">David</font></div></blockquote></div></blockquote></div></div></div>




<br></div></div><div class="im">_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>