I do not see anything on the login screen to adjust camera resolution. (apart 
from login options, registration option, network testing)

 

I want to automatically change 
https://openmeetings.apache.org/WebcamResolutions.html these settings as per 
currently available radio information (obtained from Radio Access Network). 
That is why I need access to resolution settings.

 

Best Regards,

Dhanashree Kulkarni

 

brown-iposs GmbH

Friedrich-Breuer-Straße 120

53225 Bonn

Germany

 

Fon   +49 (0) 228 299 799 80

Fax   +49 (0) 228 299 799 84

 <mailto:birgit.bachm...@brown-iposs.eu> mailto:birgit.bachm...@brown-iposs.eu

 <http://www.brown-iposs.eu/> www.brown-iposs.eu

 <http://www.facebook.com/browniposs> www.facebook.com/browniposs

 <http://www.facebook.com/wimap4g> www.facebook.com/wimap4g

 

Directors: Dr. Bernd Schröder, Karsten Schmeling

Trade register: 14385, Country court Bonn

VAT-ID: DE814670174

 

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

 

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorised 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

 

Von: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Gesendet: Friday, September 21, 2018 10:38 AM
An: Openmeetings user-list <user@openmeetings.apache.org>
Betreff: Re: Problems opening rooms using webservices

 

1) room enter via SOAP/REST is working BUT you need to pass correct set of 
parameters

2) you don't need to login to change Audio/Video settings, direct link to do it 
is on login screen (available without authorization)

 

 

On Fri, 21 Sep 2018 at 15:08, <dhanashree.kulka...@brown-iposs.eu 
<mailto:dhanashree.kulka...@brown-iposs.eu> > wrote:

The reason why I was testing/ using webservices was I want to check if I can 
access OpenMeetings through APIs. For my project I need to access OpenMeetings 
from outside (i.e remotely, without using GUI) so that I can change the camera 
resolutions from outside (depending on the current radio information, camera 
resolution must be changed to give optimal performance).

 

Can you suggest any other way to access OpenMeetings? 

I have created a JIRA issue (OPENMEETINGS – 1937)for the previous issue.

Thank you in advance :)

 

Best Regards,

Dhanashree Kulkarni

 

brown-iposs GmbH

Friedrich-Breuer-Straße 120

53225 Bonn

Germany

 

Fon   +49 (0) 228 299 799 80

Fax   +49 (0) 228 299 799 84

 <mailto:birgit.bachm...@brown-iposs.eu> mailto:birgit.bachm...@brown-iposs.eu

 <http://www.brown-iposs.eu/> www.brown-iposs.eu

 <http://www.facebook.com/browniposs> www.facebook.com/browniposs

 <http://www.facebook.com/wimap4g> www.facebook.com/wimap4g

 

Directors: Dr. Bernd Schröder, Karsten Schmeling

Trade register: 14385, Country court Bonn

VAT-ID: DE814670174

 

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

 

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorised 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

 

Von: Maxim Solodovnik [mailto:solomax...@gmail.com 
<mailto:solomax...@gmail.com> ] 
Gesendet: Friday, September 21, 2018 9:31 AM
An: Openmeetings user-list <user@openmeetings.apache.org 
<mailto:user@openmeetings.apache.org> >
Betreff: Re: Problems opening rooms using webservices

 

REST/SOAP API was created to authorize "external" users

So this code is written in assumption you have several external systems: 
Moodle, Joomla, MyUniqueCMS, etc.

 

externalType in this case is _unique_ ID of your CMS

externalId is ID of the user in your CMS

 

So the pair [externalType, externalId] with identify the user in the system

 

In case you would like to authorize "existing" OM internal user you can

1) POST "login", "password" to http://localhost:5080/openmeetings/signin

2) GET http://localhost:5080/openmeetings/#room/ROOM_ID

 

According to "I had tried with externalId and externalType parameters as well 
which again gives me same error."

I doubt error is the same since you have provided externalType ....

Please provide more details

 

 

On Fri, 21 Sep 2018 at 13:55, <dhanashree.kulka...@brown-iposs.eu 
<mailto:dhanashree.kulka...@brown-iposs.eu> > wrote:

Thank you Maxim.

 

