jabberd 2.0sr1 and JIT

Hi everyone, here to answer my own question:

In the JIT config, you will do everything the same, EXCEPT to enable xdb. This is important as jabber2 doesn't support logging or file system access via xdb. On top of that, you will need to change the default port in the <service> section from 5555 to 5347 ( the default port that router listens on ). For completeness sake, I'll include the service section of my icq config file:
Code:
<service id="icq-linker">
    <uplink/>
    <connect>
      <ip>127.0.0.1</ip>
      <port>5347</port>
      <secret>SECRET</secret>
    </connect>
  </service>
In the jabber2 config, you will need to edit router.xml to allow the service to connect, and sm.xml to allow you to browse to the service from a jabber client.

In router.xml:
Code:
<alias name='icq.domain.com' target='icq-linker' />

Additionally, you will need to change the shared secret to whatever the secret is in you JIT config file. This, again, is in your router.xml file.

In sm.xml:
Code:
      <item category='service' type='icq' jid='icq.domain.com' name='ICQ Link'>
        <ns>jabber:iq:gateway</ns>
        <ns>jabber:iq:register</ns>
        <ns>jabber:iq:search</ns>
      </item>
 
Back
Top