<!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 bgcolor="#ffffff" text="#000000">
    ... reply all didn't work first time ...<br>
    <br>
    On 10/15/10 10:52 AM, Huy Nguyen wrote:
    <blockquote cite="mid:SNT143-w27062A3831F72616B615F99E570@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style> <font style="" face="Arial">Hi Daniel and list,<br>
        <br>
        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 <a class="moz-txt-link-abbreviated"
          href="mailto:109@xmpp1.com">109@xmpp1.com</a>, i chat to sip
        client, e.g <a class="moz-txt-link-abbreviated"
          href="mailto:101*kamailio1.com@xmpp1.com">101*kamailio1.com@xmpp1.com</a>.</font></blockquote>
    you still have same domain - xmpp1.com - for both. <br>
    <br>
    So when your xmpp client sends to server, the server looks at domain
    part and says it is my domain so i should have it in my location
    table.<br>
    <br>
    If it is another domain, xmpp2.com, then xmpp server will connect to
    xmpp2.com to send the message there.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote cite="mid:SNT143-w27062A3831F72616B615F99E570@phx.gbl"
      type="cite"><font style="" face="Arial"> I think it'll get the
        previous problem, because the xmpp server saw that the domain of
        the customer is xmpp1.com --&gt; 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 ?<br>
        <br>
        Have any wrong in my testing scenario ? Or we must change the
        order of sip buddy name: <a class="moz-txt-link-abbreviated"
          href="mailto:101*xmpp1.com@kamailio1.com">101*xmpp1.com@kamailio1.com</a>
        ?<br>
        <br>
        Thanks,<br>
        Huy Nguyen<br>
      </font><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><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 class="ecxApple-style-span"
          style="border-collapse: collapse; font-family:
          arial,sans-serif; font-size: 13px;"><br>
        </span></span><font style="" face="Arial"><br>
      </font><font style="" face="Arial"><br>
      </font><br>
      <br>
      <br>
      <br>
      <hr id="stopSpelling">Date: Fri, 15 Oct 2010 10:31:28 +0200<br>
      From: <a class="moz-txt-link-abbreviated"
        href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
      To: <a class="moz-txt-link-abbreviated"
        href="mailto:huy_quocnguyen@live.com">huy_quocnguyen@live.com</a><br>
      CC: <a class="moz-txt-link-abbreviated"
        href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
      Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1<br>
      <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1258">
      <meta name="Generator" content="Microsoft SafeHTML">
      Hello,<br>
      <br>
      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.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      On 10/15/10 7:27 AM, Huy Nguyen wrote:
      <blockquote cite="mid:SNT143-w21EAE0A14EE4370B7F7F129E570@phx.gbl">
        <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
        <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style> <font style="" face="Arial">Hi,<br>
          <br>
          Thanks for your quickly support, but after recompile with the
          lastest git branch 3.0 version, I still meet the same problem.<br>
          <br>
          From my xmpp client, i chat to sip client (e.g <a
            moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
            href="mailto:101*sip.htk.com@xmpp.htk.com">101*sip.htk.com@xmpp.htk.com</a>),

          the xmpp server looking for its database and not found user
          101*sip.htk.com. So, it show the error 503.<br>
          <br>
          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 ?<br>
          <br>
          Thanks,<br>
          Huy Nguyen<br>
        </font><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 class="ecxApple-style-span"
            style="border-collapse: collapse; font-family:
            arial,sans-serif; font-size: 13px;"><br>
          </span></span><font style="" face="Arial"><br>
        </font><font style="" face="Arial"><br>
        </font><br>
        <br>
        <br>
        <br>
        <hr id="ecxstopSpelling">Date: Thu, 14 Oct 2010 19:57:57 +0200<br>
        From: <a moz-do-not-send="true"
          class="ecxmoz-txt-link-abbreviated"
          href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
        To: <a moz-do-not-send="true"
          class="ecxmoz-txt-link-abbreviated"
          href="mailto:huy_quocnguyen@live.com">huy_quocnguyen@live.com</a><br>
        CC: <a moz-do-not-send="true"
          class="ecxmoz-txt-link-abbreviated"
          href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
        Subject: Re: [SR-Users] Integrate xmpp module with kamailio
        3.0.1<br>
        <br>
        Hello,<br>
        <br>
        take the latest git version from branch kamailio_3.0. There were
        some fixes to xmpp module after 3.0.1.<br>
        <br>
        Cheers,<br>
        Daniel<br>
        <br>
        On 10/14/10 7:41 PM, Huy Nguyen wrote:
        <blockquote
          cite="mid:SNT143-w557BF3B89323B2BA62EF159E560@phx.gbl">
          <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style> <font style="" face="Arial">Hi all,<br>
            <br>
            I'm trying to integrate xmpp module to kamailio 3.0.1.<br>
            <br>
            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.<br>
            <br>
            Thanks,<br>
            Huy Nguyen<br>
          </font><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); letter-spacing: normal;
            line-height: normal; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px; font-size: medium;"><span
              class="ecxApple-style-span" style="border-collapse:
              collapse; font-family: arial,sans-serif; font-size: 13px;">
              <div class="ecxim" style="color: rgb(80, 0, 80);"><br>
              </div>
            </span></span><font style="" face="Arial"><br>
          </font><font style="" face="Arial"><br>
          </font><br>
          <br>
          <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
        </blockquote>
        <br>
        <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
        <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</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>