No subject


Mon Jul 5 11:16:31 CEST 2010


I'm confused about the phrase: domain_gateway. is it the domain name of xmpp module, i mean: sip.htk.com ?

With new release 3.0.4, can we use the simplified form as: username at domain ?

Thanks,
Huy Nguyen



www.htk-inc.com







From: huy_quocnguyen at live.com
To: miconda at gmail.com
Date: Wed, 20 Oct 2010 18:02:16 +0700
CC: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.x








Hi Daniel and list,

I'm using the lastest version of branch 3.0 (download from git), but I want to continue with the previous topic, so I still use the old Subject for easy tracking.

How about my question, at the current time, can we use the server mode ? But how can settup
      the s2s connection, if the kamailio-server+xmpp-module don't have
      any running port 5269 ? 

Thanks,
Huy Nguyen



www.htk-inc.com







Date: Wed, 20 Oct 2010 12:48:29 +0200
From: miconda at gmail.com
To: huy_quocnguyen at live.com
CC: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1



  


    
  
  
    

    

    On 10/20/10 7:33 AM, Huy Nguyen wrote:
    
      
      Hi Daniel and all list,

        

        Thanks for your support, but as the below diagram, i still have
        some confused:

        

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

      

         - if we use the server mode: the xmpp-to-sip-gateway
      and sip-to-xmpp-gateway is the xmpp module,
      and they have the same domain with sip-server (because the xmpp
      module is integrated on kamailio server) e.g kamailio1.com. So, at
      the xmpp client, we add the buddy as:
      sip-user*sip-server_domain at xmpp_domain=
      sip-user*kamailio1.com at kamailio1.com => the xmpp-server must
      establish the s2s connection to xmpp_domain, it mean the
      connection between xmpp-server and the kamailio-server (because
      xmpp module is integrated on kamailio-server). But how can settup
      the s2s connection, if the kamailio-server+xmpp-module don't have
      any running port 5269 ? 

    
    Do you run the last version of branch kamailio_3.0? I asked you many
    time and you come back mentioning an older version.

    

    Cheers,

    Daniel

    

    

      - if we use the component mode: sip-to-xmpp-gateway is the
        xmpp module, how about the xmpp-to-sip-gateway, which is the
      appliance on the network ? the local-xmpp-server or the xmpp
      module ?

      

      Thanks,

      Huy Nguyen

      

      

      

      

      

            

          
      
      www.htk-inc.com

      
          

          
        

      

      

      

      

      

      Date: Tue, 19 Oct 2010 09:52:15 +0200

      From: miconda at gmail.com

      To: huy_quocnguyen at live.com

      CC: sr-users at lists.sip-router.org

      Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1

      

      
      
      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: 101 at kamailio1.com

          XMPP user: 109 at 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_server at gateway_domain".

                The address of a SIP client has the following pattern :
                "sip_username<domain_separator>openser_domain at xmpp_domain";

                A common used character in XMPP transports is "%".

        

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

        

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

        

        Can anyone suggest how to test xmpp module ?

        

        Thanks,

        Huy Nguyen

        

              

            
        
        www.htk-inc.com

        
        
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at 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 at 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 at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 		 	   		  

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 		 	   		  
--_43fdbc76-01e1-4d8e-a2a2-968449674e24_
Content-Type: text/html; charset="windows-1258"
Content-Transfer-Encoding: 8bit

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font style="" face="Arial">Hi there,<br><br>After config the component mode as the guide on xmpp module page, how to check that xmpp module have already registered to the local jabberd server ?<br><br>I enable debug on kamailio and don't see any thing.<br><br>Thanks,<br>Huy Nguyen<br></font><font style="" color="#e36c09" face="Arial"><b><font style="font-size: 12pt;" size="3" color="#ff0000"><br></font></b></font><hr size="2" width="100%"><font style="" color="#e36c09" face="Arial"><b></b></font><hr size="2" width="100%"><a 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;"><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><br><br><hr id="stopSpelling">From: huy_quocnguyen at live.com<br>To: miconda at gmail.com; sr-users at lists.sip-router.org<br>Date: Thu, 21 Oct 2010 17:09:59 +0700<br>Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.x<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>