I had tried with externalId and externalType parameters as well which again 
gives me same error. I think I haven’t understood externalType correctly. The 
sample example is a little bit unclear to explain what should be the value of 
‘externalId’ and ‘externalType’.

 

The document which I read says external user is the one which attends the 
conference using invitation URL. But in this case I am myself trying to enter 
the room (I am the admin of OM server) and it is not allowing me.

 

Best Regards,

Dhanashree Kulkarni

 

brown-iposs GmbH

Friedrich-Breuer-Straße 120

53225 Bonn

Germany

 

Fon   +49 (0) 228 299 799 80

Fax   +49 (0) 228 299 799 84

 <mailto:birgit.bachm...@brown-iposs.eu> mailto:birgit.bachm...@brown-iposs.eu

 <http://www.brown-iposs.eu/> www.brown-iposs.eu

 <http://www.facebook.com/browniposs> www.facebook.com/browniposs

 <http://www.facebook.com/wimap4g> www.facebook.com/wimap4g

 

Directors: Dr. Bernd Schröder, Karsten Schmeling

Trade register: 14385, Country court Bonn

VAT-ID: DE814670174

 

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

 

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorised 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

 

Von: Maxim Solodovnik [mailto:solomax...@gmail.com 
<mailto:solomax...@gmail.com> ] 
Gesendet: Friday, September 21, 2018 6:12 AM
An: Openmeetings user-list <user@openmeetings.apache.org 
<mailto:user@openmeetings.apache.org> >
Betreff: Re: Problems opening rooms using webservices

 

Hello Dhanashree,

As you can see from your log:
externalUserType is null

Which means this required parameter is missing, please check the example and 
add missing parameter :)

 

Would appreciate if you can create JIRA so I can add some validation and return 
error instead of invalid hash

 

Thanks in advance!

 

 

On Thu, 20 Sep 2018 at 16:20, <dhanashree.kulka...@brown-iposs.eu 
<mailto:dhanashree.kulka...@brown-iposs.eu> > wrote:

Hello,

I am also having same issue. I am able to get sid and room hash. When I use 
this room hash to enter into the room, I get error saying “Access Denied. You 
are not allowed to enter this room.”

To get sid: 
http://om-server-test.apps.xxx.xxx.xx.xxx.nip.io/openmeetings/services/user/login?user=
 
<http://om-server-test.apps.xxx.xxx.xx.xxx.nip.io/openmeetings/services/user/login?user=%3cusername%3e&pass=%3cpassword>
 <username>&pass=<password>

To get room hash: 
http://om-server-test.apps.xxx.xxx.xx.xxx.nip.io/openmeetings/services/user/hash?sid=f1f335a9-0e24-4c01-9d11-421f06f5ab07
 
<http://om-server-test.apps.xxx.xxx.xx.xxx.nip.io/openmeetings/services/user/hash?sid=f1f335a9-0e24-4c01-9d11-421f06f5ab07&user=%7Bfirstname>
 &user={firstname: '<firstname>', lastname: '<lastname>', externalId: 'uid1', 
login: '<username>' }&options={roomId: 7, moderator: true, showAudioVideoTest: 
true}&dataType=json

 

Url to enter link: 
http://om-server-test.apps.xxx.xxx.xx.xxx.nip.io/openmeetings/hash?secure= 
8e8229fe-207f-4b65-a87c-d97408a37283

 

OM version: 4.0.5

I am using Postman to test API.

 

Here is snipping from “opemeetings.logs”

 

ERROR 09-20 08:48:25.167 o.a.o.d.e.s.RemoteSessionObject:145 [0.0-5080-exec-3] 
- Unexpected error while storing object to XML: RemoteSessionObject 
[username=xxxxxxx, firstname=Dhanashree, lastname=Kulkarni, pictureUrl=null, 
email=null, externalUserId=uid1, externalUserType=null]

org.simpleframework.xml.core.ElementException: Value for 
@org.simpleframework.xml.Element(name=, data=false, type=void, required=true) 
on field 'externalUserType' private java.lang.String 
org.apache.openmeetings.db.entity.server.RemoteSessionObject.externalUserType 
is null in class org.apache.openmeetings.db.entity.server.RemoteSessionObject

        at 
org.simpleframework.xml.core.Composite.writeUnion(Composite.java:1122)

        at 
