title: iOS XMPP group chat implementation
body: <p>I am trying to create chat room using robbiehanson XMPPframework.</p>
  
  <p>Since I didn't get any sample code or documentation, I made a try by myself to initiate a chat room as follows:</p>
  
  <pre><code>    XMPPRoomMemoryStorage *rosterstorage = [[XMPPRoomMemoryStorage alloc] init];
      XMPPRoom *xmppRoom = [[XMPPRoom alloc] initWithRoomStorage:rosterstorage jid:[XMPPJID jidWithString:@"test@mycompany.com/room"] dispatchQueue:dispatch_get_main_queue()];    
      [xmppRoom configureRoomUsingOptions:nil];
      [xmppRoom activate:[UIAppDelegate xmppStream]];
      [xmppRoom addDelegate:UIAppDelegate
              delegateQueue:dispatch_get_main_queue()];
     [xmppRoom inviteUser:[XMPPJID jidWithString:jabberID] withMessage:@"Hi join room"];
  </code></pre>
  
  <p>But I am getting the response in the console as :</p>
  
  <pre><code> RECV: &lt;message xmlns="jabber:client" from="test@mycompany.com" to="user1@mycompany.com/42512304551337785705750233" type="error"&gt;&lt;x xmlns="http://jabber.org/protocol/muc#user"&gt;&lt;invite to="user2@mycompany.com"&gt;&lt;reason&gt;Hi join room&lt;/reason&gt;&lt;/invite&gt;&lt;/x&gt;&lt;error code="503" type="cancel"&gt;&lt;service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/&gt;&lt;/error&gt;&lt;/message&gt;
  </code></pre>
  
  <p>Anybody have any idea to initiate MUC??Is there any sample code for this??Any help will be appreciated..Thanks in advance..</p>