<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1258"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
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.<br>
<br>
You have to think the architecture like:<br>
<br>
xmmp-user ------- xmpp-server ------ xmpp-to-sip-gateway -------
sip-to-xmpp-gateway -------- sip-server ------- sip-user<br>
<br>
even some of these components are running in the same application.<br>
<br>
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.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 10/18/10 10:49 AM, Huy Nguyen wrote:
<blockquote cite="mid:SNT143-w29DF4895828FD8ECAF58939E5A0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<font style="" face="Arial">Hi all,<br>
<br>
Sorry for restore this topic, but i till confused about the
guide on xmpp module page.<br>
<br>
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). <br>
<br>
SIP user: <a class="moz-txt-link-abbreviated" href="mailto:101@kamailio1.com">101@kamailio1.com</a><br>
XMPP user: <a class="moz-txt-link-abbreviated" href="mailto:109@xmpp1.com">109@xmpp1.com</a><br>
</font><br>
Below is the part mention in xmpp doc I confused about, so i'm
pasting that:<br>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: monospace;"><br>
</span></span><font style="" color="#1f497d"><font style=""><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
font-size: medium;"><span class="Apple-style-span"
style="font-family: Helvetica,Arial; font-size: 12px;
text-align: justify;">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:
"<a class="moz-txt-link-freetext" href="sip:username">sip:username</a><domain_separator>jabber_server@gateway_domain".
The address of a SIP client has the following pattern :
"sip_username<domain_separator>openser_domain@xmpp_domain";
A common used character in XMPP transports is "%".</span></span></font></font><font
style="" color="#1f497d"><br>
</font><font style="" color="#1f497d"><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: monospace;"></span></span></font><br>
It mean, from sip client <a class="moz-txt-link-abbreviated" href="mailto:101@kamailio1.com">101@kamailio1.com</a>, if I want to chat with
xmpp client <a class="moz-txt-link-abbreviated" href="mailto:109@xmpp1.com">109@xmpp1.com</a>, I'll add 109 to the contact list of 101
as: <a class="moz-txt-link-freetext" href="sip:109%xmpp1.com@kamailio1.com">sip:109%xmpp1.com@kamailio1.com</a>. It right ?<br>
<br>
As the similar, i'll add to the buddy list of 109 as:
<a class="moz-txt-link-abbreviated" href="mailto:101%kamailio1.com@xmpp1.com">101%kamailio1.com@xmpp1.com</a> ?<br>
<br>
Can anyone suggest how to test xmpp module ?<br>
<br>
Thanks,<br>
Huy Nguyen<br>
<font style="" color="#e36c09" face="Arial"><b><font
style="font-size: 12pt;" color="#ff0000" size="3"><br>
<br>
</font></b></font>
<hr size="2" width="100%">
<hr size="2" width="100%"><a moz-do-not-send="true"
href="http://www.htk-inc.com/" style="color: rgb(42, 93, 176);"
target="_blank">www.htk-inc.com</a><br>
<span class="ecxApple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; text-indent: 0px;
text-transform: none; white-space: normal; word-spacing: 0px;
font-size: medium;"></span>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>