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

2009-03-02 Thread Scott Shen
esday, 3 March 2009 3:15 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Lua session:execute did not return on conference I encountered a similar situation and I created an extension that I transferred the session to. In that extension is where I drop the call int

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

2009-03-02 Thread jonathan augenstine
I encountered a similar situation and I created an extension that I transferred the session to. In that extension is where I drop the call into the conference. It allows the script to continue on, create new sessions, and connect them to the conference by transferring the session to the conferenc

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

2009-03-02 Thread Michael S Collins
Sent from my iPhone On Mar 2, 2009, at 5:11 PM, Scott Shen wrote: > Then, how can I drop a session into a conference via lua script? or > is it not possible? > It depends. What is the big picture? What is the actual application that you are creating? It sounds like you need to control multi

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

2009-03-02 Thread Scott Shen
: freeswitch-dev@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_co

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

2009-03-02 Thread Scott Shen
@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", "12...@default") > > freeswitch.consoleLog(&q

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

2009-03-02 Thread Mathieu Rene
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 scr

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

2009-03-02 Thread Michael Collins
> session:answer() > session:setAutoHangup(false) > session:sleep(200) > > session:execute("conference", "12...@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 block

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

2009-03-02 Thread Scott Shen
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",