<font style="" face="Arial">Hi Daniel and list,<br><br>I'm integrating xmpp module to kamailio 3.0.4 with the <b>component</b> mode on my local network.<br><br>Kamailio: sip.htk.com<br><br>Jabberd: xmpp2.htk.com<br><br>With your diagram as the previous mail:<br></font>xmmp-user ------- xmpp-server ------ xmpp-to-sip-gateway
      ------- sip-to-xmpp-gateway -------- sip-server ------- sip-user<br><font style="" face="Arial"><br>From the sip client, when add to contact list: </font><u><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="font-family: Helvetica,Arial; font-size: 12px; text-align: justify;">"sip:username&lt;domain_separator&gt;jabber_server at gateway_domain"</span></span></u><br><font style="" face="Arial"><br>I'm confused about the phrase: <b>domain_gateway</b>. is it the domain name of xmpp module, i mean: <b>sip.htk.com</b> ?<br></font><font style="" face="Arial"><br>With new release 3.0.4, can we use the simplified form as: username at domain ?<br><br>Thanks,<br>Huy Nguyen<br></font><br><font style="" color="#e36c09" face="Arial"><b><font style="font-size: 12pt;" size="3" color="#ff0000"><br><br></font></b></font><hr size="2" width="100%"><font style="" color="#e36c09" face="Arial"><b></b></font><hr size="2" width="100%"><a 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">From: huy_quocnguyen at live.com<br>To: miconda at gmail.com<br>Date: Wed, 20 Oct 2010 18:02:16 +0700<br>CC: sr-users at lists.sip-router.org<br>Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.x<br><br>



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


