<div>hi michael,<br></div><div><br></div><div>pls disregard me last post. i just digged the &quot;endconf&quot; parameter. i&#39;ll try it. tks.</div>
<br><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 10:04 AM, Nandy Dagondon <span dir="ltr">&lt;<a href="mailto:gcd@i.ph">gcd@i.ph</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>hi michael,<br></div><div><br></div><div>i&#39;d like to have that feature, too, because our telco has an unusual line signalling - it only tear down the connection when the A-party hangs up first (Clear Forward).  if i transfer the callee to the conference, the telco line remains off-hook forever. as an interim solution, i&#39;m using the terminate_on_silence parameter.</div>


<br><font color="#888888"><div>-nandy<br></div></font><div><div class="h5"><div><br></div><div class="gmail_quote">On Fri, Jul 1, 2011 at 9:29 AM, ran zhang <span dir="ltr">&lt;<a href="mailto:rzhang@gosilverplus.com" target="_blank">rzhang@gosilverplus.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
    
  
  <div text="#000000" bgcolor="#ffffff">
           I attached the section in my dialplan that handles the
    bridging conference, when the first user (just say user 99)  dials
    &#39;20&#39;, he will invite user 10 to join conference, the conference will
    only be established if user 10 accepts the invitation, after this,
    other users can join the conference by dialing &#39;20&#39;. <br>
    <br>
           I want that if the first user (user 99 in this case)  or the
    user been invited (user 10 in this case)  leaves the conference, no
    matter how many people are still in the conference, it will close
    down the conference.   so i&#39;m trying to use the &#39;endconf&#39; flag, but
    apparently it is not valid syntax for bridging conference as I get a
    config error while running.  If I take out the &#39;+flags{endconf} &#39;, i
    wont get a config error while running, but then conference will only
    close down when there is 1 person left.<br>
    <br>
          I have also tried creating 2 difference conference profiles, 
    one profile has the &#39;endconf&#39; set in the &#39;member-flags&#39;, one
    profiles doesnt have &#39;endconf&#39; set, so user99 and user20 joins the
    20@profile1 conference, and other users joins the 20@profile2
    conference, that doesnt seem to work neither.   I have pasted
    conference.conf.xml file as well for ur review. <br>
           <br>
    <pre>&lt;include&gt;
  &lt;context name=&quot;test&quot;&gt;
    &lt;extension name=&quot;global&quot; continue=&quot;true&quot;&gt;
      &lt;condition&gt;
      &lt;/condition&gt;
    &lt;/extension&gt;

    &lt;extension name=&quot;conf&quot;&gt;
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(20)$&quot; &gt; &lt;/condition&gt;
        &lt;action application=&quot;answer&quot;/&gt;        
        &lt;action application=&quot;conference&quot; data=&quot;bridge:20@default+flags{endconf}:user/10&quot;/&gt;
        &lt;action application=&quot;conference&quot; data=&quot;20@default&quot;/&gt; 
      &lt;/condition&gt;
    &lt;/extension&gt;   
  &lt;/context&gt;
&lt;/include&gt;</pre>    <br>
    <br>
    <br>
    <br>
    On 6/30/2011 6:16 PM, Michael Collins wrote:
    <blockquote type="cite">Please put this information on pastebin and reply to
      the list so that we can all discuss it.<br>
      -MC<br>
      <br>
      <div class="gmail_quote">On Thu, Jun 30, 2011 at 1:51 PM, ran
        zhang <span dir="ltr">&lt;<a href="mailto:rzhang@gosilverplus.com" target="_blank">rzhang@gosilverplus.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
          <div text="#000000" bgcolor="#ffffff"> Mr Collins:<br>
            <br>
                   I attached the section in my dialplan that handles
            the bridging conference, when the first user (just say user
            99)  dials &#39;20&#39;, he will invite user 10 to join conference,
            the conference will only be established if user 10 accepts
            the invitation, after this, other users can join the
            conference by dialing &#39;20&#39;. <br>
            <br>
                   I want that if the first user (user 99 in this case) 
            or the user been invited (user 10 in this case)  leaves the
            conference, no matter how many people are still in the
            conference, it will close down the conference.   so i&#39;m
            trying to use the &#39;endconf&#39; flag, but apparently it is not
            valid syntax for bridging conference as I get a config error
            while running.  If I take out the &#39;+flags{endconf} &#39;, i wont
            get a config error while running, but then conference will
            only close down when there is 1 person left.<br>
            <br>
                  I have also tried creating 2 difference conference
            profiles,  one profile has the &#39;endconf&#39; set in the
            &#39;member-flags&#39;, one profiles doesnt have &#39;endconf&#39; set, so
            user99 and user20 joins the 20@profile1 conference, and
            other users joins the 20@profile2 conference, that doesnt
            seem to work neither.   I have pasted conference.conf.xml
            file as well for ur review. <br>
                   <br>
            <pre>&lt;include&gt;
  &lt;context name=&quot;test&quot;&gt;
    &lt;extension name=&quot;global&quot; continue=&quot;true&quot;&gt;
      &lt;condition&gt;
      &lt;/condition&gt;
    &lt;/extension&gt;

    &lt;extension name=&quot;conf&quot;&gt;
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(20)$&quot; &gt; &lt;/condition&gt;
        &lt;action application=&quot;answer&quot;/&gt;        
        &lt;action application=&quot;conference&quot; data=&quot;bridge:20@default+flags{endconf}:user/10&quot;/&gt;
        &lt;action application=&quot;conference&quot; data=&quot;20@default&quot;/&gt; 
      &lt;/condition&gt;
    &lt;/extension&gt;   
  &lt;/context&gt;
&lt;/include&gt;
</pre>            <br>
            <pre>&lt;configuration name=&quot;conference.conf&quot; description=&quot;Audio Conference&quot;&gt;
  &lt;!-- Advertise certain presence on startup . --&gt;
  &lt;advertise&gt;
    &lt;room name=&quot;3001@$${domain}&quot; status=&quot;FreeSWITCH&quot;/&gt;
  &lt;/advertise&gt;

  &lt;!-- These are the default keys that map when you do not specify a caller control group --&gt;        
  &lt;!-- Note: none and default are reserved names for group names.  Disabled if dist-dtmf member flag is set. --&gt;        
  &lt;caller-controls&gt;
    &lt;group name=&quot;default&quot;&gt;
      &lt;control action=&quot;mute&quot; digits=&quot;0&quot;/&gt;
      &lt;control action=&quot;deaf mute&quot; digits=&quot;*&quot;/&gt;
      &lt;control action=&quot;energy up&quot; digits=&quot;9&quot;/&gt;
      &lt;control action=&quot;energy equ&quot; digits=&quot;8&quot;/&gt;
      &lt;control action=&quot;energy dn&quot; digits=&quot;7&quot;/&gt;
      &lt;control action=&quot;vol talk up&quot; digits=&quot;3&quot;/&gt;
      &lt;control action=&quot;vol talk zero&quot; digits=&quot;2&quot;/&gt;
      &lt;control action=&quot;vol talk dn&quot; digits=&quot;1&quot;/&gt;
      &lt;control action=&quot;vol listen up&quot; digits=&quot;6&quot;/&gt;
      &lt;control action=&quot;vol listen zero&quot; digits=&quot;5&quot;/&gt;
      &lt;control action=&quot;vol listen dn&quot; digits=&quot;4&quot;/&gt;
      &lt;control action=&quot;hangup&quot; digits=&quot;#&quot;/&gt;
    &lt;/group&gt;
  &lt;/caller-controls&gt;

  &lt;!-- Profiles are collections of settings you can reference by name. --&gt;
  &lt;profiles&gt;
    &lt;!--If no profile is specified it will default to &quot;default&quot;--&gt;
    &lt;profile name=&quot;default&quot;&gt;
      &lt;!-- Domain (for presence) --&gt;
      &lt;param name=&quot;domain&quot; value=&quot;$${domain}&quot;/&gt;
      &lt;!-- Sample Rate--&gt;
      &lt;param name=&quot;rate&quot; value=&quot;8000&quot;/&gt;
      &lt;!-- Number of milliseconds per frame --&gt;
      &lt;param name=&quot;interval&quot; value=&quot;20&quot;/&gt;
      &lt;!-- Energy level required for audio to be sent to the other users --&gt;
      &lt;param name=&quot;energy-level&quot; value=&quot;300&quot;/&gt;

      &lt;!--Can be | delim of waste|mute|deaf|dist-dtmf waste will always transmit data to each channel
          even during silence.  dist-dtmf propagates dtmfs to all other members, but channel controls
          via dtmf will be disabled. --&gt;
      &lt;param name=&quot;member-flags&quot; value=&quot;dist-dtmf&quot;/&gt;

      &lt;!-- Name of the caller control group to use for this profile --&gt;
      &lt;!-- &lt;param name=&quot;caller-controls&quot; value=&quot;some name&quot;/&gt; --&gt;
      &lt;!-- TTS Engine to use --&gt;
      &lt;!--&lt;param name=&quot;tts-engine&quot; value=&quot;cepstral&quot;/&gt;--&gt;
      &lt;!-- TTS Voice to use --&gt;
      &lt;!--&lt;param name=&quot;tts-voice&quot; value=&quot;david&quot;/&gt;--&gt;

      &lt;!-- If TTS is enabled all audio-file params beginning with --&gt;
      &lt;!-- &#39;say:&#39; will be considered text to say with TTS --&gt;
      &lt;!-- Override the default path here, after which you use relative paths in the other sound params --&gt;
      &lt;!-- Note: The default path is the conference&#39;s first caller&#39;s sound_prefix --&gt;
      &lt;!--&lt;param name=&quot;sound-prefix&quot; value=&quot;$${sounds_dir}/en/us/callie&quot;/&gt;--&gt;
      &lt;!-- File to play to acknowledge succees --&gt;
      &lt;!--&lt;param name=&quot;ack-sound&quot; value=&quot;beep.wav&quot;/&gt;--&gt;
      &lt;!-- File to play to acknowledge failure --&gt;
      &lt;!--&lt;param name=&quot;nack-sound&quot; value=&quot;beeperr.wav&quot;/&gt;--&gt;
      &lt;!-- File to play to acknowledge muted --&gt;
      &lt;!-- Conference pin --&gt;
      &lt;!--&lt;param name=&quot;pin&quot; value=&quot;12345&quot;/&gt;--&gt;
      &lt;!-- Default Caller ID Name for outbound calls --&gt;
      &lt;param name=&quot;caller-id-name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;
      &lt;!-- Default Caller ID Number for outbound calls --&gt;
      &lt;param name=&quot;caller-id-number&quot; value=&quot;1234&quot;/&gt;
      &lt;!-- Suppress start and stop talking events --&gt;
      &lt;!-- &lt;param name=&quot;suppress-events&quot; value=&quot;start-talking,stop-talking&quot;/&gt; --&gt;
      &lt;!-- enable comfort noise generation --&gt;
      &lt;param name=&quot;comfort-noise&quot; value=&quot;true&quot;/&gt;
      &lt;!-- Uncomment auto-record to toggle recording every conference call. --&gt;
      &lt;!-- Another valid value is   <a href="mailto:shout://user:pass@server.com/live.mp3" target="_blank">shout://user:pass@server.com/live.mp3</a>   --&gt;
      &lt;!--
      &lt;param name=&quot;auto-record&quot; value=&quot;$${recordings_dir}/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;
      --&gt;
    &lt;/profile&gt;
