mod_archive doesn't get messages

Hi everyone,

I have a problem with mod_archive. I configured this ( http://www.ndl.kiev.ua/content/mod_archive_odbc-release ) release and it looks like work well. It records messages on archive table.

To get archive I send

<body rid='491232486' xmlns='http://jabber.org/protocol/httpbind' sid='e66e72c7b2ad6b26dbbf85906e87360a5590ddcc'>
  <iq type='get' xmlns='jabber:client' id='9019:sendIQ'>
    <list xmlns='http://www.xmpp.org/extensions/xep-0136.html#ns' with='user2@tld.com' start='2012-12-2T00:00:00.000000Z'>
      <set xmlns='http://jabber.org/protocol/rsm'><max>50</max></set>
    </list>
  </iq>
</body>

this code sample.

However, when I tried to get messages from archive I always get

<body xmlns="http://jabber.org/protocol/httpbind">
  <iq xmlns="jabber:client" from="user1@tld.com" to="user1@tld.com/17617224811355298098169023" id="9019:sendIQ" type="error">
    <list xmlns="http://www.xmpp.org/extensions/xep-0136.html#ns" with="user2@tld.com" start="2012-12-2T00:00:00.000000Z">
      <set xmlns="http://jabber.org/protocol/rsm"><max>50</max></set>
    </list><error code="400" type="modify">
  <bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></bad-request></error>
  </iq>
</body>

this response.

I always try to find mistake on my self but when I tried to use vacuum messanger on my server, I also faced with this problem.

Is there a anyone who could get messages from archive ?

Syndicate content