Hello,

as said in a previous email, first you have to use last git version of kamailio_3.0 branch. There was a fix for xmpp module since release of 3.0.1. Also you can switch to 3.1.0, or wait few days untill 3.0.4 is released.

You have to think the architecture like:

xmmp-user ------- xmpp-server ------ xmpp-to-sip-gateway ------- sip-to-xmpp-gateway -------- sip-server ------- sip-user

even some of these components are running in the same application.

If you add a buddy in your xmpp user that has the hostname same as xmpp-server domain, then it is clear that xmpp-server will route it locally and not to xmpp-to-sip-gateway.

Cheers,
Daniel

On 10/18/10 10:49 AM, Huy Nguyen wrote:
Hi all,

Sorry for restore this topic, but i till confused about the guide on xmpp module page.

I'm integrating xmpp module to kamailio 3.0.x at my local network, with server mode. The kamailio server have domain: kamailio1.com (192.168.1.26), the xmpp server have domain: xmpp1.com (192.168.1.20).

SIP user: 1...@kamailio1.com
XMPP user: 1...@xmpp1.com

Below is the part mention in xmpp doc I confused about, so i'm pasting that:

In the destination address we need an extra character as a domain separator, apart from @. The address of the XMPP(jabber) client looks like this: "sip:username<domain_separator>jabber_ser...@gateway_domain". The address of a SIP client has the following pattern : "sip_username<domain_separator>openser_dom...@xmpp_domain"; A common used character in XMPP transports is "%".

It mean, from sip client 1...@kamailio1.com, if I want to chat with xmpp client 1...@xmpp1.com, I'll add 109 to the contact list of 101 as: sip:109%xmpp1....@kamailio1.com. It right ?

As the similar, i'll add to the buddy list of 109 as: 101%kamailio1....@xmpp1.com ?

Can anyone suggest how to test xmpp module ?

Thanks,
Huy Nguyen
*

*
------------------------------------------------------------------------
------------------------------------------------------------------------
www.htk-inc.com <http://www.htk-inc.com/>


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla
http://www.asipto.com

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to