ejabberd - Comments for "[SOLVED] How to configure and test MOD_MAM (Message Archive Management)?" https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management en The protocol is the reference https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management#comment-66083 <p>The protocol is the reference in what to implement. You should try with latest code (from Github) or wait for 15.09 as we improvement and fix many things in the last month.</p> Thu, 10 Sep 2015 08:34:46 +0000 mremond comment 66083 at https://www.ejabberd.im Isn't this still a problem https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management#comment-66073 <p>Isn't this still a problem though? Reading <noindex><a href="http://xmpp.org/extensions/xep-0313.html#query" title="http://xmpp.org/extensions/xep-0313.html#query" rel="nofollow" >http://xmpp.org/extensions/xep-0313.html#query</a></noindex>, it appears this should be 'set' rather than 'get'. Is ejabberd implementing support for MAM differently than the protocol doc?</p> Tue, 08 Sep 2015 14:02:16 +0000 drewshields comment 66073 at https://www.ejabberd.im I was able to retrieve the https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management#comment-65968 <p>I was able to retrieve the historical thus:</p> <div class="codeblock"><code>&lt;iq type=&#039;get&#039; id=&#039;juliet&#039;&gt;<br />&nbsp; &lt;query xmlns=&#039;urn:xmpp:mam:0&#039;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;start&gt;2015-07-00T00:00:00Z&lt;/start&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;end&gt;2015-07-029T13:23:54Z&lt;/end&gt;<br />&nbsp; &lt;/query&gt;<br />&lt;/iq&gt;</code></div> <p>The error was on attribute type configured as 'set' and not as 'get'<br /> Thank you.</p> Wed, 29 Jul 2015 14:53:22 +0000 icaro56 comment 65968 at https://www.ejabberd.im I get errors. commands <iq https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management#comment-65967 <p>I get errors.</p> <p>commands</p> <div class="codeblock"><code>&lt;iq type=&#039;set&#039; id=&#039;juliet1&#039;&gt;<br />&nbsp; &lt;query xmlns=&#039;urn:xmpp:mam:0&#039; queryid=&#039;f27&#039; /&gt;<br />&lt;/iq&gt;</code></div> <p>returned:</p> <div class="codeblock"><code>&lt;!-- In 29/07/2015 10:50:22 --&gt;<br />&lt;iq from=&#039;icaro@ejabberd.zumpy.com.br&#039; to=&#039;icaro@ejabberd.teste.com.br/Gajim&#039; id=&#039;juliet1&#039; type=&#039;error&#039;&gt;<br />&lt;query xmlns=&#039;urn:xmpp:mam:0&#039; queryid=&#039;f27&#039;/&gt;<br />&lt;error code=&#039;405&#039; type=&#039;cancel&#039;&gt;<br />&lt;not-allowed xmlns=&#039;urn:ietf:params:xml:ns:xmpp-stanzas&#039;/&gt;<br />&lt;/error&gt;<br />&lt;/iq&gt; <p>&lt;!-- In 29/07/2015 10:50:22 --&gt;<br />&lt;r xmlns=&#039;urn:xmpp:sm:2&#039;/&gt;</p> <p>&lt;!-- Out 29/07/2015 10:50:22 --&gt;<br />&lt;a xmlns=&quot;urn:xmpp:sm:2&quot; h=&quot;65&quot; /&gt;</p></code></div> Wed, 29 Jul 2015 13:51:15 +0000 icaro56 comment 65967 at https://www.ejabberd.im Thanks for your answer. The https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management#comment-65966 <p>Thanks for your answer. </p> <p>The table archive_msg stored the messages. Now, I am trying to query the archives for Gajim's XML console. No success yet.</p> Wed, 29 Jul 2015 12:40:54 +0000 icaro56 comment 65966 at https://www.ejabberd.im You can look in ejabberd's https://www.ejabberd.im/forum/25028/solved-how-configure-and-test-modmam-message-archive-management#comment-65965 <p>You can look in ejabberd's WebAdmin -&gt; Nodes -&gt; your node -&gt; Database: if the messages are stored, you can see the numbers increasing in the table archive_msg when messages are stored.</p> <p>What clients support XEP-0313? I don't know. But you can use Gajim's XML console to query the archives yourselves, to ensure server's part works <noindex><a href="http://xmpp.org/extensions/xep-0313.html#query" title="http://xmpp.org/extensions/xep-0313.html#query" rel="nofollow" >http://xmpp.org/extensions/xep-0313.html#query</a></noindex></p> Wed, 29 Jul 2015 10:19:58 +0000 badlop comment 65965 at https://www.ejabberd.im