[Freeswitch-users] LUA: Independent control of each call leg.
pjintheusa at gmail.com
Sat Aug 1 12:36:09 PDT 2009
>>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
You should be able to do this particular function using group_confirm. See
this page in the wiki.
In your case the test.js would contain the whisper. Note that you can send
args to this script.
On Fri, Jul 31, 2009 at 11:01 AM, peely <freeswitch at peely.com> wrote:
> I'm trying to develop an application using lua and need to control the
> inbound and outbound legs independently, even when they are switched
> I can initiate the outbound session but I can't seem to bridge without
> losing control of the script.
> For example, if I use:
> local api = freeswitch.API();
> inSession = session;
> egSession = freeswitch.Session("sofia/default/mynum at mydomain.com");
> if egSession:ready() then
> api:execute("uuid_bridge",inSession.uuid .. " " ..
> while egSession:ready() do
> Then I lose the script entirely, and if I use:
> inSession:execute("bridge", "sofia/default/mynum at mydomain.com")
> Then I lose the ability to control the call whilst the outbound is in
> 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.
> View this message in context:
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users