You could have the initiator put into the conference room via the originate command, in which case you could set flags:

originate sofia/internal/$myNumber@x.x.x.x:5060 &conference("conference_test++flags{endconf}")

-MC

On Sat, Feb 9, 2013 at 2:52 PM, Jun Sun <jsun@junsun.net> wrote:

I have set up a conferencing call node using dialout style. That is, I
use the following commands to bridge everyone into a conference:

conference $myRoom dial sofia/internal/$myNumber@x.x.x.x:5060 $myNumber
conference_test";
conference $myRoom dial sofia/internal/$theirNumber1@x.x.x.x:5060
$myNumber conference_test";
conference $myRoom dial sofia/internal/$theirNumber2@x.x.x.x:5060
$myNumber conference_test";
...

Right now things are working fine except for one thing. I like to end
the conference (i.e., all legs are disconnected) when the initiator
($myNumber) hangs up. But it is not doing that (understandably so!).

How can I achieve that?

I searched around and it seems most conf call controls only apply to
dial-in style conference calls.

Thanks for any pointers!

Jun

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org