<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,</div>
    <div class="moz-cite-prefix">check the option advertised_ip:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><code class="literal">* advertised_ip</code>:
      the IP address that is used in SIP messages when Sipwise C5 system
      is behind NAT/SBC. An example of such a deployment is <span
        class="emphasis"><em>Amazon AMI</em></span>, where the
      server doesn’t have a public IP, so <span class="emphasis"><em>load-balancer</em></span>
      component of Sipwise C5 needs to
      know what his public domain is (→ <code class="literal">advertised_ip</code>).
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">- from
<a class="moz-txt-link-freetext" href="https://www.sipwise.org/doc/mr7.1.1/spce/index.html?_href=ar01s12.html#_interface_parameters">https://www.sipwise.org/doc/mr7.1.1/spce/index.html?_href=ar01s12.html#_interface_parameters</a><br>
    </div>
    <div class="moz-cite-prefix">Let us know if it works for you with
      registrations.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Regards,</div>
    <div class="moz-cite-prefix">Andrew</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 3/5/19 3:59 PM, Daniele Renda wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAL-Eb7WiS48h1gQgPjF8=uH6f-VXFvJJwy7+k4KnpE8u-3N6rg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div>Hi,</div>
            <div>I'm new to C5 CE, so sorry if my question is too banal.</div>
            <div>I installed C5 mr7.1.1 on a AWS t2.medium instance. I
              followed step by step the tutorial <a
                href="https://www.sipwise.org/doc/mr7.1.1"
                moz-do-not-send="true">https://www.sipwise.org/doc/mr7.1.1</a>
              and I also set the advertised-ip.</div>
            <div><br>
            </div>
            <div>I created a peer (outbound/inbound). The scenario is
              simple: I have a DID bought from a provider and I need to
              receive and make calls via SipwiseC5.</div>
            <div><br>
            </div>
            <div>I was able to create the outbound registration to the
              provider, but in the provider side I see the registration
              comes with the private ip of the EC2 instance (i.e.
              172.xx.xx.xx): so when I make a call to my mobile phone
              for example I see the phone ringing but when I pick up the
              call I don't hear any audio. <br>
            </div>
            <div><br>
            </div>
            <div>The rtp.log shows:</div>
            <div><br>
            </div>
            <div>] INFO: [313535313739363530363535363736-52dacv20j9ei]:
              ------ Media #1 (audio over RTP/AVP) using unknown codec<br>
              Mar  5 14:35:54 ip-172-31-25-213 (info) rtpengine[591]:
              [1551796554.000202] INFO:
              [313535313739363530363535363736-52dacv20j9ei]: ---------
              Port   <a href="http://172.31.25.213:30114"
                moz-do-not-send="true">172.31.25.213:30114</a> <> 
              95.xx.xx.252:63416, SSRC 0, 0 p, 0<br>
            </div>
            <div><br>
            </div>
            <div>Where should I specify my public ip in order it is used
              correctly also for RTP stream? I didn't find hints in the
              guide.</div>
            <div><br>
            </div>
            <div>Thanks<br>
            </div>
            <div>-- <br>
              <div dir="ltr" class="gmail_signature">Daniele Renda</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>