[JDEV] ICQ Transport problem

Fabien Ninoles fabien at Nightbird.Dynamic.TZoNE.ORG
Thu Aug 2 00:53:00 CDT 2001


I use a separate dnsrv entry for icq... here my icq file, work
pretty well (but I use jabber2 and all cvs version).  The jabber.xml
is mostly identical for the relevant part.  Don't forget to modify the
id args as well as secret and port number accordingly.


---------------8X---------------
<jabber>

  <service id="icq.mydomain.com">

    <icqtrans xmlns="jabber:config:icqtrans">

      <!-- This tag contains the message displayed to users at registration time. -->
      <instructions>Please enter your ICQ number (in the "username" field), nickname, and password.  Leave the "username" field blank to create a new ICQ number.</instructions>

      <!-- contains the message displayed when users search with ICQ Transport. -->
      <search>Search for ICQ users</search>

      <!-- Contains the vCard of this transport. -->
      <vCard>
        <FN>ICQ Transport</FN>
        <DESC>This is ICQ Transport</DESC>
      </vCard>

      <!-- <chat/> ICQ-t sending normal/single messages by default -->

      <!-- This should be a prime number close to the amount of concurrent users you expect to have. -->
      <prime>501</prime>

      <!-- enables full TCP support -->
      <tcp><ports/></tcp>

      <!--   Use the <ports/> to control the port range ICQ will use to listen for
	     incomming TCP connections.  If the ports section is not present,
	     ICQ-t will not listen on any port and make outgoing TCP connections only.
	     Remove the TCP section to disable TCP completely -->
      <!--
      <tcp>

        <ports>
          <min>2000</min>
          <max>3000</max>
        </ports>
      </tcp>
      -->

      <!-- dnsrv section, see below for explanation.
           This section isn't needed if your using your own ICQ server, Groupware or whatever -->
      <dnsrv>
        <host>icq.mirabilis.com</host>  <!-- ICQ server to resolve -->
        <id>icq.dnsrv</id>              <!-- service id of our dnsrv component -->
        <delay>300</delay>              <!-- 5 minute delay between updates -->
      </dnsrv>

      <!-- This specifies what ICQ server and/or port you want to use.  This isn't needed if you're using dnsrv.

      <server>
        <ip>205.188.153.104</ip>
        <port>4000</port>
      </server>
       -->

      <!-- only supports <who/> from jabber:iq:admin
      <admin>
        <read>sheath at jabber.org</read>
        <read>admin at jabber.org</read>
      </admin>
      -->

    </icqtrans>

    <load>
      <icqtrans>./icq-transport/icqtrans.so</icqtrans>
    </load>
  </service>
  
  <service id="icq.dnsrv">
    <load>
      <dnsrv>./dnsrv/dnsrv.so</dnsrv>
    </load>
    <dnsrv xmlns="jabber:config:dnsrv">
      <resend>icq.mydomain.com</resend>      <!-- Change this to the service id for ICQ-transport -->
      <cachetimeout>300</cachetimeout>   <!-- the default is 1 hour, which is too long for our purpose -->
    </dnsrv>
  </service>

  <service id="icq-linker">
    <connect>
      <ip>127.0.0.1</ip>
      <port>9877</port>
      <secret>my_secret</secret>
    </connect>
    <uplink/>
  </service>

  <pidfile>./icq-jabber.pid</pidfile>


</jabber>
---------------8X---------------


On Thu, Aug 02, 2001 at 04:49:36AM +0100, Dillip Kumar Swain wrote:
> Hi
> 
> I want to configure jabber server with all Transports
> in separate process but I am not able to configure ICQ
> transport-0.9 with jabber-1.4/1.4.1.
> It shows " Time out Error" or "server resolution
> error" like that....but same time MSN transport is
> working fine.
> I am sending two files multiple.xml(jabberd xml file)
> & icqtrans.xml(icq transport xml file)
> 
> what's wrong with my pragrams...?
> I need some valuable solution.
> 
> Thanx in Advance...
> Dillip
> 
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie

-- 
fabien at tzone.org                 http://www.tzone.org/~fabien
GPG KeyID: C15D FE9E BB35 F596 127F  BF7D 8F1F DFC9 BCE0 9436



More information about the JDev mailing list