addRoomWithModeration(String SID, String name,
                        Long roomtypes_id, String comment, Long 
numberOfPartizipants,
                        Boolean ispublic, Boolean appointment, Boolean 
isDemoRoom,
                        Integer demoTime, Boolean isModeratedRoom)

That is the method signature, your REST URL does not match that method
signature.
You specify roughly 50% of the parameters :)

Sebastian

2012/4/18 German Grekhov <[email protected]>

> Here is my REST request:
>
>
> http://demo.dataved.ru/openmeetings/services/RoomService/addRoomWithModeration?SID=2c1270216056c7ad31a269da22cdf7ee&name=newroom&roomtypes_id=3&numberOfPartizipants=10&ispublic=true&isModeratedRoom=false
>
> The errors with SIP were earlier, but now they are absent.
>
> German.
>
> 2012/4/18 [email protected] <[email protected]>
>
> > German in your log file there is zero notice about SIP. Your problem has
> > nothing to do with setting any SIP number.
> > It is likely that you simply missed an argument or your SID is just not
> > valid.
> >
> > Sebastian
> >
> > 2012/4/18 German Grekhov <[email protected]>
> >
> > > So, I need to use "addRoom" instead of "addRoomWithModeration", don't
> me?
> > > And I can set the sip number here?
> > >
> > > German.
> > >
> > > 2012/4/18 [email protected] <[email protected]>
> > >
> > > >
> > > >
> > >
> >
> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/roomservice/org/openmeetings/axis/services/RoomWebService.java?r=4515#584
> > > >
> > > > Any of those parameters is null and it shouldn't:
> > > > user_level
> > > > numberOfPartizipants
> > > > ispublic
> > > >
> > > > All parameters:
> > > >
> > > >
> > >
> >
> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/app/org/openmeetings/app/data/conference/Roommanagement.java?r=4515#721
> > > >
> > > > Sebastian
> > > >
> > > > 2012/4/18 German Grekhov <[email protected]>
> > > >
> > > > > The version is 1.9.0.
> > > > >
> > > > > German
> > > > >
> > > > > 2012/4/18 [email protected] <[email protected]>
> > > > >
> > > > > > What is the exact revision of OpenMeetings?
> > > > > > You can find out by unzipping the file openmeetings.jar, see:
> > > > > > http://incubator.apache.org/openmeetings/GetVersionInfo.html
> > > > > >
> > > > > > Sebastian
> > > > > >
> > > > > > 2012/4/18 German Grekhov <[email protected]>
> > > > > >
> > > > > > > You can see it in the attached log.txt file.
> > > > > > > The version of OpenMettings is 1.9.x,
> > > > > > >
> > > > > > > German.
> > > > > > >
> > > > > > >
> > > > > > > 2012/4/18 [email protected] <[email protected]>:
> > > > > > >
> > > > > > > > Please post the exact log file exception and what
> > > version/revision
> > > > of
> > > > > > > > Openmeetings your using.
> > > > > > > >
> > > > > > > > Sebastian
> > > > > > > >
> > > > > > > > 2012/4/18 German Grekhov <[email protected]>
> > > > > > > >
> > > > > > > >> Oh, yes, I forgot to tell about the log.
> > > > > > > >> It contains an exception about the duplicate SIP number of
> the
> > > > room.
> > > > > > > >> But there is no way to set SIP number through the REST API.
> > > > > > > >>
> > > > > > > >> German.
> > > > > > > >>
> > > > > > > >> 2012/4/18 [email protected] <[email protected]>:
> > > > > > > >> > -1 means that there is an exception in the log. Have you
> > been
> > > > > > looking
> > > > > > > at
> > > > > > > >> > red5/openmeetings/error log ?
> > > > > > > >> >
> > > > > > > >> > 2012/4/18 German Grekhov <[email protected]>
> > > > > > > >> >
> > > > > > > >> >> Hello, colleagues.
> > > > > > > >> >>
> > > > > > > >> >> Could you tell me please, have you ever met the following
> > > > > problems
> > > > > > in
> > > > > > > >> >> OpenMeetinsg?
> > > > > > > >> >>
> > > > > > > >> >> I use REST API, and I want to create a new room using
> > > > > > > >> >> "addRoomWithModeration". But it always returns -1. Have
> you
> > > > ever
> > > > > > met
> > > > > > > >> >> this problem?
> > > > > > > >> >> The version of OM is old, and maybe you nkow some old
> bugs
> > > with
> > > > > > it...
> > > > > > > >> >>
> > > > > > > >> >> Also, when I create a secure hash for entering a room
> then
> > I
> > > > > can't
> > > > > > > use
> > > > > > > >> >> it. I follow a link
> > > > "<my_sever>/openmeetings/?secureHash=<hash>"
> > > > > > but
> > > > > > > >> >> OpenMeetings just shows me a clear window.
> > > > > > > >> >>
> > > > > > > >> >> Best regards,
> > > > > > > >> >> German
> > > > > > > >> >>
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> > Sebastian Wagner
> > > > > > > >> > https://twitter.com/#!/dead_lock
> > > > > > > >> > http://www.openmeetings.de
> > > > > > > >> > http://www.webbase-design.de
> > > > > > > >> > http://www.wagner-sebastian.com
> > > > > > > >> > [email protected]
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Sebastian Wagner
> > > > > > > > https://twitter.com/#!/dead_lock
> > > > > > > > http://www.openmeetings.de
> > > > > > > > http://www.webbase-design.de
> > > > > > > > http://www.wagner-sebastian.com
> > > > > > > > [email protected]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Sebastian Wagner
> > > > > > https://twitter.com/#!/dead_lock
> > > > > > http://www.openmeetings.de
> > > > > > http://www.webbase-design.de
> > > > > > http://www.wagner-sebastian.com
> > > > > > [email protected]
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Sebastian Wagner
> > > > https://twitter.com/#!/dead_lock
> > > > http://www.openmeetings.de
> > > > http://www.webbase-design.de
> > > > http://www.wagner-sebastian.com
> > > > [email protected]
> > > >
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > [email protected]
> >
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to