powered by Jive Software

Openfire + converse.js : MAM Support

Hello Guys,

I am integrating XMPP chat with a portal build in PHP,MySQL.

Tools I have used:

  • Xubuntu 14.04 server
  • Openfire 3.10.2 latest release, setup using MySQL database type
  • Converse.js v0.9.5 latest version

The converse & openfire both works very well.

But, getting archived messages using MAM is not working.

I have installed Monitoring Service v 1.4.6 plugin in openfire and enabled archive of conversations.

As the plugin states that the MAM is used in this version, the mam calls should work.

But, I am getting “feature-not-implemented” in response of mam.

Here below is stanza used to get he mam pref. from openfire server:

<body rid="550948740" xmlns="http://jabber.org/protocol/httpbind" sid="9c644adb">
     <iq id="1:sendIQ" type="get" xmlns="jabber:client">
          <prefs xmlns="urn:xmpp:mam:0"></prefs>
     </iq>
</body>

and this is what i got in response from openfire:

<body xmlns="http://jabber.org/protocol/httpbind" ack="550948740">
     <iq id="1:sendIQ" xmlns="jabber:client" type="error" to="796@192.168.5.43/null">
          <error code="501" type="cancel">
               <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></feature-not-implemented>
          </error>
     </iq>
</body>

Can anyone help me with this?

I think the Openfire plugin only supports XEP-0136: Message Archiving, but not XEP-0313: Message Archive Management, which is still in experimental state and a relatively new protocol.

Hi,

Yes, it supports XEP-0136: Message Archiving already.

But, “Monitoring Service” plugin developed by Jive Software for openfire shows that XEP-0313 has been been implemented in plugin.

There is latest release of “Monitoring Service” plugin version 1.4.6 which includes feature for XEP-0313.

Here are 2 screenshots from my opnefire.

Hi all,

No response at all ?

I have posted a pull request for a fix to this issue. Just hit myself

Hi, I am finding the Monitoring Service plug with version 1.4.6 or 1.4.7, could you guys share with me if you have?

Thanks a lot.