Skip to Content.
Sympa Menu

wg-pic - [WG-PIC:93] Jabber

Subject: Presence and IntComm WG

List archive

[WG-PIC:93] Jabber


Chronological Thread 
  • From: Jeremy George <>
  • To:
  • Cc: Jeremy George <>
  • Subject: [WG-PIC:93] Jabber
  • Date: Fri, 19 Sep 2003 10:08:58 -0400 (EDT)


Daniel-Constantin Mierla (from iptel.org) has very generously installed
jabber and configured the jabber-sip gateway on ser.uits.indiana.edu.
Thank you *very* much!

It works a little bit differently than I remember in v0.8.10. We'll
need to do some testing here to make sure we understand it.

Attached are two notes Daniel-Constantin sent me that explain the
installation a bit.

- Jeremy


--
Date: Thu, 18 Sep 2003 17:23:08 +0200
From: Daniel-Constantin Mierla

<>
To: Jeremy George
<>
Cc:

Subject: Re: [Serhelp] Re: IU proxy requests/questions

Hello Jeremy,

I have installed the Jabber server on ser.uits.indiana.edu
(/usr/local/src/jabber-1.4.2) in order to configure the jabber gateway.
The associated database is created too.

The configuration file for jabber server is
/usr/local/src/jabber-1.4.2/etc/uits.xml and a configuration script for
ser simple2jabber gateway is /usr/local/src/jabgw/imgw.cfg. To complete
the installation I need a DNS alias for that machine, something like:
jabber.ser.uits.indiana.edu to be able to sort the requests intended for
Jabber users.

If you want to test a little bit you can do it now with some tricks.
- in a terminal
cd /usr/local/src/jabber-1.4.2
./jabberd/jabberd -c etc/uits.xml

-in another terminal
cd /usr/local/src/sip_router
./ser -f ../jabgw/imgw.cfg

This instance of ser starts on port 5070 -- I didn't yet want to change
too much the config file of default ser. Now both servers, jabber and
ser, don't demonize. I will make a startup script if you want to keep
jabber gateway running on a different port or I will change the existing
one to start/stop jabber server too.

Once these two servers are running (and the default ser too) you can use
MSN messenger to send and receive messages to/from jabber users after
you have set the outbound proxy to ser.uits.indiana.edu:5060 (otherwise
the SIP client won't be able to resolve jabber.ser.uits.indiana.edu). I
have created a test user called "test" with password "test" which is
registered to jabber gateway too. Please don't try to send messages from
sip user
''
to jabber user
''
- that is sort of loop. As you may know, to
send a message to jabber user
''
the destination address
in SIP side must be
'alpha*'.

More information about jabber gateway you can find at:
http://iptel.org/ser/doc/jabgw/xjab-manual.html

There is a perl script '/usr/local/src/regjab.pl' which can be used to
register sip users to jabber gateway -- it needs the sip username as
parameter.

Let me know when you have the DNS alias on. You can pick up another name
instead of 'jabber.ser.uits.indiana.edu', it is up to you, I just need
to know it to set the appropriate value in config files.

Best regards,
Daniel
Date: Fri, 19 Sep 2003 15:07:30 +0200
From: Daniel-Constantin Mierla

<>
To: Jeremy George
<>
Cc:

Subject: Re: [Serhelp] Re: IU proxy requests/questions

Hello Jeremy,

the installation of the Jabber gateway is somehow complete -- we can add
some aesthetic options there. There is a start up script
/etc/init.d/imgwd that can be used to start/stop the gateway. The
gateway runs another SER on port 5070 and a Jabber server on defaults
ports. I chose to have another instance of SER for salability issues --
if you don't want to run the gateway you don't have to change the
configuration script of main instance of SER. The configuration file of
the SER on 5070 is /usr/local/etc/ser/imgw.cfg. I added a rule in main
SER config file to forward all SIP requests having the domain name
'jabber-ser.uits.indiana.edu' to port 5070.

I moved 'regjab.pl' to /usr/local/sbin. This script has no support for
multi-domain yet. It helps you to register existing SIP users of
ser.uits.indiana.edu to local Jabber server and sets up the database for
SIMPLE2Jabber gateway. Now only the user


(having the password 'test') is registered.

The connection to Jabber server is established when the SIP users sends
the first requests to a Jabber destination. We can change that to happen
when the SIP client send the REGISTER. Also, you can use some special
messages to go online/offline in Jabber network. You just have to send
':online' or ':offline' to a Jabber destination -- note that these
messages won't be delivered to the destination, so you can use a virtual
jabber destination (e.g.,
).
As I
already sent you, more about you can find at:
http://www.iptel.org/ser/doc/jabgw/xjab-manual.html

To join/leave a conference room you can send the ':join'/':exit'
messages to the conference address, e.g., if the Jabber conference
address is:
''
you have to send those
messages to
'*movies*'

-- note the first '*' that makes the difference between a Jabber user id
and a Jabber conference id.

If you have questions or suggestions about how it should be configured
let me know.

Best regards,
Daniel


  • [WG-PIC:93] Jabber, Jeremy George, 09/19/2003

Archive powered by MHonArc 2.6.16.

Top of Page