You might try param "secureHash" instead of "invitationHash".
Sebastian Am 02.07.2012 21:37 schrieb "sysdebian" <[email protected]>: > Hello, > > I'm trying to get the general link through the API with the next process. > > 1- I log in in my openmeetings application. > 2- I visit the url: > http://myserver:5080/openmeetings/services/UserService/getSession and get: > ------------------------------------------------------------------------ > <ns:getSessionResponse > xmlns:ns="http://services.axis.openmeetings.org"<http://services.axis.openmeetings.org> > > > <ns:return > xmlns:ax210="http://basic.beans.data.app.openmeetings.org/xsd"<http://basic.beans.data.app.openmeetings.org/xsd>xmlns:ax26= > "http://domain.beans.persistence.app.openmeetings.org/xsd"<http://domain.beans.persistence.app.openmeetings.org/xsd>xmlns:ax24= > "http://basic.beans.persistence.app.openmeetings.org/xsd"<http://basic.beans.persistence.app.openmeetings.org/xsd>xmlns:ax21= > "http://user.beans.persistence.app.openmeetings.org/xsd"<http://user.beans.persistence.app.openmeetings.org/xsd>xmlns:ax22= > "http://adresses.beans.persistence.app.openmeetings.org/xsd"<http://adresses.beans.persistence.app.openmeetings.org/xsd>xmlns:xsi= > "http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>xsi:type="ax24:Sessiondata"> > <ax24:id>35</ax24:id> > <ax24:language_id xsi:nil="true"/> > <ax24:organization_id xsi:nil="true"/> > <ax24:refresh_time>2012-07-02</ax24:refresh_time> > <ax24:sessionXml xsi:nil="true"/> > <ax24:session_id>4b5f2728a77422bfcec97cf9169db6af</ax24:session_id> > <ax24:starttermin_time>2012-07-02</ax24:starttermin_time> > <ax24:storePermanent xsi:nil="true"/> > <ax24:user_id xsi:nil="true"/> > </ns:return> > </ns:getSessionResponse> > ------------------------------------------------------------------------ > 3- I visit the url: > http://myserver:5080/openmeetings/services/UserService/loginUser?SID=4b5f2728a77422bfcec97cf9169db6af&username=MyUsername&userpass=MyPasswdand > get: > ------------------------------------------------------------------------ > <ns:loginUserResponse > xmlns:ns="http://services.axis.openmeetings.org"<http://services.axis.openmeetings.org> > > > <ns:return>1</ns:return> > </ns:loginUserResponse> > ------------------------------------------------------------------------ > 4- Now I want to get the room_id, so I visit: > http://myserver:5080/openmeetings/services/RoomService/getRoomsPublic?SID=4b5f2728a77422bfcec97cf9169db6af&roomtypes_id=1and > get: > ------------------------------------------------------------------------ > <ns:getRoomsPublicResponse xmlns:ns= > "http://services.axis.openmeetings.org"<http://services.axis.openmeetings.org>xmlns:ax214= > "http://rooms.beans.persistence.app.openmeetings.org/xsd"<http://rooms.beans.persistence.app.openmeetings.org/xsd>xmlns:ax215= > "http://session.conference.app.openmeetings.org/xsd"<http://session.conference.app.openmeetings.org/xsd>xmlns:ax220= > "http://adresses.beans.persistence.app.openmeetings.org/xsd"<http://adresses.beans.persistence.app.openmeetings.org/xsd>xmlns:ax212= > "http://services.axis.openmeetings.org/xsd"<http://services.axis.openmeetings.org/xsd>xmlns:ax222= > "http://basic.beans.persistence.app.openmeetings.org/xsd"<http://basic.beans.persistence.app.openmeetings.org/xsd>xmlns:ax224= > "http://domain.beans.persistence.app.openmeetings.org/xsd"<http://domain.beans.persistence.app.openmeetings.org/xsd>xmlns:ax219= > "http://user.beans.persistence.app.openmeetings.org/xsd"<http://user.beans.persistence.app.openmeetings.org/xsd>xmlns:ax218= > "http://flvrecord.beans.persistence.app.openmeetings.org/xsd"<http://flvrecord.beans.persistence.app.openmeetings.org/xsd> > > > <ns:return > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>xsi:type="ax214:Rooms"> > <ax214:allowRecording>false</ax214:allowRecording> > <ax214:allowUserQuestions>true</ax214:allowUserQuestions> > <ax214:appointment>false</ax214:appointment> > <ax214:comment/> > <ax214:conferencePin/> > <ax214:currentusers xsi:nil="true"/> > <ax214:deleted>false</ax214:deleted> > <ax214:demoTime xsi:nil="true"/> > <ax214:externalRoomId xsi:nil="true"/> > <ax214:externalRoomType xsi:nil="true"/> > <ax214:hideActionsMenu>false</ax214:hideActionsMenu> > <ax214:hideActivitiesAndActions>false</ax214:hideActivitiesAndActions> > <ax214:hideChat>false</ax214:hideChat> > <ax214:hideFilesExplorer>false</ax214:hideFilesExplorer> > <ax214:hideScreenSharing>false</ax214:hideScreenSharing> > <ax214:hideTopBar>false</ax214:hideTopBar> > <ax214:hideWhiteboard>false</ax214:hideWhiteboard> > <ax214:isAudioOnly>true</ax214:isAudioOnly> > <ax214:isClosed>false</ax214:isClosed> > <ax214:isDemoRoom>false</ax214:isDemoRoom> > <ax214:isModeratedRoom>true</ax214:isModeratedRoom> > <ax214:ispublic>true</ax214:ispublic> > <ax214:name>MyRoomName</ax214:name> > <ax214:numberOfPartizipants>1000</ax214:numberOfPartizipants> > <ax214:ownerId>0</ax214:ownerId> > <ax214:redirectURL/> > <ax214:rooms_id>8</ax214:rooms_id> > <ax214:roomtype xsi:type="ax214:RoomTypes"> > <ax214:deleted>false</ax214:deleted> > <ax214:name>conference (1-25 users)</ax214:name> > <ax214:roomtypes_id>1</ax214:roomtypes_id> > <ax214:starttime>2012-06-12</ax214:starttime> > <ax214:updatetime xsi:nil="true"/> > </ax214:roomtype> > <ax214:showMicrophoneStatus>false</ax214:showMicrophoneStatus> > <ax214:sipNumber/> > <ax214:starttime>2012-06-12</ax214:starttime> > <ax214:updatetime>2012-07-02</ax214:updatetime> > <ax214:waitForRecording>false</ax214:waitForRecording> > </ns:return> > </ns:getRoomsPublicResponse> > ------------------------------------------------------------------------ > 5- Then i use setUserAndNickName to get the hash: > http://myserver:5080/openmeetings/services/UserService/setUserAndNickName?SID=4b5f2728a77422bfcec97cf9169db6af&room_id=8&becomeModeratorAsInt=0&showAudioVideoTestAsInt=1&showNickNameDialogAsInt=1and > get: > ------------------------------------------------------------------------ > <ns:setUserAndNickNameResponse xmlns:ns= > "http://services.axis.openmeetings.org"<http://services.axis.openmeetings.org> > > > <ns:return>b6c74e0beda7e32821009eec2c9c24dc</ns:return> > </ns:setUserAndNickNameResponse> > ------------------------------------------------------------------------ > 6- Finally from another browser without session I visit the url: > http://myserver:5080/openmeetings/?invitationHash=b6c74e0beda7e32821009eec2c9c24dcbut > when the room is charging a popup message is opened and say "Don't > exist any invitation available with this code". > > Any idea ? > > Thanks and regards. > > On 07/02/2012 06:20 PM, sysdebian wrote: > > I didn't use the API before but I'll research this way. > > Thank you for your help Sebastian. > > On 07/02/2012 09:45 AM, [email protected] wrote: > > You should be able to create a HASH using the SOAP/REST API. > There is a API call: > > http://incubator.apache.org/openmeetings/UserService.html#setUserAndNickName > > With the HASH generated by this API call the user will see a popup where > he can enter the nickname for the session. > > Sebastian > > 2012/7/2 sysdebian <[email protected]> > >> Hello, >> >> Is it possible to get a general invitation link through which can enter >> lot of different people ? >> A link not associate to an email address. >> >> Thanks and regards. >> > > > > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.openmeetings.de > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected] > > > >