<font style="" face="Arial">Hi Daniel and list,<br><br>I'm using the lastest version of branch 3.0 (download from git), but I want to continue with the previous topic, so I still use the old Subject for easy tracking.<br><br>How about my question, at the current time, can we use the server mode ? </font>But how can settup
      the s2s connection, if the kamailio-server+xmpp-module don't have
      any running port 5269 ? <br><br>Thanks,<br>Huy Nguyen<br><br><font style="" color="#e36c09" face="Arial"><b><font style="font-size: 12pt;" size="3" color="#ff0000"><br><br></font></b></font><hr size="2" width="100%"><font style="" color="#e36c09" face="Arial"><b></b></font><hr size="2" width="100%"><a 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;"><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><br><br><hr id="ecxstopSpelling">Date: Wed, 20 Oct 2010 12:48:29 +0200<br>From: miconda at gmail.com<br>To: huy_quocnguyen at live.com<br>CC: sr-users at lists.sip-router.org<br>Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1<br><br>

  


    
  
  
    <br>
    <br>
    On 10/20/10 7:33 AM, Huy Nguyen wrote:
    <blockquote cite="mid:SNT143-w73BCAFFC415E2B93903A69E5C0 at phx.gbl">
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
      <font style="" face="Arial">Hi Daniel and all list,<br>
        <br>
        Thanks for your support, but as the below diagram, i still have
        some confused:<br>
        <br>
      </font>xmmp-user ------- xmpp-server ------ xmpp-to-sip-gateway
      ------- sip-to-xmpp-gateway -------- sip-server ------- sip-user<br>
      <font style="" face="Arial"><br>
        &nbsp;- if we use the server mode: the </font><b>xmpp-to-sip-gateway</b>
      <b>and</b> <b>sip-to-xmpp-gateway</b> <b>is the xmpp module</b>,
      and they have the same domain with sip-server (because the xmpp
      module is integrated on kamailio server) e.g kamailio1.com. So, at
      the xmpp client, we add the buddy as:
      sip-user*sip-server_domain at xmpp_domain=
      <a class="ecxmoz-txt-link-abbreviated" href="mailto:sip-user*kamailio1.com at kamailio1.com">sip-user*kamailio1.com at kamailio1.com</a> =&gt; the xmpp-server must
      establish the s2s connection to xmpp_domain, it mean the
      connection between xmpp-server and the kamailio-server (because
      xmpp module is integrated on kamailio-server). But how can settup
      the s2s connection, if the kamailio-server+xmpp-module don't have
      any running port 5269 ? <br>
    </blockquote>
    Do you run the last version of branch kamailio_3.0? I asked you many
    time and you come back mentioning an older version.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote cite="mid:SNT143-w73BCAFFC415E2B93903A69E5C0 at phx.gbl"><br>
      - if we use the component mode: <b>sip-to-xmpp-gateway is the
        xmpp module</b>, how about the xmpp-to-sip-gateway, which is the
      appliance on the network ? the local-xmpp-server or the xmpp
      module ?<br>
      <br>
      Thanks,<br>
      Huy Nguyen<br>
      <font style="" face="Arial"><br>
      </font><br>
      <br>
      <br>
      <font style="" color="#e36c09" face="Arial"><b><font style="font-size: 12pt;" size="3" color="#ff0000"><br>
            <br>
          </font></b></font>
      <hr size="2" width="100%">
      <hr size="2" width="100%"><a 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;">
          <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>
      <br>
      <br>
      <hr id="ecxstopSpelling">Date: Tue, 19 Oct 2010 09:52:15 +0200<br>
      From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:miconda at gmail.com">miconda at gmail.com</a><br>
      To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:huy_quocnguyen at live.com">huy_quocnguyen at live.com</a><br>
      CC: <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users at lists.sip-router.org">sr-users at lists.sip-router.org</a><br>
      Subject: Re: [SR-Users] Integrate xmpp module with kamailio 3.0.1<br>
      <br>
      
      
      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 at 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 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="ecxmoz-txt-link-abbreviated" href="mailto:101 at kamailio1.com">101 at kamailio1.com</a><br>
          XMPP user: <a class="ecxmoz-txt-link-abbreviated" href="mailto:109 at xmpp1.com">109 at 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="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="font-family: monospace;"><br>
          </span></span><font style="" color="#1f497d"><font style=""><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0);"><span class="ecxApple-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="ecxmoz-txt-link-freetext" target="_blank">sip:username</a>&lt;domain_separator&gt;jabber_server at gateway_domain".

                The address of a SIP client has the following pattern :
                "sip_username&lt;domain_separator&gt;openser_domain at 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="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0);"><span class="ecxApple-style-span" style="font-family: monospace;"></span></span></font><br>
        It mean, from sip client <a class="ecxmoz-txt-link-abbreviated" href="mailto:101 at kamailio1.com">101 at kamailio1.com</a>, if I
        want to chat with xmpp client <a class="ecxmoz-txt-link-abbreviated" href="mailto:109 at xmpp1.com">109 at xmpp1.com</a>, I'll add 109 to
        the contact list of 101 as: <a class="ecxmoz-txt-link-freetext" target="_blank">sip:109%xmpp1.com at kamailio1.com</a>.
        It right ?<br>
        <br>
        As the similar, i'll add to the buddy list of 109 as: <a class="ecxmoz-txt-link-abbreviated" href="mailto:101%kamailio1.com at xmpp1.com">101%kamailio1.com at 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;" size="3" color="#ff0000"><br>
              <br>
            </font></b></font>
        <hr size="2" width="100%">
        <hr size="2" width="100%"><a 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><fieldset class="ecxmimeAttachmentHeader"></fieldset><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users at lists.sip-router.org">sr-users at lists.sip-router.org</a><br><a 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><br></pre>
      </blockquote>
      <br>
      <pre class="ecxmoz-signature">-- <br>Daniel-Constantin Mierla<br><a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
      <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users at lists.sip-router.org">sr-users at lists.sip-router.org</a><br><a 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><br></pre>
    </blockquote>
    <br>
    <pre class="ecxmoz-signature">-- <br>Daniel-Constantin Mierla<br><a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre> 		 	   		  
<br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 		 	   		  
<br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 		 	   		  </body>
</html>
--_43fdbc76-01e1-4d8e-a2a2-968449674e24_--



More information about the sr-users mailing list