title: Regarding BigBlueButton implementation in Codeigniter
body: <p>I am trying to integrate bigbluebutton into Codeigniter and after complete set i am not able to create meeting and other things.. below is the code</p>
  
  <pre><code>&lt;?php
  
  
  // Require the bbb-api file:
  require_once('../includes/bbb-api.php');
  
  
  // Instatiate the BBB class:
  $bbb = new BigBlueButton();
  
  /* ___________ CREATE MEETING w/ OPTIONS ______ */
  /* 
  */
  $creationParams = array(
      'meetingId' =&gt; '1234',                  // REQUIRED
      'meetingName' =&gt; 'Test Meeting Name',   // REQUIRED
      'attendeePw' =&gt; 'ap',                   // Match this value in getJoinMeetingURL() to join as attendee.
      'moderatorPw' =&gt; 'mp',                  // Match this value in getJoinMeetingURL() to join as moderator.
      'welcomeMsg' =&gt; '',                     // ''= use default. Change to customize.
      'dialNumber' =&gt; '',                     // The main number to call into. Optional.
      'voiceBridge' =&gt; '',                    // PIN to join voice. Optional.
      'webVoice' =&gt; '',                       // Alphanumeric to join voice. Optional.
      'logoutUrl' =&gt; '',                      // Default in bigbluebutton.properties. Optional.
      'maxParticipants' =&gt; '-1',              // Optional. -1 = unlimitted. Not supported in BBB. [number]
      'record' =&gt; 'false',                    // New. 'true' will tell BBB to record the meeting.
      'duration' =&gt; '0',                      // Default = 0 which means no set duration in minutes. [number]
      //'meta_category' =&gt; '',                // Use to pass additional info to BBB server. See API docs.
  );
  
  // Create the meeting and get back a response:
  $itsAllGood = true;
  try {$result = $bbb-&gt;createMeetingWithXmlResponseArray($creationParams);}
      catch (Exception $e) {
          echo 'Caught exception: ', $e-&gt;getMessage(), "\n";
          $itsAllGood = false;
      }
  
  if ($itsAllGood == true) {
      // If it's all good, then we've interfaced with our BBB php api OK:
      if ($result == null) {
          // If we get a null response, then we're not getting any XML back from BBB.
          echo "Failed to get any response. Maybe we can't contact the BBB server.";
      }   
      else { 
      // We got an XML response, so let's see what it says:
      print_r($result);
          if ($result['returncode'] == 'SUCCESS') {
              // Then do stuff ...
              echo "&lt;p&gt;Meeting succesfullly created.&lt;/p&gt;";
          }
          else {
              echo "&lt;p&gt;Meeting creation failed.&lt;/p&gt;";
          }
      }
  }
  
  ?&gt;
  </code></pre>
  
  <p>And what parameters have to pass to create meeting in url</p>