<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>XMPP on nagg.eu</title><link>https://nagg.eu/tags/xmpp/</link><description>Recent content in XMPP on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 03 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/xmpp/index.xml" rel="self" type="application/rss+xml"/><item><title>XMPP audio and video calls</title><link>https://nagg.eu/xmpp-audio-and-video-calls/</link><pubDate>Sun, 03 May 2020 00:00:00 +0000</pubDate><guid>https://nagg.eu/xmpp-audio-and-video-calls/</guid><description>&lt;p&gt;Ejabberd has supported STUN/TURN for quite some time now, this in conjunction
with client support can be used to implement one on one audio and video calls.&lt;br&gt;
Since version 2.8.0 &lt;a href="https://github.com/iNPUTmice/Conversations"&gt;Conversations Android client&lt;/a&gt;
added audio and video call functionality by leveraging on STUN/TURN and &lt;a href="https://xmpp.org/extensions/xep-0215.html"&gt;XEP-0215&lt;/a&gt;.&lt;br&gt;
The rest of the XMPP world is following the route opened by them, so I expect
to see IOS and regular computer XMPP clients to finally implement these new
features too in the upcoming months.&lt;br&gt;
Enabling audio and video calls in Ejabberd is actually pretty simple.&lt;br&gt;
Provided you have installed the latest release (version &lt;code&gt;20.04&lt;/code&gt;), edit
&lt;code&gt;ejabberd.yml&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Zabbix and XMPP alerts</title><link>https://nagg.eu/zabbix-and-xmpp-alerts/</link><pubDate>Mon, 23 Oct 2017 17:44:14 +0000</pubDate><guid>https://nagg.eu/zabbix-and-xmpp-alerts/</guid><description>&lt;p&gt;Zabbix should theoretically be able out of the box to send alerts via XMPP.&lt;br&gt;
For some reason this functionality does not work as intended, luckily it is
possible to specify a custom script to send alerts; combining the
aforementioned script with the Perl library sendxmpp is the easiest way to
enable Zabbix from sending notifications via XMPP.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ yum install sendxmpp
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Create a bash script, this will be invoked by Zabbix to send notifications:&lt;/p&gt;</description></item><item><title>ejabberd XMPP server configuration guide</title><link>https://nagg.eu/ejabberd-xmpp-server-configuration-guide/</link><pubDate>Mon, 11 Aug 2014 16:08:21 +0000</pubDate><guid>https://nagg.eu/ejabberd-xmpp-server-configuration-guide/</guid><description>&lt;p&gt;I will be keeping this post up to date to keep track on how to configure and
mantain an ejabberd server working efficiently and secure. I strongly advise
any reader to read carefully what is written here and not just copy-and-paste
the configuration file.&lt;br&gt;
My blog also contains a bunch of other posts regarding ejabberd that are worth
giving a look at, use the search form.&lt;/p&gt;
&lt;h3 id="server"&gt;Server&lt;/h3&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
CentOS 7.5.1804 x86_64
Erlang/OTP 21.1.1-1 x86_64
ejabberd 18.09
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="client"&gt;Client&lt;/h3&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
LineageOS 15.1 (Android Nougat)
Conversations 2.3.5+fcr
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="-installation-and-initial-configuration"&gt;.:. Installation and initial configuration&lt;/h3&gt;
&lt;p&gt;Download and install erlang (release numbers here may not be up to date):&lt;/p&gt;</description></item><item><title>ejabberd and lost messages, possible “solutions”</title><link>https://nagg.eu/ejabberd-and-lost-messages-possible-solutions/</link><pubDate>Fri, 17 Jan 2014 14:30:12 +0000</pubDate><guid>https://nagg.eu/ejabberd-and-lost-messages-possible-solutions/</guid><description>&lt;p&gt;Being the tinfoil hat I am I obviously don&amp;rsquo;t like nor use whatsapp, some time ago I set up my own XMPP server and made a bunch of close friends switch to it.&lt;br&gt;
There are multiple clients for every platform, my personal preference goes to Xabber on Android and Pidgin on GNU/Linux; both support OTR encryption and all around are pretty decent clients.&lt;br&gt;
The only real issue we had so far is the very annoying problem of lost messages; if the internet connection is stable and decent the problem will very likely never come up, too bad that mobile phone internet connection is everything but stable.&lt;br&gt;
Every time there is a switch between EDGE, 3G, HSDPA and 4G the mobile phone is out of reach for some seconds (some time much more than just &lt;!-- raw HTML omitted --&gt;some&lt;!-- raw HTML omitted --&gt;).&lt;br&gt;
The switch between let&amp;rsquo;s say 3G and HSDPA is not predictable, so the client has physically no time to notificate the server that he is about to close the connection and on the other hand the server also has some trouble knowing if someone suddenly disconnect.&lt;br&gt;
Here comes &lt;!-- raw HTML omitted --&gt; XEP-199 a.k.a. XMPP ping&lt;!-- raw HTML omitted --&gt;, it is used to probe the clients connection state every X seconds, in my ejabbed (the XMPP server I use) configuration it is set to 60 seconds, so every 60 seconds the server ping every client, if after 32 additional seconds a client has not replied it will be considered as disconnected and any further message sent from everyone to it will be cached by the server and resent the next time the client will be back online.&lt;br&gt;
Enable XEP-199 in ejabberd is pretty easy…&lt;/p&gt;</description></item></channel></rss>