Looking for the MeetingID when Joining a Class in Moodle (Mobile)

201 views
Skip to first unread message

Robert Montgomery

unread,
Jun 29, 2015, 1:59:31 PM6/29/15
to bigblueb...@googlegroups.com
Hello,

I've installed Moodle 2.9 with the BBB plugin.  BBB 0.9 is installed on a dedicated server and works correctly when joining the class from a browser (Firefox).  I would like to be able to port the functionality to a mobile application for Android.  After reading over the API documentation I am able to create HTTPRequests using the desired API call, salt and resulting checksum.  While I can join a meeting on the BBB test server (which the sample code provides the meetingID) , I cannot join a meeting on my own server because I do not know the MeetingID BBB is expecting for the class I've created in Moodle.  A "getMeeings" to my server returns with only returncode=SUCCESS and version = 0.9.  No meetingID information is returned, yet I have an open BBB session in Moodle.

Any help in understanding how to get the meetingID for the Moodle class would be appreciated. 

Thanks,
Robert Montgomery

Chad Pilkey

unread,
Jun 29, 2015, 2:56:26 PM6/29/15
to bigblueb...@googlegroups.com
Checkout the Mconf API Mate (http://mconf.github.io/api-mate/) for the format of API calls. You can plug in your own server and salt and it will construct the URLs. You will probably need a combination of getMeetings and getMeetingInfo calls.

Robert Montgomery

unread,
Jun 29, 2015, 3:56:05 PM6/29/15
to bigblueb...@googlegroups.com
Chad,

Thanks for the link to Mconf.  It makes constructing the test query strings easier, but its not providing any more information than I already had.  Knowing I have an open conformance activity in Moodle linked to my BBB server, I get the following result when I use the getMeetings call:

<response>
<returncode>SUCCESS</returncode>
<meetings/>
<messageKey>noMeetings</messageKey>
<message>no meetings were found on this server</message>
</response>

Without the meetingID, I can't go any further.  I seem to be missing some information to make this work. 

Thanks,
Robert Montgomery

Chad Pilkey

unread,
Jun 29, 2015, 4:03:32 PM6/29/15
to bigblueb...@googlegroups.com
When you say that you have an open activity in Moodle, have you actually started the meeting and joined the BBB session? Results won't show up in getMeetings until the meeting has actually been started in BBB.

Robert Montgomery

unread,
Jun 29, 2015, 4:26:38 PM6/29/15
to bigblueb...@googlegroups.com
Chad,

That was it.  The activity always existed in Moodle, but was not opened by the Moderator when I was testing previously.  Once the session was started on a desktop browser, the MeetingID appeared in the results of the Mconf utility.

Your assistance is greatly appreciated.

Thanks,
Robert Montgomery
Reply all
Reply to author
Forward
0 new messages