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 conference extension.

Jonathan

On Mon, Mar 2, 2009 at 7:55 PM, Michael S Collins <msc@freeswitch.org> wrote:
Sent from my iPhone

On Mar 2, 2009, at 5:11 PM, Scott Shen <sshen@oa.com.au> 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 multiple
sessions. If so, you probably shouldn't be doing that from a single
Lua script that is called from the dp. However, when you tell us a bit
more about your application we can give you more intelligent answers.

-MC
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

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