AnsweredAssumed Answered

Need help retrieving chat message using mam and rsm

Question asked by vijaya on Jul 17, 2017

I am doing retrieving all conversions between two jid users. I have enables monitoring services also but i am getting service


Here is query sending




AxionIM.connection.mam.query("", {

  "with": "",

  onMessage: function(message) {



  onComplete: function(response) {

console.log("Got all the messages");







Sending Query

<body rid='3673830362' xmlns='' sid='6cnxfa5tmj'><iq type='get' to='' xmlns='jabber:client' id='10:sendIQ'><query xmlns='urn:xmpp:mam:tmp'><with></with><set xmlns=''/></query></iq></body>



Receiving Result:

<body xmlns='' ack='3673830362'><iq xmlns='jabber:client' type='error' id='10:sendIQ' from='' to=''><query xmlns='urn:xmpp:mam:tmp'><with></with><set xmlns=''/></query><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq></body>