[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858626#comment-13858626
 ] 

Yannick Warnier commented on OPENMEETINGS-802:
----------------------------------------------

Now I am using the REST API for some little calls like 
getRoomsWithCurrentUsersByListAndType or simply getRoomTypes, but I only 
receive HTTP code 500 in return when the user is not the admin (first user) in 
Chamilo.

Just a quick question, then: what is the relationship between the SOAP users 
created in OpenMeetings (manually) and the external users?
Is it necessary to call setUserObjectAndGenerateRecordingHashByURL for every 
new user that wants to connect to the videoconference?

I see this code in the Moodle plugin:
{code}
        // Simulate the User automatically
        if ($openmeetings->type != 0){
                $returnVal = 
$openmeetings_gateway->setUserObjectAndGenerateRoomHashByURLAndRecFlag($USER->username,$USER->firstname,
                
$USER->lastname,$profilePictureUrl,$USER->email,$USER->id,$CFG->openmeetings_openmeetingsModuleKey,$openmeetings->room_id,$becomemoderator,$allowRecording);
        } else {
                $returnVal = 
$openmeetings_gateway->setUserObjectAndGenerateRecordingHashByURL($USER->username,$USER->firstname,
                
$USER->lastname,$USER->id,$CFG->openmeetings_openmeetingsModuleKey,$openmeetings->room_recording_id);
        }
{code}

I suppose this means I *have to* call this function if I want someone to 
connect to a room, right? Then I get the hast (as the $returnVal) which I have 
to include in the link to the room.

This raises another question, though: how do I do, as a non-authenticated user, 
to know if there are rooms currently open, to which I can connect?

> Integration with Chamilo LMS
> ----------------------------
>
>                 Key: OPENMEETINGS-802
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-802
>             Project: Openmeetings
>          Issue Type: New Feature
>          Components: SOAP/REST API
>            Reporter: Yannick Warnier
>            Priority: Trivial
>              Labels: plugin
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> We (at Chamilo/BeezNest) are currently developing a first plugin for 
> OpenMeetings, to be integrated to Chamilo LMS 1.9.8.
> This is just a placeholder so nobody has to dedicate time on this at the same 
> time (or if you do, let me know so I can add you to the team).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to