Project

General

Profile

Feature not implemeneted for MUC messages in Message archiving

Vinoth Rajendran
Added almost 4 years ago

As per [This]("https://projects.tigase.org/boards/19/topics/5111") disscusion.

We are using Tigase-7.0.2-b3821 and tigase-message-archiving-1.2.0-20150221.223857-1.

Tried to retrieve muc messages using RSM.

This stanza is sending to save muc messages,

<iq to="556c268c844e0a4a3d85b47d@conference.192.168.1.149" id="asfdsdfsdf" type="set" xmlns="jabber:client">
    <save xmlns="urn:xmpp:archive">
        <chat with="556beb846e114b3328bcb54f @192.168.1.149">
            <from sec="5">
                <body>TEST MSGSTATE_ENCRYPTED</body>
            </from>
        </chat>
    </save>
</iq>

But the response is,

<body host="arun-desktop" xmlns:xmpp="urn:xmpp:xbosh" xmlns="http://jabber.org/protocol/httpbind" ack="4630368486" xmpp:version="1.0" secure="true" xmlns:stream="http://etherx.jabber.org/streams" from="192.168.1.149">
    <iq id="asfdsdfsdf" xmlns="jabber:client" type="error" to="556beb846e114b3328bcb54f@192.168.1.149/opsbus_1433221668013" from="556c268c844e0a4a3d85b47d@conference.192.168.1.149">
        <save xmlns="urn:xmpp:archive">
            <chat with="556beb846e114b3328bcb54f@192.168.1.149">
                <from sec="5">
                    <body>TEST MSGSTATE_ENCRYPTED</body>
                </from>
            </chat>
        </save>
        <error code="501" type="cancel">
            <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></feature-not-implemented>
        </error>
    </iq>
</body>

Herewith I have attached properties file,

How can I use this feature?

init.properties (1.87 KB) init.properties Int.Properties file for Tigase

Replies (4)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

You should send message that you want to archive to message archive component and not to MUC component like you are doing: @@.

Besides - by enabling option:

sess-man/plugins-conf/message-archive-xep-0136/store-muc-messages=value

this can be automatic

Added by Vinoth Rajendran almost 4 years ago

If I save MUC messages using XEP-0136 means, what kind of stanza should I follow?

I have add it by properties file,

sess-man/plugins-conf/message-archive-xep-0136/store-muc-messages=true

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Vinoth Rajendran wrote:

If I save MUC messages using XEP-0136 means, what kind of stanza should I follow?

http://xmpp.org/extensions/xep-0136.html#impl-muc

I have add it by properties file,

If you add this property then this will be done automatically, internally by Tigase.

Added by Anonymous almost 4 years ago

Thanks for your great help

On Fri, Jun 5, 2015 at 5:42 PM, support@tigase.org wrote:

    (1-4/4)