<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 7/1/13 5:48 PM, arun Jayaprakash
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1372693733.63362.YahooMailNeo@web125306.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div>Hello, I have enabled RTP proxy on my machine (ec2
          instance) by running the following script:   <br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span style="font-weight:
            bold;">rtpproxy -F -l <span style="font-style: italic;">mypublicip</span> 
            -s <a class="moz-txt-link-freetext" href="udp:localhost:7722">udp:localhost:7722</a></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;">but I keep getting this
          error. The phones ring but there is no audio:</div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span style="font-weight:
            bold;">3(4144) ERROR: rtpproxy [rtpproxy.c:2647]:
            force_rtp_proxy(): incorrect port 0 in reply from rtp proxy</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;">can someone let me know what
          this error means? <br>
        </div>
      </div>
    </blockquote>
    you cannot get rtpproxy listening on the ec2 public ip, which does
    not exist on the network interface.<br>
    <br>
    You will have to use a patched rtpproxy, that adds advertising
    address support. I had such patch for my own usage, now I polished
    it a bit and push it to github:<br>
    <br>
    -
<a class="moz-txt-link-freetext" href="https://github.com/miconda/rtpproxy/commit/41f6d9d9084a6fad52a6483a0593d4b25e0de8ca">https://github.com/miconda/rtpproxy/commit/41f6d9d9084a6fad52a6483a0593d4b25e0de8ca</a><br>
    <br>
    Give it a try, hope I haven't broken it with last polishing, if does
    not work let me know.<br>
    <br>
    You should be able to apply it to latest rtpproxy stable release.
    Once you compile and install, then run rtpproxy with:<br>
    <br>
    <br>
    rtpproxy -F -l localip -A publicip  -s <a class="moz-txt-link-freetext" href="udp:localhost:7722">udp:localhost:7722</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <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>