Hi,

the current text of IBB (XEP-0047) doesn't mention discovery support. There isn't a feature to announce support for IBB.

Maybe it should include something like (copied from XEP-0261):

To advertise its support for the In-Band Bytestreams, when replying to
Service Discovery information requests an entity MUST return URNs for
any version of this protocol that the entity supports -- e.g.,
"urn:xmpp:ibb:0" for this version (see Namespace Versioning regarding
the possibility of incrementing the version number).


Example N. Service discovery information request

<iq from='[email protected]/orchard' id='uw72g176' to='[email protected] /balcony' type='get'>
   <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>


Example N. Service discovery information response

<iq from='[email protected]/balcony' id='uw72g176' to='[email protected] /orchard' type='result'>
   <query xmlns='http://jabber.org/protocol/disco#info'>
     <feature var='urn:xmpp:ibb:1'/>
   </query>
</iq>

In order for an application to determine whether an entity supports this
protocol, where possible it SHOULD use the dynamic, presence- based
profile of service discovery defined in Entity Capabilities. However, if
an application has not received entity capabilities information from an
entity, it SHOULD use explicit service discovery instead.

Best regards,

Reply via email to