<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 7/17/13 1:02 PM, Nguyen Anh Tuan
      wrote:<br>
    </div>
    <blockquote
      cite="mid:000801ce82dd$11bd3940$3537abc0$@vnpt-technology.vn"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1410424134;
        mso-list-type:hybrid;
        mso-list-template-ids:3183536 604929594 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.25in;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.75in;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.75in;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.25in;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.25in;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.75in;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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">Hi all,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have a question about Control RTPProxy in
          Bridge mode with distributed Kamalio topology, including a SIP
          Load Balance, RTPProxies and some SIP Proxies behind.
          SIPProxies control RTPProxy by Route [NATMANAGE].<o:p></o:p></p>
        <p class="MsoNormal">                                                                                             
          <o:p></o:p></p>
        <p class="MsoNormal">                                               
                                          PUBLIC IP ---- Load Balance
          -----> SIP Proxies<o:p></o:p></p>
        <p class="MsoNormal">                                                                                                               
                                               |         <o:p></o:p></p>
        <p class="MsoNormal">                                                                                               
                                                               | control
          socket       <o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:1.5in;text-indent:.5in">PUBLIC
          IP < ----- RTPProxy <-----------------|<o:p></o:p></p>
        <p class="MsoNormal">                <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">In the standalone Kamailio solution (only
          one SIP Server – without Load Balance), I configured RTPProxy
          bridge mode, works PERFECTLY!!! , BUT in the distributed
          Kamailio solution (LoadBalance –> Proxies) has big issue
          with RTP:  <o:p></o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:.75in;text-indent:-.25in;mso-list:l0 level1
          lfo1"><!--[if !supportLists]--><span style="mso-list:Ignore">-<span
              style="font:7.0pt "Times New Roman"">          </span></span><!--[endif]-->UA
          in front of NAT has only upload direction (1 way RTP) but UA
          behind NAT has both direction (2 ways RTP).  <o:p></o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:.75in;text-indent:.25in"><o:p> </o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:.75in;text-indent:.25in">RTP stream from
          UAC ------ > NAT ------ > RTPProxy Public Interface
          ------ > RTPProxy Local Interface -------> UAS in local
          area network<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:.75in;text-indent:.25in"><o:p> </o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:.75in;text-indent:.25in">RTP stream from
          UAS in local area network ------ > RTPProxy Local Interface
          -------> STOPs HERE!!!, NOT Transfers out<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The RTPProxy control is performed on the
          SIP Proxy (Route NATMANAGE has many cases with flags WFROCEE,
          WFROCEI, WFROCIE). <o:p></o:p></p>
        <p class="MsoNormal">In the case the same UA in front of NAT
          call (RTPProxy mode “WEE”), the call occurs normally, RTP
          Streams is OK on both sides, but the call in cases EI and IE
          has problems above.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">What could be going on?</p>
      </div>
    </blockquote>
    look at SIP trace (e.g., with ngrep) and see if the sdp is updated
    correctly with the appropriate IP address of rtpproxy.<br>
    <br>
    Cheers,<br>
    Daniel<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>
<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>
</pre>
  </body>
</html>