[ejabberd] How to implement Friend Search function on IM client?

Pablo Polvorin pablo.polvorin at process-one.net
Tue Oct 6 17:41:12 MSD 2009


Hi,
you need to send it to the appropiate vcard user search (vjud)
component in your ejabberd server.
that is probably called "vjud.%YOURDOMAIN%" (you can change it in ejabberd.cfg)

2009/10/6 wei <tsingmei at gmail.com>:
> Hi all,
> I send following stanza to get Friend Search Support info from ejabberd, but
> return error:
>            <iq type='get' id='search1'>
>                 <query xmlns='jabber:iq:search'/>
>            </iq>
> error is:
> [017:797]    <iq from='alex' to='alex' type='error' xml:lang='*' id='12'>
> [017:797]      <query xmlns='jabber:iq:search'/>
> [017:797]      <error code='503' type='cancel'>
> [017:797]        <service-unavailable
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
> [017:813]      </error>
> [017:813]    </iq>
> so, how to write the stanza to support user search?
> Thanks a million.
> alex
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>



-- 
Pablo Polvorin
ProcessOne


More information about the ejabberd mailing list