Hi, Thanks for your response. It's a real shame I can't get the async behavior I want from Freeswitch/LUA as this is exactly the kind of abstraction layer I hoped for in a SIP Application Server. Most of the apps I want to develop would be served using the LUA environment as-is but if a few scenarios I want to be able to perform a small amount of activity whilst both legs are in a connected state, a prime example is a b-leg "whisper" where you are still playing "ringing" to the a-party while the b-party answers and hears a message just before connection to the a-party. Regards, Neil. mercutioviz wrote:
The level of control you need really isn't served by doing scripting from the dialplan. I highly recommend using ESL and the event socket. It will mean a bit of a paradigm shift in your coding, but with that shift comes a lot of power and control over what you can do with the calls - really limited only by your imagination.
-MC
On Fri, Jul 31, 2009 at 8:01 AM, peely <freeswitch@peely.com> wrote:
Hi,
I'm trying to develop an application using lua and need to control the inbound and outbound legs independently, even when they are switched together.
I can initiate the outbound session but I can't seem to bridge without losing control of the script.
Does anyone know a way I can allow ingress to egress calling whilst still maintaining script control mid-call? I also need to ingress to hear provisional speech during outbound connect. I've looked at conferencing but there seems to be quite a lot of automated messaging.
Thanks,
Neil.
-- View this message in context: http://www.nabble.com/LUA%3A-Independent-control-of-each-call-leg.-tp2474408... Sent from the Freeswitch-users mailing list archive at Nabble.com.