我正在开发一个系统,在某些时候我将不得不允许用户创建自己的会议室。
我正在阅读有关创建房间的内容并使用 XMPP 编写了一些代码,这导致下面的详细日志。
1422017436 [VERBOSE]: Socket is ready; send it.
1422017436 [VERBOSE]: SENT: <presence from='24527@localhost/xmpphp' to='sala3@myconference.localhost/xmpphp'><x xmlns='http://jabber.org/protocol/muc'/></presence>
1422017436 [VERBOSE]: Successfully sent 134 bytes.
1422017436 [VERBOSE]: Socket is ready; send it.
1422017436 [VERBOSE]: SENT: <iq from='24527@localhost/xmpphp' id='create1' to='sala3@myconference.localhost/xmpphp' type='set'><query xmlns='http://jabber.org/protocol/muc#owner'><x xmlns='jabber:x:data' type='submit'/></query></iq>
1422017436 [VERBOSE]: Successfully sent 203 bytes.
1422017436 [VERBOSE]: Disconnecting...
1422017436 [VERBOSE]: Socket is ready; send it.
1422017436 [VERBOSE]: SENT: </stream:stream>
1422017436 [VERBOSE]: Successfully sent 16 bytes.
1422017436 [VERBOSE]: RECV: <presence from="sala3@myconference.localhost/xmpphp" to="24527@localhost/xmpphp"><x xmlns="http://jabber.org/protocol/muc#user"><item jid="24527@localhost/xmpphp" affiliation="owner" role="moderator"/><status code="110"/><status code="100"/><status code="201"/></x></presence>
1422017436 [DEBUG]: Calling presence_handler
1422017436 [DEBUG]: Presence: sala3@myconference.localhost/xmpphp [available]
1422017436 [DEBUG]: EVENT: presence
1422017436 [VERBOSE]: RECV: <iq type="result" id="create1" from="sala3@myconference.localhost/xmpphp" to="24527@localhost/xmpphp"/>
1422017436 [VERBOSE]: RECV: </stream:stream>
1422017436 [DEBUG]: EVENT: end_stream
它似乎正在工作,我可以在这里阅读:
1422017436 [DEBUG]: Calling presence_handler
1422017436 [DEBUG]: Presence: sala3@myconference.localhost/xmpphp [available]
1422017436 [DEBUG]: EVENT: presence
1422017436 [VERBOSE]: RECV: <iq type="result" id="create1" from="sala3@myconference.localhost/xmpphp" to="24527@localhost/xmpphp"/>
1422017436 [VERBOSE]: RECV: </stream:stream>
但我在 Openfire 面板中找不到sala3
房间。SENT
我的包有什么问题吗?
谢谢。