Dear Helpdesk, I am facing issue while accessing room by calling service.
I went through the following steps:
1. I created a user through open meetings portal register option.
2. Called service and get SID by calling below API:
$.ajax({
method : "GET",
url :
"http://locallhost:5080/openmeetings/services/user/login",
data : {
user : 'pkumar',
pass : 'Mind1234'
},
dataType : "json",
error : function(jqXHR) {
console.log(jqXHR.responseText);
},
success : function(result) {
console.log(result.serviceResult.message);
getSID(result.serviceResult.message);
}
});
2 Called another service by passing SID and got hash successfully:
$.ajax({
method : "POST",
url :
"http://172.29.37.133:5080/openmeetings/services/user/hash?sid="
+ sid,
data : {
user : JSON.stringify({
firstname : 'pkumar',
lastname : 'pkumar',
externalId : 'uid',
externalType : 'myCMS',
login : 'pkumar'
}),
options : JSON.stringify({
roomId : 1,
moderator : true,
showAudioVideoTest : true
})
},
dataType :
"json",
error :
function(jqXHR) {
console.log(jqXHR.responseText);
},
success :
function(result) {
window.location = "http://localhost:5080/openmeetings/hash?secure="+
result.serviceResult.message + "&;language=1";
}
})
3. When call service to enter in room it shows "Access Denied. You have no
rights to enter this room".
Although at the time of installing openmeetings we have to create a user and
when I try this user to enter in same room, it enters successfully but creates
one more entry in user table of database.
It will be more appreciable if you please share some user manual/document about
how to use open meetings when accessing through API.
Please guide.
Thanks in advance.
________________________________
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any
virus/trojan/worms/malicious code transmitted by this email. www.motherson.com
