I'm using strophe.js to create pubsub node as anonymous user and after creation I'm sending this configuration iq
<body rid='2624598257' xmlns='http://jabber.org/protocol/httpbind' sid='a3eaa066bdfa07c4f380d8e8d96cbd3133d3a25f'>
<iq to='pubsub.hmwrk.lh' type='set' xmlns='jabber:client' id='5366:sendIQ'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<configure node='/tasks/test-38'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
<field var='pubsub#publish_model' type='list-single'>
<value>open</value>
</field>
</x>
</configure>
</pubsub>
</iq>
</body>
but Server Respond is:
<body xmlns="http://jabber.org/protocol/httpbind">
<iq id="5281:sendIQ" xmlns="jabber:client" from="pubsub.hmwrk.lh" to="test_task_15@hmwrk.lh/task15" type="error">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<configure node="/tasks/test-15">
<x xmlns="jabber:x:data" type="submit">
<field type="hidden" var="FORM_TYPE">
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
<field var="pubsub#publish_model" type="list-single">
<value>open</value>
</field>
</x>
</configure>
</pubsub>
<error code="501" type="cancel">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></feature-not-implemented>
</error>
</iq>
</body>
The same is if i set publishers or subsribers as pubsub#publish_model value
What am I doing wrong? Or maybe this option is realy not implemented?.
I'm using ejabberd 2.1.8 and erlang 14B03