Hi Daniel and list,

If i use the different domain for kamailio and xmpp (e.g kamailio1.com and xmpp1.com, i'm testing in my local network). If from my xmpp client, e.g 109@xmpp1.com, i chat to sip client, e.g 101*kamailio1.com@xmpp1.com. I think it'll get the previous problem, because the xmpp server saw that the domain of the customer is xmpp1.com --> this is a user on its domain. How can xmpp server recognize that is the sip user from kamailio server and send the message to kamailio ?

Have any wrong in my testing scenario ? Or we must change the order of sip buddy name: 101*xmpp1.com@kamailio1.com ?

Thanks,
Huy Nguyen





www.htk-inc.com







Date: Fri, 15 Oct 2010 10:31:28 +0200
From: miconda@gmail.com
To: huy_quocnguyen@live.com
CC: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1

Hello,

it is the same domain you use for both xmpp and sip server? You have to use different ones, otherwise each server considers it is a local user and try to look it up in own location database.

Cheers,
Daniel

On 10/15/10 7:27 AM, Huy Nguyen wrote:
Hi,

Thanks for your quickly support, but after recompile with the lastest git branch 3.0 version, I still meet the same problem.

From my xmpp client, i chat to sip client (e.g 101*sip.htk.com@xmpp.htk.com), the xmpp server looking for its database and not found user 101*sip.htk.com. So, it show the error 503.

I don't know why  the xmpp server not send message to my sip server ? At the current time, can we use the server mode of xmpp module ? If yes, how can establish the connection between xmpp module (on kamailio server) and the xmpp server, if the xmpp module not running at port 5269 ?

Thanks,
Huy Nguyen





www.htk-inc.com








Date: Thu, 14 Oct 2010 19:57:57 +0200
From: miconda@gmail.com
To: huy_quocnguyen@live.com
CC: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1

Hello,

take the latest git version from branch kamailio_3.0. There were some fixes to xmpp module after 3.0.1.

Cheers,
Daniel

On 10/14/10 7:41 PM, Huy Nguyen wrote:
Hi all,

I'm trying to integrate xmpp module to kamailio 3.0.1.

But i wondered about the server mode, if not use the local xmpp server, how to establish the s2s connection with the other xmpp server ? I think it must have the running port 5269 on two xmpp servers to setup the connection.

Thanks,
Huy Nguyen





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

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