Ok, perfect. I assumed as much, since all variables are posted to the cdr anyway. thanks Avi David On Thu, Jul 21, 2011 at 3:11 PM, Avi Marcus <avi@avimarcus.net> wrote:
If you are having lua "set" the variable, then those are actually SET in the channel for FreeSWITCH. Any other lua-specific variables though will not be carried over.
-Avi
On Thu, Jul 21, 2011 at 3:12 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Avi,
I have indeed been looking into the overhead, even though it doesn't becomes until very high load. Good idea, I will look into that, will i not lose all variables set by the first lua?
thanks for the tip!
David
On Thu, Jul 21, 2011 at 1:39 PM, Avi Marcus <avi@avimarcus.net> wrote:
I took a quick look at the Lua, and it looks like you bride within the lua scripts. That means the lua script keeps running during the whole bridge. At scale, you might start to see the overhead as an issue.
Instead you can bridge to a custom static extension, e.g. "bridge_callingcard_$number" that then uses all the variables and completes the bridge, and launches whatever lua scripts needs to be run afterwards from there.
-Avi
On Wed, Jul 20, 2011 at 2:30 PM, David Villasmil <
david.villasmil.work@gmail.com> wrote:
Hello guys,
I finally set up a git at github. I would like to have a couple testers, anyone?
Please bear in mind:
- There's NO installation script. But it is all scripts and web pages, etc. - The web interface is in spanish, i still need to translate that. - The web design is by no means "cool", it is just functional. - There will for sure be a thousand bugs, which will need to be fixed.
Contact me whoever's interested.
Thanks all
David
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org