org.simpleframework.xml.core.Composite.writeElements(Composite.java:1098)

        at 
org.simpleframework.xml.core.Composite.writeSection(Composite.java:1004)

        at org.simpleframework.xml.core.Composite.write(Composite.java:975)

        at org.simpleframework.xml.core.Composite.write(Composite.java:952)

        at org.simpleframework.xml.core.Traverser.write(Traverser.java:236)

        at org.simpleframework.xml.core.Traverser.write(Traverser.java:208)

        at org.simpleframework.xml.core.Traverser.write(Traverser.java:186)

        at org.simpleframework.xml.core.Persister.write(Persister.java:1180)

        at org.simpleframework.xml.core.Persister.write(Persister.java:1162)

        at org.simpleframework.xml.core.Persister.write(Persister.java:1140)

        at org.simpleframework.xml.core.Persister.write(Persister.java:1259)

        at 
org.apache.openmeetings.db.entity.server.RemoteSessionObject.toXml(RemoteSessionObject.java:143)

        at 
org.apache.openmeetings.webservice.UserWebService.lambda$getRoomHash$4(UserWebService.java:307)

        at 
org.apache.openmeetings.webservice.BaseWebService.performCall(BaseWebService.java:113)

        at 
org.apache.openmeetings.webservice.BaseWebService.performCall(BaseWebService.java:106)

        at 
org.apache.openmeetings.webservice.UserWebService.getRoomHash(UserWebService.java:299)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at 
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)

        at 
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193)

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103)

        at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)

        at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)

        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

        at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

        at 
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)

        at 
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)

        at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)

        at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)

        at 
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:216)

        at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)

        at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)

        at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

        at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

        at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:175)

        at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:286)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

        at 
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)

        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)

        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)

        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)

        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:748)

DEBUG 09-20 08:48:25.168 o.a.o.w.UserWebService:309 [0.0-5080-exec-3] - 
xmlString <remoteSessionObject>

   <username>xxxxxxxxxx</username>

   <firstname>Dhanashree</firstname>

   <lastname>Kulkarni</lastname>

DEBUG 09-20 08:50:03.694 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-4] - 
startsession :: startsession

ERROR 09-20 08:50:35.585 o.a.o.d.e.s.RemoteSessionObject:155 [0.0-5080-exec-2] 
- Unexpected error while restoring object from XML: <remoteSessionObject>

   <username>xxxxxxxx</username>

   <firstname>Dhanashree</firstname>

   <lastname>Kulkarni</lastname>

 

 

Thank you.

 

 

On 2018/04/11 13:44:49, Ramón Zárate Moedano < <mailto:h...@gmail.com> 
h...@gmail.com> wrote: 

> Hello everyone.> 

> I have being "fighting" with this and i dont know what is wrong.> 

> 

> Name: OpenMeetings> 

> Version: 4.0.1> 

> Revision 3795f14> 

> 

> And i am using PHP API. (> 

>  <https://github.com/openmeetings/openmeetings-api-plugin> 
> https://github.com/openmeetings/openmeetings-api-plugin)> 

> 

> I can create, edit and delete rooms. But when i try to enter one room front> 

> end never ends loading.> 

> 

> 

> 

> 

> User is created and as far as i can see user it's loged in. After trying to> 

> get ir the room if i try to enter OM dashboard as admin i get this error> 

> message.> 

> Access denied. You are not authorized to perform this action So this is the> 

> whole trace i am using (based on php api)> 

> 

> getOmConfig:> 

> {"protocol":"http","host":"XXX.XXX.XXX.XXX","port":"5080","context":"openmeetings","user":"usersoap","pass":"pass","module":"external"}>
>  

> -------------------------> 

> OmGateway function login()> 

> response:> 

> {"message":"bd1229fd-1809-4146-8c9d-ebef572d8764","type":"SUCCESS"}> 

> -------------------------> 

> Function call variables> 

> url:  <http://XXX.XXX.XXX.XXX:5080/openmeetings/services/user/login> 
> http://XXX.XXX.XXX.XXX:5080/openmeetings/services/user/login> 

> Method: GET> 

> sid:>




 

-- 

WBR
Maxim aka solomax




 

-- 

WBR
Maxim aka solomax




 

-- 

WBR
Maxim aka solomax

Reply via email to