Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
Maksim Black #1
Member since Apr 2016 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: how i can get active agents(transports like fb,msn,icq) ?
Hello!
i like your library agsXMPP )
I use ejabberd server with transports(agents like fb,msn,icq).
In PSI all work fine)
i have a problem.
I can't find in agsxmpp SDK how i can get  my registered accounts in agents(transports) or how i can get active agents(transports)...
In what transports i am registered? Now i can get contacts and get them services(transports like fb.mysite.com or msn.mysite.com). This is not best way to get active transports because may be no friends in registered transport... Help me please...
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

here is the XEP documentation about Gateways, also called Transports.
http://www.xmpp.org/extensions/xep-0100.html

To register a transport you usually use jabber:iq:register. But this could be also implemented different in the transport. Do you have documentation for your transports?

See also:
http://www.xmpp.org/extensions/xep-0077.html

Alex
Avatar
Maksim Black #3
Member since Apr 2016 · 3 posts
Group memberships: Members
Show profile · Link to this post
Yes i think i can find documentation for transports. In this http://www.xmpp.org/extensions/xep-0077.html document i found info: Is it right that when i try register in  transport he responce me that i allready registered? So, i can get info about allready exist acount when i try register. Is it right?
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes this is correct.

Usually also once you registered the transport you get presence from it automatically on every login.
This is also described here:
http://www.xmpp.org/extensions/xep-0100.html#usecases-jabb…

The available transports on your service you can discover using service discovery. So with the combination of those you should know which transports exist on the server, and which one are already registered and connected.

Alex
Avatar
Maksim Black #5
Member since Apr 2016 · 3 posts
Group memberships: Members
Show profile · Link to this post
Ok thank you very mach! Can i ask you later if i have a questions?)
Avatar
Alex #6
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
of course, this is what the forum is for.

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