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

Scott Shen sshen at oa.com.au
Mon Mar 2 17:11:55 PST 2009


Then, how can I drop a session into a conference via lua script? or is it not possible?



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

Thats the way its supposed to be.

Math

On 2-Mar-09, at 7:34 PM, Scott Shen wrote:

>
> Had a try following the example found at
>
> http://wiki.freeswitch.org/wiki/Simple_conference.lua
>
>
> However, the session:execute seems wont return until the caller
> hangs up
>
> Following is my test script
>
>
> 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
>
>
> What's wrong with it?
>
> Regards
> Scott
>
>
> _______________________________________________
> 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


_______________________________________________
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