[Freeswitch-users] how to end conference after initiator hangs up (dialout style)

Michael Collins msc at freeswitch.org
Wed Feb 13 03:30:17 MSK 2013


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 at x.x.x.x:5060
&conference("conference_test++flags{endconf}")

-MC

On Sat, Feb 9, 2013 at 2:52 PM, Jun Sun <jsun at 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 at x.x.x.x:5060 $myNumber
> conference_test";
> conference $myRoom dial sofia/internal/$theirNumber1 at x.x.x.x:5060
> $myNumber conference_test";
> conference $myRoom dial sofia/internal/$theirNumber2 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130212/070023e1/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list