Hello Usama,
I sent you an attachment, part of a mail sent to another person who
wanted to install the Jabber gateway.
You are right about documentation, there is no installation manual, is
more a presentation of the module and its parameters and methods.
Currently I am working to some presence stuff for Jabber gateway, after
that the module could be considered as final product and I will do my
best to write some good documentation. But that will be next year ... :-)
In few days I will be in vacation and for 2 weeks I do not think I will
read very often the mail.
I hope the short description from the attached file will help you to
configure and run the SIP-Jabber gateway.
If you get stuck, please send a mail on the list, I will reply to you as
soon as I read the mail.
Best regards,
Daniel
MANSOOR Usama FTRD/DMR/LON wrote:
Hi all,
I'm trying to use the SIP-Jabber GW, but I'm having trouble
understanding the documentation. I've installed SER, Jabberd, MySQL
and have them all up and running (although this has gone a bit too
smoothly, which leads me to think I must have missed out
something...). It's all running on Redhat 7.3 on the same machine. The
network is a 10.x.x.x network, and DNS is not being used.
I have MSN Messenger 4.7 as the SIMPLE client and Rival3 as the jabber
client. What do I do to have these two IM clients talk to each other?
What commands do I have to enter?
Thanks,
Usama
------------------------------------------------------------------------
Usama Mansoor,
France Telecom R&D UK Ltd.
Chiswick Park,
Building 3,
566 Chiswick High Road,
London,
W4 SYA
Tel.: +44 20 8849 5858
Email: usama.mansoor(a)rd.francetelecom.fr
<mailto:usama.mansoor@rd.francetelecom.fr>
"This e-mail, and any files transmitted with it, is intended only for
the use of the person/s or entity to whom it is addressed. If you are
not the intended recipient (or authorised to receive information for
the intended recipient) you must not use, disclose, copy, print or
rely on this e-mail. If an addressing or transmission error has
misdirected this e-mail, please notify the author by replying to this
e-mail and delete all copies of this e-mail. Thank you."
Hello,
Let me present a short overview of Jabber module, how is working and what you need to run
it.
The Jabber module needs a local Jabber server for co-working with it. Each SIP user who
wants to send or to receive messages to/from Jabber network must have an associated Jabber
ID on local Jabber server.
This association between SIP users and local Jabber users is kept in a MySQL database.
Look in 'doc/' folder of the modules for SQL script which creates the database.
In table jusers you must have entries like
+------+--------+------------+----------------------------+------+
| juid | jab_id | jab_passwd | sip_id | type |
+------+--------+------------+----------------------------+------+
| 1 | juser | xxxxxx | sip:suser@sipserver.com | 0 |
+------+--------+------------+----------------------------+------+
for each pair SIP user - Jabber user.
TYPE=0 means that the Jabber gateway account is enabled.
In 'doc/' are some scripts which can help you to create the associated Jabber
account for a SIP user.
In 'doc/web' you find a PHP script which can manage associated
Jabber/ICQ/MSN/AOL/Yahoo accounts for a SIP user. Of course you have to set the
appropriate values at the beginning of the scripts.
Jabber module exports functions for registering/unregistering with local Jabber server,
sending a message, joining/leaving a Jabber conference. Take a look at Readme file of the
module to see the exported methods and the parameters that should be set.
Next step is to create the SER's script to use Jabber module and to route the
messages. A start point is the sample config file from 'doc/'.
To make ser to recognize the messages for Jabber network you need an alias for your SIP
server, like
jabber.sipserve.com (each SIP message for
jabber.sipserver.com will be
managed by Jabber module).
The most interesting thing is the Jabber address mapping. That is encoded in user part of
the destination address. Is something like
juser<delim>jabberserver.com
<delim> is a special character (it must not to be a SIP reserved one) that can be
specified in 'jalias' module's parameter.
Please do not log on Jabber server using a Jabber client and the same Jabber ID as the
associated ID for your SIP address.
Best regards,
Daniel
P.S. I strongly suggest to take the last version of the module from CVS (it is the most
stable version). But the other modules could be unstable, so is better to keep the last
stable version of SER and upgrade only the Jabber module.