My Message Archiving is fine , message is saving in database easily but for some reason i want to fetch the preference set for xep-0136 .
As stated in xep-0136 extension to get preference we need to send this IQ
<iq type="get" id="pref1">
<pref xmlns="urn:xmpp:archive">
</pref>
</iq>
But on sending this I am getting error in response that service is unavailable but i dont know how this can be possible ? because message archiving is working all fine. do i need to implement some other module.
error iq
<iq
xmlns="jabber:client"
from="ramu_gmail.com@##.##.##.##"
to="ramu_gmail.com@##.##.##.##/42117879931439208568472324"
type="error"
id="pref1">
<pref xmlns="urn:xmpp:archive"></pref>
<error code="503" type="cancel">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable>
</error>
</iq>
Guys please suggest.Thanks in advance.