Thanks, Michael. It works! However, an unintended side effect is that "originate" command returns much earlier than the "conference" command. "Conference" command waits until the initiator picks up phone before dialing others (possibly in background with "bgdial"). "originate" command would return almost immediately and start dialing others without waiting for the initiator picking up phone. Is there a way to force "originate" command to delay the return until the endpoint picking up the phone? I'm sure all this is possible to events and scripts. But I just hope there is a shortcut here. Cheers. Jun On 2/12/2013 4:30 PM, Michael Collins wrote:
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 <mailto: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 <mailto: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 <mailto: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
_________________________________________________________________________ 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