<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    how do you route MESSAGE requests? Using location records
    (lookup("location"))?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 22/12/15 03:48, Thierry Luo wrote:<br>
    </div>
    <blockquote cite="mid:006201d13c63$38092f90$a81b8eb0$@yeah.net"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <title>netease mail</title>
      <style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.netease-attdown, li.netease-attdown, div.netease-attdown
        {mso-style-name:netease-attdown;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        line-height:160%;
        background:#F6F9FC;
        border:none;
        padding:0in;
        font-size:9.0pt;
        font-family:"Verdana",sans-serif;}
p.netease-attdown-tit, li.netease-attdown-tit, div.netease-attdown-tit
        {mso-style-name:netease-attdown-tit;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:#A0A0A0;}
p.info, li.info, div.info
        {mso-style-name:info;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.info1, li.info1, div.info1
        {mso-style-name:info1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:#999999;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Anybody give
            some hints on this?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Thanks.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Thierry Luo<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b>
              <a class="moz-txt-link-abbreviated" href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
              [<a class="moz-txt-link-freetext" href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>] <b>On
                Behalf Of </b>Thierry Luo<br>
              <b>Sent:</b> Saturday, December 19, 2015 00:40<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
              <b>Subject:</b> [SR-Users] Issue with end to end MESSAGE
              over TCP<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi All,<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">I have deployed a Kamailio proxy server (as
          IMS pCSCF) in Amazon EC2. UA registration over TCP and
          presence flow (PUBLISH/NOTIFY) are all fine. But MESSAGE from
          one UA to another is UA over TCP is always not successful. I
          captured the sip flow from the server, and found that at the
          final hop from Proxy to terminating UA, the Kamailio server
          send the MESSAGE over udp, regardless of the fact that UAs
          were registered over TCP. <o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">What is the problem maybe? Attached is the
          cfg file.<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">Thanks.<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">Thierry Luo<o:p></o:p></p>
        <div style="border:solid #C5D2DA 1.0pt;padding:9.0pt 9.0pt 9.0pt
          9.0pt">
          <div>
            <p class="MsoNormal"
              style="line-height:160%;background:#F6F9FC"><b><span
style="font-size:9.0pt;line-height:160%;font-family:"Verdana",sans-serif;color:green">1</span></b><span
style="font-size:9.0pt;line-height:160%;font-family:"Verdana",sans-serif;color:#A0A0A0">
                attachments<o:p></o:p></span></p>
          </div>
          <p class="MsoNormal"
            style="margin-top:6.0pt;line-height:160%;background:#F6F9FC"><b><span
style="font-size:9.0pt;line-height:160%;font-family:"Verdana",sans-serif;color:#333333">kamailio_PCSCF.CFG</span></b><span
style="font-size:9.0pt;line-height:160%;font-family:"Verdana",sans-serif;color:#999999">(32K)</span><b><span
style="font-size:9.0pt;line-height:160%;font-family:"Verdana",sans-serif;color:#333333"><o:p></o:p></span></b></p>
          <p class="MsoNormal"
            style="margin-left:.5in;line-height:160%;background:#F6F9FC"><span
style="font-size:9.0pt;line-height:160%;font-family:"Verdana",sans-serif"><a
                moz-do-not-send="true"
href="http://preview.mail.yeah.net/xdownload?filename=kamailio_PCSCF.CFG&mid=1tbiGBDUBFXMT2MZdgAAsC&part=3&sign=d105295c466d0caec2b571c5b0fb0f61&time=1450517114&uid=langsir%40yeah.net"
                target="_blank"><span style="color:#0669B2">download</span></a>
              <o:p></o:p></span></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
  </body>
</html>