[ejabberd] mod_multicast not delivering correct address stanza to receivers (ejabberd-16.02)

Gaurav Jain monkeyfdude at gmail.com
Mon Mar 7 21:47:27 MSK 2016


Multicast service is not delivering all "to" attributes to all the
recipient of address stanza.

UserA sends a packet to UserB and UserC

    <message type="chat" to="multicast.example.com" id="">
      <addresses xmlns="http://jabber.org/protocol/address">
        <address type="to" jid="UserB at example.com"/>
        <address type="to" jid="UserC at example.com"/>
      </addresses>
      <body>One</body>
      <active xmlns="http://jabber.org/protocol/chatstates"/>
    </message>

However UserB receives

    <message xmlns="jabber:client" from="UserA at example.com/iPhone" to="
UserB at example.com" type="chat" id="">
      <addresses xmlns="http://jabber.org/protocol/address">
        <address type="to" jid="UserB at example.com"/>
      </addresses>
      <body>One</body>
      <active xmlns="http://jabber.org/protocol/chatstates"/>
    </message>

And UserC receives

    <message xmlns="jabber:client" from="UserA at example.com/iPhone" to="
UserC at example.com" type="chat" id="">
      <addresses xmlns="http://jabber.org/protocol/address">
        <address type="to" jid="UserC at example.com"/>
      </addresses>
      <body>One</body>
      <active xmlns="http://jabber.org/protocol/chatstates"/>
    </message>


So, UserB and UserC are missing **'to'** attribute for each other in the
address stanza.

I use ejabberd 16.02 and I use
https://docs.ejabberd.im/admin/guide/configuration/#modmulticast to
configure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20160307/c794cd57/attachment.html>


More information about the ejabberd mailing list