[OpenSIPS-Users] xmpp configuration

Anca Vamanu anca at opensips.org
Mon Dec 21 10:15:29 CET 2009


Hi Indiver,

The 'destination address' refers to the address of the buddy in the 
contact list. So in the xmpp account you must add the SIP buddy with the 
address:

"sip_username<delim>opensips_domain at xmpp_domain"

xmpp_domain - must be the domain used by opensips when registering as a 
component in jabberd2. And the xmpp srv record for that domain must 
point to the ip of the machine where jabberd2 is running.

In SIP, the xmpp buddy must have the following address format:

"sip:username<delim>jabber_server at gateway_domain"

The gateway_domain is the domain of the opensips gateway. This address 
format is used to ensure that the message gets to the gateway. The 
gateway will the decode the address and get the right xmpp address of 
the target : username at jabber_server.

Regards,

-- 
Anca Vamanu
www.voice-system.ro



Indiver wrote:
> Hi Every one,
>
> I'm working on xmpp module of opensips. I  configured opensips as component
> mode. I installed jabberd2 and configured successfully. When i look up the
> logs of opensips it showing the handshake successful message with my local
> jabberd2 server installed in my system. This make foolish but i'm confused
> how to move on from here. As i must configure sipcommunicator(jabber client)
> with my local jabberd2 server user name and password(i.e u name:jabberd2
> password:secret)or with the pattern suggested in xmpp doc.Cause that  i
> can't understand the format i read in xmpp module of opensips doc.Below is
> the part mention in the xmpp doc i confused about, so i'm pasting that
>
> In both cases, the destination address must have the same pattern:
>
> “sip:username<delim>jabber_server at gateway_domain>
> From a jabber client's point of view, the destination will look like:
>
> “sip_username<delim>opensips_domain at xmpp_domain” .
>
> what does it mean? .   can any one suggest how to move on from here in order
> to test configured xmpp module.Thanks in advance
>   



More information about the Users mailing list