[Comm] jabberd & jit

vic ismakaev =?iso-8859-1?q?viclists_=CE=C1_mail=2Eesoo=2Eru?=
Вт Сен 30 14:07:23 MSD 2003


Приветствую!
Может кто-нибудь поделиться методикой настройки гейта jabber-icq через jit?
Вроде все там тривиально,но гейт не работает.
Что я сделал:
в /etc/jabber/jabber.xml добавил строку
<jabberd:include>/etc/jabber/include/jit.service.xml</j

содержимое jit.service.xml
+++++++jit.service.xml+++++++
<service id="icq">
  <host>icq.jabber.mydomain.ru</host>
  <host>icq.jabber.mydomain.ru</host>
  <accept>
    <ip>127.0.0.1</ip>
    <port>5555</port>
    <secret>mysecret</secret>
    <timeout>30</timeout>
  </accept>
</service>
+++++++++++++++++++++++++

А это содержимое jabber-jit.xml
+++++++++++++++++++++++++++++++++++++++++++++++
<!-- Configuration for the standalone jabber-jit server binary -->

<jabber>

  <log id='elogger'>
    <host/>
    <logtype/>
    <format>%d: [%t] (%h): %s</format>
    <file>/var/log/jabber/icqerror.log</file>
  </log>

  <log id='rlogger'>
    <host/>
    <logtype>record</logtype>
    <format>%d %h %s</format>
    <file>/var/log/jabber/icqrecord.log</file>
  </log>


  <!--
     localhost is your jabber host. like  jabber.org
     so for example icq.localhost means icq.jabber.org
  -->

 <service id="icq.jabber.mydomain.ru">
   <host>icq.jabber.mydomain.ru</host>
 <icqtrans xmlns="jabber:config:icqtrans">

      <sms>
        <host>sms.jabber.mydomain.ru</host>
    <show>away</show>
    <status></status>
      </sms>

      <instructions>Please give your UIN and password</instructions>

      <search>Search users in ICQ</search>

      <vCard>
        <FN>JIT</FN>
        <DESC>JIT Jabber ICQ Transport by Lukas</DESC>
        <URL>http://jit.sf.net</URL>
      </vCard>

      <!-- Hashtable for users -->
      <prime>3907</prime>

      <!-- Send messages from icq as chat to jabber clients -->
      <chat/>

      <!-- Web presence enable -->
      <web/>
     <!-- If you don't want jabber:x:data forms
           in reg and search uncomment this tag
      <no_xdata/> -->

      <!-- File with stats -->
      <user_count_file>/var/log/jabber/jit_session_count.log</user_count_file>

      <!-- Interval beetween checking sessions: ping, messages, acks -->
      <session_check>5</session_check>

      <!-- Reconnect retries. -->
      <reconnects>5</reconnects>

      <!-- Time in sec when session can be inactive, 0  - disabled -->
      <session_timeout>18000</session_timeout>

      <!-- Charset -->
      <charset>windows-1251</charset>

      <!-- login.icq.com
           always IP !!!!!! -->
      <server>
     <host port="5190">64.12.200.89</host>
     <host port="5190">205.188.179.233</host>
      </server>

   </icqtrans>
   <load>
     <icqtrans>./jit.so</icqtrans>
   </load>

  </service>

  <pidfile>/var/run/jabber/jabberd-jit.pid</pidfile>

  <service id="icqlinker">
  <host>icq.jabber.mydomain.ru</host>
  <uplink/>
  <connect>
    <ip>127.0.0.1</ip>
    <port>5555</port>
    <secret>mysecret</secret>
  </connect>
  </service>

</jabber>
+++++++++++++++++++++++++++++++++

Причем фокус такой,что судя по netstat - связь между
jabberd и jabberd-jit существует. 

Когда в PSI выбираю пункт "Добавить контакт " - в списке доступных служб ICQ 
транспорт не появляется.

Когда в PSI выбираю "Просмотр служб " - ICQ гейт показывается в списке 
доступных служб - но зарегистрироваться в ней не могу.

В какую сторону копать?

-- 
С уважением
Виктор В Исмакаев




Подробная информация о списке рассылки community