<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>afaik, one rtpproxy instance can listen on a single IP for RTP
      traffic, or two if started in bridging mode. Typically 0.0.0.0 is
      about listening on any and in such cases applications can have
      different behaviour. If you want a single RTP relay to listen on
      many ip addresses and just forward rtp or do bridging, then look
      at rtpengine, is more flexible with these options (at least
      compared to rtpproxy from 2-3 years ago, when I used it more,
      because since its package was removed from debian stable, no
      longer having the convenience of apt install for small voip
      systems, I just deploy rtpengine).</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 24.09.20 22:27, Aymeric Moizard
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALM7LKNgKSxTSgvgLQ_JOryinJKHDLkdTfxBtaLEYJaVOeLH0Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>A bit of debug in rtpproxy: I found out that if I use  -l
          10.10.111.234 instead of  -l 0.0.0.0 in the command line, it's
          working as expected.</div>
        <div><br>
        </div>
        <div>I'm not able to understand if this is a bug, or an expected
          behavior.</div>
        <div><br>
        </div>
        <div>Sorry that I answered my question alone ;)</div>
        <div>Regards</div>
        <div>Aymeric</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Le jeu. 24 sept. 2020 à 17:49,
          Aymeric Moizard <<a href="mailto:amoizard@gmail.com"
            moz-do-not-send="true">amoizard@gmail.com</a>> a écrit :<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">A bit more information on the rtpproxy and
            kamailio exchange: this is what I receive on rtpproxy
            (2.1.0)
            <div><br>
            </div>
            <div>DBUG:GLOBAL:get_command: received command "11479_4
              Uc18,8,0,101 109865504 90.66.177.103 30250 4178279503;1"<br>
              INFO:GLOBAL:rtpp_command_ul_handle: new IPv4/IPv4 session
              109865504, tag 4178279503;1 requested, type strong<br>
              INFO:109865504:rtpp_command_ul_handle: new session on IPv4
              port 51694 created, tag 4178279503;1<br>
            </div>
            <div><br>
            </div>
            <div>Regards,</div>
            <div>Aymeric</div>
            <div><br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Le jeu. 24 sept. 2020
              à 15:33, Aymeric Moizard <<a
                href="mailto:amoizard@gmail.com" target="_blank"
                moz-do-not-send="true">amoizard@gmail.com</a>> a
              écrit :<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">
                <div><br>
                </div>
                Hi,
                <div><br>
                </div>
                <div>I have 2 hosts on AWS behind NAT:</div>
                <div><br>
                </div>
                <div>One with rtpproxy:</div>
                <div><br>
                </div>
                <div>/usr/local/bin/rtpproxy -f -p
                  /run/rtpproxy/rtpproxy.pid -s udp:<a
                    href="http://0.0.0.0:31500" target="_blank"
                    moz-do-not-send="true">0.0.0.0:31500</a> -A <a
                    href="http://15.236.230.177/15.236.230.177"
                    target="_blank" moz-do-not-send="true">15.236.230.177</a> -l
                  <a href="http://0.0.0.0/0.0.0.0" target="_blank"
                    moz-do-not-send="true">0.0.0.0</a> -m 35000 -M 65000
                  -d DBUG:LOG_LOCAL5 -u rtpproxy:rtpproxy -F</div>
                <div><br>
                </div>
                <div>The other one, with a kamailio and using
                  only rtpproxy_manage(); without parameters.</div>
                <div><br>
                </div>
                <div>I'm surprised because in my SDP being modified,
                  kamailio is replacing with its KAMILIO private IP.
                  (not the rtpproxy one)</div>
                <div><br>
                </div>
                <div>I see that rtpproxy and kamailio are exchanging
                  data. Nothing obvious is coming out.</div>
                <div><br>
                </div>
                <div>Any obvious mistakes?<br clear="all">
                  <div>Anything you need to help?</div>
                  <div>Should I switch to another rtp engine?</div>
                  <div><br>
                  </div>
                  <div>Regards</div>
                  <div>Aymeric</div>
                  <div><br>
                  </div>
                  -- <br>
                  <div dir="ltr"><img
                      src="http://sip.antisip.com/am48.png"
                      moz-do-not-send="true">Antisip - <a
                      href="http://www.antisip.com" target="_blank"
                      moz-do-not-send="true">http://www.antisip.com</a><br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr"><img src="http://sip.antisip.com/am48.png"
              moz-do-not-send="true">Antisip - <a
              href="http://www.antisip.com" target="_blank"
              moz-do-not-send="true">http://www.antisip.com</a><br>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature"><img
          src="http://sip.antisip.com/am48.png" moz-do-not-send="true">Antisip
        - <a href="http://www.antisip.com" target="_blank"
          moz-do-not-send="true">http://www.antisip.com</a><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>