Subject: Unable to Config Room
Hello,
I have successfully created the room on Openfire Server, and but when i am going to edit the muc details, it sending me error Code 409.
Please find XML Logs:
Please check , and help me
Thanks
I have successfully created the room on Openfire Server, and but when i am going to edit the muc details, it sending me error Code 409.
Please find XML Logs:
- <iq xmlns="jabber:client" to="admin@vgwwinsvr2008/agsXMPP" id="agsXMPP_5" type="result" from="testid@conference.vgwwinsvr2008">
- <query xmlns="http://jabber.org/protocol/muc#owner">
- <x xmlns="jabber:x:data" type="form">
- <title>Room configuration</title>
- <instructions>The room "testid" has been created. To accept the default configuration, click the "OK" button. Or, modify the settings by completing the following form:</instructions>
- <field var="FORM_TYPE" type="hidden">
- <value>http://jabber.org/protocol/muc#roomconfig</value>
- </field>
- <field type="text-single" var="muc#roomconfig_roomname" label="Room Name">
- <value>testid</value>
- </field>
- <field type="text-single" var="muc#roomconfig_roomdesc" label="Description">
- <value>testid</value>
- </field>
- <field type="boolean" var="muc#roomconfig_changesubject" label="Allow Occupants to Change Subject">
- <value>0</value>
- </field>
- <field type="list-single" var="muc#roomconfig_maxusers" label="Maximum Room Occupants">
- <option label="10">
- <value>10</value>
- </option>
- <option label="20">
- <value>20</value>
- </option>
- <option label="30">
- <value>30</value>
- </option>
- <option label="40">
- <value>40</value>
- </option>
- <option label="50">
- <value>50</value>
- </option>
- <option label="None">
- <value>0</value>
- </option>
- <value>30</value>
- </field>
- <field type="list-multi" var="muc#roomconfig_presencebroadcast" label="Roles for Which Presence is Broadcast">
- <option label="Moderator">
- <value>moderator</value>
- </option>
- <option label="Participant">
- <value>participant</value>
- </option>
- <option label="Visitor">
- <value>visitor</value>
- </option>
- <value>moderator</value>
- <value>participant</value>
- <value>visitor</value>
- </field>
- <field type="boolean" var="muc#roomconfig_publicroom" label="List Room in Directory">
- <value>1</value>
- </field>
- <field type="boolean" var="muc#roomconfig_persistentroom" label="Room is Persistent">
- <value>0</value>
- </field>
- <field type="boolean" var="muc#roomconfig_moderatedroom" label="Room is Moderated">
- <value>0</value>
- </field>
- <field type="boolean" var="muc#roomconfig_membersonly" label="Room is Members-only">
- <value>0</value>
- </field>
- <field type="fixed">
- <value>Note: by default, only admins can send invitations in an members-only room.</value>
- </field>
- <field type="boolean" var="muc#roomconfig_allowinvites" label="Allow Occupants to Invite Others">
- <value>0</value>
- </field>
- <field type="boolean" var="muc#roomconfig_passwordprotectedroom" label="Password Required to Enter Room">
- <value>0</value>
- </field>
- <field type="fixed">
- <value>If a password is required to enter this room, you must specify the password below.</value>
- </field>
- <field type="text-private" var="muc#roomconfig_roomsecret" label="Password" />
- <field type="list-single" var="muc#roomconfig_whois" label="Role that May Discover Real JIDs of Occupants">
- <option label="Moderator">
- <value>moderators</value>
- </option>
- <option label="Anyone">
- <value>anyone</value>
- </option>
- <value>anyone</value>
- </field>
- <field type="boolean" var="muc#roomconfig_enablelogging" label="Log Room Conversations">
- <value>0</value>
- </field>
- <field type="boolean" var="x-muc#roomconfig_reservednick" label="Only login with registered nickname">
- <value>0</value>
- </field>
- <field type="boolean" var="x-muc#roomconfig_canchangenick" label="Allow Occupants to change nicknames">
- <value>1</value>
- </field>
- <field type="fixed">
- <value>Allow Users to register with the room</value>
- </field>
- <field type="boolean" var="x-muc#roomconfig_registration" label="Allow Users to register with the room">
- <value>1</value>
- </field>
- <field type="fixed">
- <value>You may specify administrators of this room. Please provide one JID per line.</value>
- </field>
- <field type="jid-multi" var="muc#roomconfig_roomadmins" label="Room Admins" />
- <field type="fixed">
- <value>You may specify additional owners for this room. Please provide one JID per line.</value>
- </field>
- <field type="jid-multi" var="muc#roomconfig_roomowners" label="Room Owners">
- <value>admin@vgwwinsvr2008</value>
- </field>
- </x>
- </query>
- </iq>
- Send:
- <iq id="agsXMPP_6" type="set" to="testid@conference.vgwwinsvr2008">
- <query xmlns="http://jabber.org/protocol/muc#owner">
- <x xmlns="jabber:x:data" type="submit">
- <field type="text-single" var="muc#roomconfig_roomname">Test</field>
- <field type="text-single" var="muc#roomconfig_roomdesc">Testing</field>
- <field type="boolean" var="muc#roomconfig_changesubject">0</field>
- <field type="list-single" var="muc#roomconfig_maxusers">0</field>
- <field type="list-multi" var="muc#roomconfig_presencebroadcast">visitor</field>
- <field type="boolean" var="muc#roomconfig_publicroom">1</field>
- <field type="boolean" var="muc#roomconfig_persistentroom">0</field>
- <field type="boolean" var="muc#roomconfig_moderatedroom">0</field>
- <field type="boolean" var="muc#roomconfig_membersonly">0</field>
- <field type="boolean" var="muc#roomconfig_allowinvites">0</field>
- <field type="boolean" var="muc#roomconfig_passwordprotectedroom">0</field>
- <field type="list-single" var="muc#roomconfig_whois">anyone</field>
- <field type="boolean" var="muc#roomconfig_enablelogging">0</field>
- <field type="boolean" var="muc#roomconfig_reservednick">0</field>
- <field type="boolean" var="muc#roomconfig_canchangenick">1</field>
- <field type="boolean" var="muc#roomconfig_registration">1</field>
- <field type="boolean" var="muc#roomconfig_roomowners">admin@vgwwinsvr2008</field>
- </x>
- </query>
- </iq>
- Recv:
- <iq xmlns="jabber:client" to="admin@vgwwinsvr2008/agsXMPP" id="agsXMPP_6" type="error" from="testid@conference.vgwwinsvr2008">
- <query xmlns="http://jabber.org/protocol/muc#owner">
- <x xmlns="jabber:x:data" type="submit">
- <field var="muc#roomconfig_roomname" type="text-single">Test</field>
- <field var="muc#roomconfig_roomdesc" type="text-single">Testing</field>
- <field var="muc#roomconfig_changesubject" type="boolean">0</field>
- <field var="muc#roomconfig_maxusers" type="list-single">0</field>
- <field var="muc#roomconfig_presencebroadcast" type="list-multi">visitor</field>
- <field var="muc#roomconfig_publicroom" type="boolean">1</field>
- <field var="muc#roomconfig_persistentroom" type="boolean">0</field>
- <field var="muc#roomconfig_moderatedroom" type="boolean">0</field>
- <field var="muc#roomconfig_membersonly" type="boolean">0</field>
- <field var="muc#roomconfig_allowinvites" type="boolean">0</field>
- <field var="muc#roomconfig_passwordprotectedroom" type="boolean">0</field>
- <field var="muc#roomconfig_whois" type="list-single">anyone</field>
- <field var="muc#roomconfig_enablelogging" type="boolean">0</field>
- <field var="muc#roomconfig_reservednick" type="boolean">0</field>
- <field var="muc#roomconfig_canchangenick" type="boolean">1</field>
- <field var="muc#roomconfig_registration" type="boolean">1</field>
- <field var="muc#roomconfig_roomowners" type="boolean">admin@vgwwinsvr2008</field>
- </x>
- </query>
- <error type="cancel" code="409">
- <conflict xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
- </error>
- </iq>
Please check , and help me
Thanks
This post was edited on 2015-04-05, 19:58 by Alex.