</pre><div><div>
            <div>
              <div> <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                On 6/30/2011 1:07 PM, Michael Collins wrote:
                <blockquote type="cite">Can you pastebin exactly what
                  you are doing to establish the call? Including any
                  relevant dialplan entries. Also, if you have modified
                  conference.conf.xml we would like to see that also.<br>
                  <br>
                  -MC<br>
                  <br>
                  <div class="gmail_quote"> On Thu, Jun 30, 2011 at
                    10:59 AM, ran zhang <span dir="ltr">&lt;<a href="mailto:rzhang@gosilverplus.com" target="_blank">rzhang@gosilverplus.com</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"> hi all:<br>
                      <br>
                      I&#39;m trying to creating a conference, so when first
                      member enters the<br>
                      conference, he has to invite another members<br>
                      and have at least 1 other member to join to have
                      the conference established, so i&#39;m<br>
                      using bridging conference.<br>
                      <br>
                      I need this conference to be terminated when the
                      original creator of the<br>
                      conference leaves no matter how many members are
                      still left in the conference.<br>
                      <br>
                      i&#39;m trying to set &#39;endconf&#39; flag in a bridging
                      conference using<br>
                      &#39;bridge:confname+flag{endconf}:user/10&#39;,<br>
                      so it wil invite user extension 10, but its giving
                      me config error while<br>
                      running.<br>
                      <br>
                      can someone tell me what to do to solve this
                      problem or get around?  the key<br>
                      is i only want the original member to be able to
                      terminate the conference<br>
                      when he leaves, not other members assuming there
                      are at least 2 members.<br>
                      <br>
                      <br>
                      _______________________________________________<br>
                      Join us at ClueCon 2011, Aug 9-11, Chicago<br>
                      <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
                      877-7-4ACLUE<br>
                      <br>
                      FreeSWITCH-users mailing list<br>
                      <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                      <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                      UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                      <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <pre>_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>                </blockquote>
                <br>
              </div>
            </div>
          </div></div></div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>