Question

What is the step by step procedure to implement MUC in iOS using robbiehanson XMPPframework?

I tried allocating the room, then activating the stream and joining the room.

But I got a response as follows:

 <iq xmlns="jabber:client" from="room@XXXXX.com" to="user@XXXXX.com/34633017701337944885586135" type="error" id="4DD4A6E2-E24F-4D38-AD87-15070B6AD90E"><query xmlns="http://jabber.org/protocol/muc#owner"><x xmlns="jabber:x:data" type="submit"/></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

Also received an iq : xmppStream:didReceiveIQ: - 4DD4A6E2-E24F-4D38-AD87-15070B6AD90E

Was it helpful?

Solution

Finally I figured it out. It may help someone. While creating or joining the room, the format should be yourRoomName@conference.YourDomainName.com. The conference is the keyword here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top