ios - XMPP Room Creation Denied (403) -


i trying create chatroom in xmpp (cloned chatsecure not letting me create chatroom.this response while creating chat room.

<presence xmlns="jabber:client" from="16d8ecb3-ce47-42cb-90aa-cbd9eade37ac@conference.myserver/92313456778@myserver" to="92313456778@myserver/phone" type="error"><x xmlns="http://jabber.org/protocol/muc"/><x xmlns="vcard-temp:x:update"><photo>f0858329475df2054ad8e8ac8674e7b4f25aedcd</photo></x><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="https://github.com/robbiehanson/xmppframework" ver="ye4evqderi5tsqrbmzg1547iiau="/><error code="403" type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">room creation denied service policy</text></error></presence> 

well, in response see from="16d8ecb3-ce47-42cb-90aa-cbd9eade37ac@conference.myserver/92313456778@myserver". that's why asked did sent out.

i guess set full jid (92313456778@myserver) nickname room, includes @, , think it's not allowed.

let's assume:

  • user = user123
  • host = myserver
  • resource = mydevice
  • mucservice = conference.myserver
  • roomname = myroom
  • nickname = johndoe (do not include @)

in request, from , to should be:

  • from = user123@myserver/mydevice
  • to = room@conference.myserver/johndoe

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -