ejabberd mod_multicast 不允许中继

ejabberd mod_multicast won't allow relaying

我正在使用最新(提交 9574e71e8db595ce7b2fa2f8fbfc38deec2ad74b)版本的 ejabberd 并尝试使 mod_multicast 模块工作,但我失败了。

我有这个:

modules:
    mod_multicast:
        host: "multicast.cego.dk"
        allow: all

我认为这应该有效,但是我在发送消息时收到了这样的回复:

<message from="multicast.cego.dk"
         to="robert78@komogvind.dk/13809541201432712492488165"
         type="error">
<addresses xmlns="http://jabber.org/protocol/address">
<address type="to"
         jid="betatester01@komogvind.dk"/>
<address type="to"
         jid="robert78@komogvind.dk"/>
<body>
Hello, World!
</body>
</addresses>
<error code="403"
       type="auth">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
Packet relay is denied by service policy
</text>
</error>
</message>

这是为什么? 我还尝试使用 'allow: admin' 和 'allow: multicast',然后按照文档中的描述定义多播 acl,但所有尝试都失败了。 "multicast.cego.dk" 服务出现在服务发现中,我可以通过服务发现查询它。

目前ejabberd只支持多播到本地用户,不支持中继。

我在 ejabberd 票务跟踪器上为您创建了一个功能请求: https://github.com/processone/ejabberd/issues/583