title: How can anonymous users exchange presence information with valid users on Jabber (Ejabberd)
body: <p>I am working on a social network that should allow members to chat with visitors on the site. The concept is simple.</p>
  
  <ol>
  <li>Users who have registered signup get their own account with rosters</li>
  <li>When a visitor comes to the home page of the social network, he can see some of the online members of the community</li>
  <li>Now he should be able to initiate a chat with them, by clicking on their name.</li>
  </ol>
  
  <p>I have already got members to chat with their roster mates. My question is, how can I get an anonymous user to chat with a member and exchange presence info with him?</p>
  
  <p>I have successfully managed to create anonymous accounts, members accounts and even send messages from an anonymous user to other members. But I cant get presence information from anonymous-user to member or vice versa?</p>
  
  <p>BTW, the chat is JS based.</p>