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
> 

Reply via email to