Just to get things right... setUserObjectAndGenerateRoomHashByURLAndRecFlag seems to create the user in the 'users' table but sets the "availible" field to 0 (does that mean it's not available through the OM web UI?).
getInvitationHash doesn't seem to create the user in the OM database. Actually, I don't want the user to be created in the database. I'd settle for getInvitationHash from JabberService but it doesn't allow to define user configuration options (moderator, etc.). All other "setUser" calls from UserService seem to actually create users in the OM database. Or, how can I make sure that the user entry in the database is deleted (auto-deleted) after the hash expires (and related records elsewhere such as the "sipusers" table)? My goal is simple: program my own UI and make use of SOAP calls to generate hashes so I can create any "user first name/ last name, who has recording enabled or disabled, file upload enabled/disabled, is a moderator or not, etc." and let the user enter a specific room but without actually creating a real user in the database. Is this possible? Thanks, Vieri --- On Tue, 1/29/13, Vieri <[email protected]> wrote: > That worked Maxim. Thanks! > > --- On Tue, 1/29/13, Maxim Solodovnik <[email protected]> > wrote: > > > try secureHash instead of > > invitationHash in the URL > > > > > > On Tue, Jan 29, 2013 at 4:12 PM, Vieri <[email protected]> > > wrote: > > > > > Hi, > > > > > > I have a room with ID=2. > > > > > > I'm trying to generate invitation hashes (for > "unknown" > > users) so he/she > > > can enter the room with a direct URL. > > > > > > I know I can use the JabberService call > > getInvitationHash ( > > > http://openmeetings.apache.org/JabberService.html#getInvitationHash) > > > Then all I need to do is direct to > > > http://mydomain.com:5080/openmeetings/?invitationHash=<whatever> > > > > > > That's fine for general purposes but I'd like to > > allow/deny certain > > > privileges to certain "unknown users" (like if > they can > > be moderators or > > > not, if they can record the session or not, if > they can > > upload files, if > > > they can specify their own pictureurl,etc). > > > > > > So I thought I could use the following call: > > > > > > > > > /services/UserService/setUserObjectAndGenerateRoomHashByURLAndRecFlag > > > > > > and then direct to: > > > > > > > > > http://mydomain.com:5080/openmeetings/?invitationHash=c7dd3ad669873f5e707aaaea79748fcd > > > > > > However, when I connect to that url my browser > shows: > > > > > > Error: No invitation available for this > invitation > > code > > > > > > Could you please give me an example usage of > > > setUserObjectAndGenerateRoomHashByURLAndRecFlag or > any > > other call in order > > > to generate an invitation hash for any external > user > > NOT present in the OM > > > database? > > > > > > Thanks, > > > > > > Vieri > > > > > > > > > > > -- > > WBR > > Maxim aka solomax > > >
