[ejabberd] mod_archive : how to retrieve archived message

Arup Malakar amalakar at gmail.com
Fri May 9 21:31:14 MSD 2008

On Fri, May 9, 2008 at 10:10 PM, Delfim Machado <dbcm at co.sapo.pt> wrote:

> Hello, try with http://www.xmpp.org/extensions/xep-0136.html#ns<http://www.xmpp.org/extensions/xep-0136.html#ns-pref>

Thanks Delfim it is working as expected now. I actually was going to the url
to look for xmlns rather
then using it in the iq query :-) That is why I  ended up using
"urn:xmpp:archive" which seems to be
the final xmlns for xep-0136.

Here is the iq query I am sending now:

<iq type='get' id='xyz1'>
  <list xmlns='http://www.xmpp.org/extensions/xep-0136.html#ns'
        with='xyz at bizense.selfip.com'>
    <set xmlns='http://jabber.org/protocol/rsm'>

I am getting result as expected.

>         "http://www.xmpp.org/extensions/xep-0136.html#ns").
>     gen_iq_handler:add_iq_handler(ejabberd_sm, Host, ?NS_ARCHIVE, ?MODULE,
> process_iq, IQDisc),
>     gen_iq_handler:add_iq_handler(ejabberd_local, Host, ?NS_ARCHIVE,
> ?MODULE, process_local_iq, IQDisc),

Where shall we the add the above configuration (ejabberd.cfg ?), and why is
it required?

Arup Malakar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20080509/ec563e5b/attachment.htm 

More information about the ejabberd mailing list