Skip to main content

hangup_after_conference

Created by Ryan Harris, last modified by Joshua Young on 2018.12.26

hangup_after_conference

boolean Controls what happens to a calling (A) party when in a conference and the conference ends (e.g. endconf flag set and moderator leaves). If true (default) the dialplan will stop processing and the A leg will be terminated. If false the dialplan continues to be processed after the end of conference.

Usage

<action application="set" data="hangup_after_conference=false"/>
<!-- all regular memebers who dial "3500" will continue to the echo action after the "endconf" member below leaves conference -->
<!-- note that "hangup_after_true" is depenent on "endconf", one members (or more) must have endconf flag -->
<!-- if two or more managers join, call, participants will be kicked after laster member with "endconf" flag leaves -->
<!-- When a person calls into "3500-admin" and leaves, the partipants who came in via "3500" will continue to thier own echo app -->


<extension name="cdquality_conferences">
<condition field="destination_number" expression="^(35\d{2})$">
<action application="answer"/>
<action application="set" data="hangup_after_conference=false"/>
<action application="conference" data="$1-${domain_name}@video-mcu-stereo"/>
<action application="set" data="echo_encode_video=true"/>
<action application="echo"/>
</condition>
</extension>


<extension name="conference manager">
<condition field="destination_number" expression="^(35\d{2})-admin$">
<action application="set" data="conference_member_flags=endconf"/>
<action application="conference" data="$1-${domain_name}@video-mcu-stereo"/>
</condition>
</extension>