Project

General

Profile

Sending direct presence and message to same user with diff. resource

Steffen Larsen
Added over 5 years ago

Hi,

I am trying to send from the same user with one resource to anohter resource.

That is: sending a message stanza from test2@test.dk/Phone to test2@test.dk/Web. This have worked before when using tigase 5.1 (using 5.2 now), so I wonder what have changed?.

Of course it could be AMP or Message module that have changed, but I really cant see it.

Here are the stanzas (from test2@test.dk/Phone client):

@

jkhjkhk

jkhjkhk

The recipient is no longer available.

@

My init.prop (sm-plugins) looks like this:

@

--sm-plugins=-amp,+message,-msgoffline

@

I have also tried using amp instead of the message module.

What options does I have to make this work? It worked in earlier tigase releases so its prob. some of the sm-plugins that have changed, but can I set some options or other things that will make it work?


Replies (6)

Added by Steffen Larsen over 5 years ago

Just an update.

It works if I set the init.prop to:

@

--sm-plugins=message-all,-message,-amp

@

But this of course send the message stanza to both resource. Can I configure AMP to only to deliver to the one that is specified by the message stanza (to attribute)?

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

This should work with any plugin (not message-all). It might be a bug introduces in some place in packet routing logic. Please file a bug report.

Added by Steffen Larsen over 5 years ago

So it should. I'll file in a bug report later today. Routing is quite essential, so please lets try and get it into next beta release. :-)

PS: My own message plugin works fine, so its not the clients.

/Steffen

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

I wish we had a way to convert forums topics into a ticket... If you know of such a module for Redmine let me know.

Added by Steffen Larsen over 5 years ago

There you go. Created the issue: https://projects.tigase.org/issues/1480

/Steffen

Added by Steffen Larsen over 5 years ago

yes creating a issue from a forum board message could be a nice admin feature. :-)

/Steffen

    (1-6/6)