Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
sreedevi1984 #1
Member since Oct 2006 · 38 posts
Group memberships: Members
Show profile · Link to this post
Subject: Getting conference room description
Hello,
         My requirement is to get the detailed information of a specific room. According to this link
http://www.xmpp.org/extensions/xep-0045.html#disco-rooms , I have done.... I am getting the description as specified in Example 6 of this link. But I need to get description as in Example 7 ( where subject, room title, etc.. are specified). What can I do to get the detailed information of the room including subject, room title, etc.... Kindly help me...

The Xml log which I give and get are as follows:

SEND:

<iq xmlns="jabber:client" id="agsXMPP_5" type="get" from="sreedevi@localhost/MiniClient" to="conference.localhost"><query xmlns="http://jabber.org/protocol/disco#items" /></iq>

SEND:
 <iq xmlns="jabber:client" id="agsXMPP_6" type="get" from="sreedevi@localhost/MiniClient" to="conference.localhost"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>

RECV:
 <iq xmlns="jabber:client" from="conference.localhost" id="agsXMPP_5" to="sreedevi@localhost/MiniClient" type="result">
<query xmlns="http://jabber.org/protocol/disco#items">
<item jid="test@conference.localhost" name="Test" />
<item jid="kochidontnet@conference.localhost" name="Kochi .NET Community" />
</query>
</iq>

RECV:
<iq xmlns="jabber:client" from="conference.localhost" id="agsXMPP_6" to="sreedevi@localhost/MiniClient" type="result">
<query xmlns="http://jabber.org/protocol/disco#info">
<identity type="text" name="Public Chatrooms" category="conference" />
<feature var="http://jabber.org/protocol/muc" />
<feature var="http://jabber.org/protocol/disco#info" />
<feature var="http://jabber.org/protocol/disco#items" />
</query>
</iq>

Thanks in advance,
Sreedevi..
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello Sreedevi,

Example 7 is a Extended Disco Info Result. It's not required for a MUC-service to respond with the extended result. It's optional and depends on your server software and configuration.
It looks like your server does not support the Extended Disco Info Results, or it's not configured correctly.

Alex
Avatar
sreedevi1984 #3
Member since Oct 2006 · 38 posts
Group memberships: Members
Show profile · Link to this post
Hai Alex,

              Is there any other way to get the room's description - subject, etc.. ?

Sreedevi.
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
If you disco a chatserver for all available rooms the room description is normally included in the result. The MiniClient example is doing this.
If your server does not return the extended room information then you have to join the room to get some of the information.

Which server are you using? Perhaps you can ping the developers or file a feature request if it's not available.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS