eva@pc377/Smack
自分の名前空間を使用してカスタム IQ をhttp://www.test.com/test
特定のユーザーに送信する必要がありますbob@pc377/Smack
。OpenFire を使用するとすべて正常に動作しますが、Ejabberd はこの IQ をユーザーに転送しません。ログ ファイルを見ると、IQ がサーバーによって受信され、内部的にセッション マネージャーにディスパッチされていますが、ユーザーには転送されていません。を送信するMessage
と、正しく転送されます。Java ベースの Smack-Client を使用しています。
Ejabberd では、カスタム IQ を転送するために特定の構成が必要ですか?
=INFO REPORT==== 2013-09-11 13:55:36 ===
D(<0.658.0>:ejabberd_receiver:320) : Received XML on stream =
"<iq id=\"0j8w6-8\" to=\"bob@pc377/Smack\" type=\"set\">
<ts:register-request xmlns:ts=\"http://www.test.com/test\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">
<ts:node-id>550e8400-e29b-11d4-a716-446655440000</ts:node-id>
<ts:properties>
<ts:path>.</ts:path>
<ts:delivery-mode>1</ts:delivery-mode>
</ts:properties>
</ts:register-request>
</iq>"
=INFO REPORT==== 2013-09-11 13:55:36 ===
D(<0.659.0>:ejabberd_router:313) : route
from {jid,"eva","pc377","Smack","eva","pc377","Smack"}
to {jid,"bob","pc377","Smack","bob","pc377","Smack"}
packet {xmlelement,"iq",
[{"id","0j8w6-8"},
{"to","bob@pc377/Smack"},
{"type","set"}],
[{xmlelement,"ts:register-request",
[{"xmlns:ts","http://www.test.com/test"},
{"xmlns:xs","http://www.w3.org/2001/XMLSchema"},
{"xmlns:xsi",
"http://www.w3.org/2001/XMLSchema-instance"}],
[{xmlelement,"ts:node-id",[],
[{xmlcdata,
<<"550e8400-e29b-11d4-a716-446655440000">>}]},
{xmlelement,"ts:properties",[],
[{xmlelement,"ts:path",[],[{xmlcdata,<<".">>}]},
{xmlelement,"ts:delivery-mode",[],
[{xmlcdata,<<"1">>}]}]}]}]}
=INFO REPORT==== 2013-09-11 13:55:36 ===
D(<0.659.0>:ejabberd_local:300) : local route
from {jid,"eva","pc377","Smack","eva","pc377","Smack"}
to {jid,"bob","pc377","Smack","bob","pc377","Smack"}
packet {xmlelement,"iq",
[{"id","0j8w6-8"},{"to",[...]},{[...],...}],
[{xmlelement,[...],...}]}
=INFO REPORT==== 2013-09-11 13:55:36 ===
D(<0.659.0>:ejabberd_sm:411) : session manager
from {jid,"eva","pc377","Smack","eva","pc377","Smack"}
to {jid,"bob","pc377","Smack","bob","pc377","Smack"}
packet {xmlelement,"iq",
[{"id","0j8w6-8"},{"to",[...]},{[...],...}],
[{xmlelement,[...],...}]}
=INFO REPORT==== 2013-09-11 13:55:36 ===
D(<0.659.0>:ejabberd_sm:510) : sending to process <0.656.0>