[ejabberd] PyICQ help

Anton Butsyk butsyk at mail.etsplus.net
Thu Aug 4 13:57:21 MSD 2005


I'am currently using jabberd2 and now migrate to ejabberd
So I've changed some ports.
Is it important that connection between PyICQ and ejabberd
will be thru port 5347 ?
 
The part of ejabberd.cfg
...
% Listened ports:
{listen,
 [{5228, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper},
                            starttls, {certfile, 
"/usr/local/etc/ssl.pem"}]},
  {5229, ejabberd_c2s,     [{access, c2s},
                            tls, {certfile, "/usr/local/etc/ssl.pem"}]},
  {5348, ejabberd_service, [{access, all},
                            {host, "icq.HOST", [{password, "secret"}] }]}
]}.

% If SRV lookup fails, then port 5269 is used to communicate with remote 
server
 {outgoing_s2s_port, 5270}.
%!!! 5269
....


The part from PyICQ.xml

 <!-- The JabberID of the transport. -->
        <jid>HOST</jid>
        <spooldir>/var/spool/ejabberd</spooldir>
        <pid>/var/run/ejabberd/pyicq.pid</pid>
        <mainServer>HOST</mainServer>
...

PyICQ successfully connects to ejabberd, but can see him at the Discovery.
The same with JIT.

Anton.

Andrzej Smyk wrote:

>Be sure to add 
>
>   {5347, ejabberd_service, [{access, all},
>                            {hosts, ["icq.HOST"],
>                             [{password, "secret"}]}]},
>
>to Your ejabberd.cfg file and
>
>        <jid>icq.HOST</jid>
>
>to Your icq.xml file.
>
>Replace HOST to Your ejabberd server hostname. 
>
>Andrew
>
>  
>
>>-----Original Message-----
>>From: ejabberd-bounces at jabber.ru 
>>[mailto:ejabberd-bounces at jabber.ru]On Behalf Of Anton Butsyk
>>Sent: Thursday, August 04, 2005 11:11 AM
>>To: ejabberd at jabber.ru
>>Subject: [ejabberd] PyICQ help
>>
>>
>>Hi list.
>>
>>I've just installed PyICQ with ejabberd follow the instructions from 
>>http://ejabberd.jabber.ru/pyicqt.
>>PyICQ connects to ejabberd fine as we can see in a log file:
>> ...
>> I(<0.215.0>:ejabberd_listener:90): (#Port<0.292>) Accepted connection 
>>{{127,0,0,1},55952} -> {{127,0,0,1},5347}
>>
>>but  can't  see PyICQ in 'Discovery'.
>>How can I add it to 'Discovery'?
>>
>>Regards,
>>
>>Anton.
>>_______________________________________________
>>ejabberd mailing list
>>ejabberd at jabber.ru
>>http://lists.jabber.ru/mailman/listinfo/ejabberd
>>    
>>
>_______________________________________________
>ejabberd mailing list
>ejabberd at jabber.ru
>http://lists.jabber.ru/mailman/listinfo/ejabberd
>  
>



More information about the ejabberd mailing list