How to configure bbb for One-to-One Meetings only

653 views
Skip to first unread message

abdul waheed

unread,
Oct 30, 2012, 4:24:20 PM10/30/12
to bigblueb...@googlegroups.com
How to configure bbb to restrict meeting rooms for one to one sessions only, meaning that, only one attendee can attend the meeting and when a second user clicks the same joining link he should be redirected to another page. I really appreciate your help.

Fred Dixon

unread,
Oct 30, 2012, 5:44:52 PM10/30/12
to bigblueb...@googlegroups.com
Hi Abdul,

You can handle all the logic in the 3rd party application that uses the BigBlueButton API.  

We distribute a number of demo API examples to show how to create and join meetings.  Assuming that you have your own front-end to BigBlueButton, you would use the getMeetingInfo api call to query how many people are in the sessions and decided whether to allow a user to connect.

See



Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




On Tue, Oct 30, 2012 at 4:24 PM, abdul waheed <qurant...@gmail.com> wrote:
How to configure bbb to restrict meeting rooms for one to one sessions only, meaning that, only one attendee can attend the meeting and when a second user clicks the same joining link he should be redirected to another page. I really appreciate your help.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/4yzrvHaqTWkJ.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.




HostBBB.com

unread,
Oct 30, 2012, 10:58:41 PM10/30/12
to BigBlueButton-dev
Adbul, you check participantCount each time a user trys to join and
build your logic around this. If the count is greater then 2 you
don't allow next in, and redirect users into a different session
based on rules.

regards,
Stephen
hostbbb.com

abdul waheed

unread,
Nov 7, 2012, 9:21:44 AM11/7/12
to bigblueb...@googlegroups.com
Hi, Fred,

I'm trying with php API, I have set passwords but moderator and attendee both can enter without password and I have set limit to 2 in 'participants' but not working. Can you please suggest a way. I'm not an expert one.Also I set recording 'true' but I can t play recording with 'get recordings' function but at the end of xml response there is  'Meeting info was found on the server.' Where are these recordings located?

  Here is the below php api  for creating meetings

____________________________________________________________________
<?php

/* _____ PHP Big Blue Button API Usage ______
* by Peter Mentzer pe...@petermentzerdesign.com
* Use, modify and distribute however you like.
*/

// 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' => '1234',                     // REQUIRED
    'meetingName' => 'Test Meeting Name',     // REQUIRED
    'attendeePw' => 'api',                     // REQUIRED
    'moderatorPw' => 'mpi',                     // REQUIRED
    'welcomeMsg' => '',                     // ''= use default. Change to customize.
    'dialNumber' => '',                     // The main number to call into. Optional.
    'voiceBridge' => '',                     // PIN to join voice. Optional.
    'webVoice' => '',                         // Alphanumeric to join voice. Optional.
    'logoutUrl' => '',                         // Default in bigbluebutton.properties. Optional.
    'maxParticipants' => '2',                 // Optional. -1 = unlimitted. Not supported in BBB. [number]
    'record' => 'true',                     // New. 'true' will tell BBB to record the meeting.
    'duration' => '0',                         // Default = 0 which means no set duration in minutes. [number]
    //'meta_category' => '',                 // Use to pass additional info to BBB server. See API docs.
);

// Create the meeting and get back a response:
$itsAllGood = true;
try {$result = $bbb->createMeetingWithXmlResponseArray($creationParams);}
    catch (Exception $e) {
        echo 'Caught exception: ', $e->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 "<p>Meeting succesfullly created.</p>";
        }
        else {
            echo "<p>Meeting creation failed.</p>";
        }
    }
}

?>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

HostBBB.com

unread,
Nov 7, 2012, 10:29:15 AM11/7/12
to BigBlueButton-dev
Adbul, the server has no logic to manage participant count so that
parameter is ignored. You need to build the logic entirely in your
php business app. You need to query the server before every join...
and determine if you want to let them in based on you logic.

As for recordings... just need to set recording to true on
create... the rest will happen automatically if record and archive
is running properly on your server.... You test this by using the
example RECORD in demo 10.

You also need to know if admin is already in room, because you dont
want 2 students to jump in, then not allow the tutor access.

You need to create a few custom api functions to easily get this to
work, i added a custom getParticipantCount(meetingid,password)
function to my business logic, and a few other custom functions to map
limits, based on roles etc.

regards,
Stephen
hostbbb.com
> ---------------------------------------------------------------------------­---------------------------------------------------------------------------­-------------------------------------
>
>
>
> On Wednesday, 31 October 2012 02:45:17 UTC+5, Fred Dixon wrote:
>
> > Hi Abdul,
>
> > You can handle all the logic in the 3rd party application that uses the
> > BigBlueButton API.
>
> > We distribute a number of demo API examples to show how to create and join
> > meetings.  Assuming that you have your own front-end to BigBlueButton, you
> > would use the getMeetingInfo api call to query how many people are in the
> > sessions and decided whether to allow a user to connect.
>
> > See
>
> >    http://code.google.com/p/bigbluebutton/wiki/API#Get_Meeting_Info
>
> > Regards,... Fred
> > --
> > BigBlueButton Developer
> >http://bigbluebutton.org/
> >http://code.google.com/p/bigbluebutton
> > BigBlueButton on twitter: @bigbluebutton
>
> > On Tue, Oct 30, 2012 at 4:24 PM, abdul waheed <qurant...@gmail.com<javascript:>
> > > wrote:
>
> >> How to configure bbb to restrict meeting rooms for one to one sessions
> >> only, meaning that, only one attendee can attend the meeting and when a
> >> second user clicks the same joining link he should be redirected to another
> >> page. I really appreciate your help.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "BigBlueButton-dev" group.
> >> To view this discussion on the web visit
> >>https://groups.google.com/d/msg/bigbluebutton-dev/-/4yzrvHaqTWkJ.
> >> To post to this group, send email to bigblueb...@googlegroups.com<javascript:>
> >> .
> >> To unsubscribe from this group, send email to
> >> bigbluebutton-...@googlegroups.com <javascript:>.

webdev

unread,
Nov 7, 2012, 10:32:46 AM11/7/12
to bigblueb...@googlegroups.com
Need to spend time to handle your requests or take commercial support to solve the issues

Fred Dixon

unread,
Nov 7, 2012, 11:21:40 AM11/7/12
to BigBlueButton-dev
Hi Stephen,

> You need to create a few custom api functions to easily get this to
> work, i added a custom getParticipantCount(meetingid,password)
> function to my business logic, and a few other custom functions to map
> limits, based on roles etc.

I'm going to state this for all companies who are interested in offering products and services to BigBlueButton.

We all wear our open source hats here.  We're here to help others solve problems.  Obviously, the effort we invest in helping others reflects well on our companies, but these forums are not for selling -- either implied or directly -- a product or service.  They are for helping others solve problems with BigBlueButton. 

If your going to talk about features you've customized in BigBlueButton, then please provide the means for others in this forum to access these customizations; otherwise, it's an implied way of saying "contact me off list and I'll sell you the solution".

If someone is looking for commercial support, there are various support options listed here


On these forums we want a very healthy exchange of ideas and support that strengthens the community and encourages others to reciprocate.  If someone posts to these forums, they are looking for community support, not commercial support.


Regards,... Fred




To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.

Reply all
Reply to author
Forward
0 new messages