title: Twilio Conference - Rejoin after hanguponstart
body: <p>We have a Twilio conference setup in place, and the main user (moderator) is able to do some management of the conference from a conference menu. To access this, they press *.</p>
  <p>This is set when the conference is first created as follows (from within Functions):</p>
  <pre><code>exports.handler = function(context, event, callback) {
  
      let twiml = new Twilio.twiml.VoiceResponse();
      let twilio_call_id = event.twilio_call_id;
  
      twiml.dial({
          hangupOnStar: true,
          action: &quot;https://&quot; + context.DOMAIN_NAME + &quot;/clientConferenceMenu&quot;,
          method: 'POST'
      }).conference(twilio_call_id, {
          startConferenceOnEnter: true,
          endConferenceOnExit: false,
          statusCallbackEvent: &quot;join end leave hold&quot;,
          statusCallback: &quot;https://&quot; + context.DOMAIN_NAME + &quot;/callStatus&quot;,
          record: &quot;record_from_start&quot;,
          participantLabel: &quot;Client&quot;
      });
      return callback(null, twiml);
  });
  </code></pre>
  <p>Once the user has entered the conference menu, they can go back into the conference using a specific option - in this case press 3 (or say return).</p>
  <p>If they press option 3, if attempts to add them back into the conference:</p>
  <pre><code>client.conferences(conference_id)
    .fetch()
    .then((conference) =&gt; {
      console.log(&quot;Conference: &quot;, conference);
      twiml.dial({
        hangupOnStar: true,
        action: &quot;https://&quot; + context.DOMAIN_NAME + &quot;/clientConferenceMenu&quot;,
        method: 'POST'
      }).conference(conference.friendlyName, {
        startConferenceOnEnter: true,
        endConferenceOnExit: false,
        statusCallbackEvent: &quot;join end leave hold&quot;,
        statusCallback: &quot;https://&quot; + context.DOMAIN_NAME + &quot;/callStatus&quot;,
        record: &quot;record_from_start&quot;,
        participantLabel: &quot;Client&quot;
      });
      return callback(null, twiml);
    });
  </code></pre>
  <p>However... what it actually does, is create a new conference with the same name, but a different actual room.
  I think I either need to add them back using the conference-SID, but I don't see a way of doing that, or somehow, take them off hold.</p>
  <p>Any help gratefully received :)</p>