Gajim doesn't support psi proprietary extention
When I try to receive files from a misconfigured psi, gajim doesn't work. This is the xml log:
\<iq from='matapatox@jabber.3gnt.org/Psi' to='knuckles@jabber.3gnt.org/SuSE/Gajim' type='set' id='aae6a'>
\<si xmlns='http://jabber.org/protocol/si' profile='http://jabber.org/protocol/si/profile/file-transfer' id='s5b_d3922dcec93a3ec5'>
\<file xmlns='http://jabber.org/protocol/si/profile/file-transfer' size='109450' name='Matapatox1.jpg'>
\<range/>
\</file>
\<feature xmlns='http://jabber.org/protocol/feature-neg'>
\<x xmlns='jabber:x:data' type='form'>
\<field type='list-single' var='stream-method'>
\<option>
\<value>http://jabber.org/protocol/bytestreams\</value>
\</option>
\</field>
\</x>
\</feature>
\</si>
\</iq>
\<iq to="matapatox@jabber.3gnt.org/Psi" type="result" id="aae6a">\<si xmlns="http://jabber.org/protocol/si">\<file xmlns="http://jabber.org/protocol/si/profile/file-transfer" />\<feature xmlns="http://jabber.org/protocol/feature-neg">\<x xmlns="jabber:x:data" type="submit">\<field var="stream-method">\<value>http://jabber.org/protocol/bytestreams\</value>\</field>\</x>\</feature>\</si>\</iq>
\<iq from='matapatox@jabber.3gnt.org/Psi' to='knuckles@jabber.3gnt.org/SuSE/Gajim' type='set' id='aae8a'>
\<query xmlns='http://jabber.org/protocol/bytestreams' mode='tcp' sid='s5b_d3922dcec93a3ec5'>
\<streamhost port='8010' host='192.168.2.103' jid='matapatox@jabber.3gnt.org/Psi'/>
\<fast xmlns='http://affinix.com/jabber/stream'/>
\</query>
\</iq>
After that, it just times out (obviously, because the IP i'm getting is a lan IP).
But, if I use psi, it somehow sends my IP too, and then it works:
\<iq from="matapatox@jabber.3gnt.org/Psi" type="set" id="aaf7a" to="knuckles@jabber.3gnt.org/SuSE/Psi" >
\<si xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" id="s5b_2003054edcd5cd30" >
\<file xmlns="http://jabber.org/protocol/si/profile/file-transfer" size="109450" name="Matapatox1.jpg" >
\<range/>
\</file>
\<feature xmlns="http://jabber.org/protocol/feature-neg">
\<x xmlns="jabber:x:data" type="form" >
\<field type="list-single" var="stream-method" >
\<option>
\<value>http://jabber.org/protocol/bytestreams\</value>
\</option>
\</field>
\</x>
\</feature>
\</si>
\</iq>
\<iq type="result" to="matapatox@jabber.3gnt.org/Psi" id="aaf7a" >
\<si xmlns="http://jabber.org/protocol/si">
\<feature xmlns="http://jabber.org/protocol/feature-neg">
\<x xmlns="jabber:x:data" type="submit" >
\<field var="stream-method" >
\<value>http://jabber.org/protocol/bytestreams\</value>
\</field>
\</x>
\</feature>
\</si>
\</iq>
\<iq from="matapatox@jabber.3gnt.org/Psi" type="set" id="aafaa" to="knuckles@jabber.3gnt.org/SuSE/Psi" >
\<query xmlns="http://jabber.org/protocol/bytestreams" mode="tcp" sid="s5b_2003054edcd5cd30" >
\<streamhost port="8010" host="192.168.2.103" jid="matapatox@jabber.3gnt.org/Psi" />
\<fast xmlns="http://affinix.com/jabber/stream"/>
\</query>
\</iq>
\<iq type="set" to="matapatox@jabber.3gnt.org/Psi" id="aabea" >
\<query xmlns="http://jabber.org/protocol/bytestreams" mode="tcp" sid="s5b_2003054edcd5cd30" >
\<streamhost port="2011" host="192.168.0.1" jid="knuckles@jabber.3gnt.org/SuSE/Psi" />
\<streamhost port="2011" host="85.138.72.136" jid="knuckles@jabber.3gnt.org/SuSE/Psi" />
\</query>
\</iq>
\<iq from="matapatox@jabber.3gnt.org/Psi" type="result" id="aabea" to="knuckles@jabber.3gnt.org/SuSE/Psi" >
\<query xmlns="http://jabber.org/protocol/bytestreams">
\<streamhost-used jid="knuckles@jabber.3gnt.org/SuSE/Psi" />
\</query>
\</iq>
\<iq type="error" to="matapatox@jabber.3gnt.org/Psi" id="aafaa" >
\<error code="404" >Could not connect to given hosts\</error>
\</iq>
and I get the file.