-
Notifications
You must be signed in to change notification settings - Fork 6
XMPP
Joshua Haas edited this page Aug 23, 2017
·
5 revisions
This is probably the most common messaging standard of the modern day. Google and Facebook actually used this protocol before moving to their own proprietary protocols.
This protocol requires the xmpppy
package. You can get it in a number of ways.
- Ubuntu/Debian -
sudo apt-get install python-xmpp
- From source - SourceForge project
- Git repo - normanr/xmpppy
WARNING: Do not use 'pip' to install the version from PyPi; it is currently broken.
-
protocols
- includexmpp
-
xmpp.username
- the JID for Sibyl to use (without resource) -
xmpp.password
- the account's password
-
xmpp.resource
- Sibyl's resource (default'sibyl'
) -
xmpp.server
- the server to connect to (default is inferred fromusername
) -
xmpp.port
- the port to connect to (default5222
) -
xmpp.priv_domain
- ifTrue
, only accept subscriptions from the domain inusername
(default False) -
xmpp.ping_freq
- how often to ping the server in seconds (default60
, disabled0
) -
xmpp.ping_timeout
- how long to wait for a ping response (default3
) -
xmpp.debug
- ifTrue
printxmpppy
debug info to the terminal (defaultFalse
)
When you join an XMPP MUC, you get to choose a nick name. If you are logged in
as [email protected]/phone
when you join a MUC you then appear as
[email protected]/nick
. Since nick names generally aren't managed in XMPP,
Sibyl uses your "real" or login name when checking the black/white list. For
this to work properly, one of the following must be true (more details in
XEP-0045):
- The room is
Non-Anonymous
- The room is
Semi-Anonymous
and Sibyl is affiliated as anadmin
(granting themoderator
role)
- Prosody
- OpenFire
- ejabberd
- Pidgin (Linux/Windows/Mac)
- Conversations (Android)
- Monal (iOS)
- Author: TheSchwa
- JabberBot: Thomas Perl