[Freeswitch-dev] Lua session:execute did not return on conference

Scott Shen sshen at oa.com.au
Mon Mar 2 17:10:05 PST 2009


In non-blocking mode, I think the script can invite some other parties

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Tuesday, 3 March 2009 11:56 AM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Lua session:execute did not return on conference

> session:answer()
> session:setAutoHangup(false)
> session:sleep(200)
>
> session:execute("conference", "12345 at default")
>
> freeswitch.consoleLog("notice", "testing conference\n")
>
>
> The freeswitch.consoleLog wont be execute unless the caller hangs up

I think the call to "conference" is blocking. If you had a
non-blocking call what would your script be doing while the session
was in conference? Just curious.

-MC

_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org



More information about the Freeswitch-dev mailing list