<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Hi Daniel, I get this error:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;">rtpproxy -F -l 10.164.62.166 -A 54.x.x.x -s udp:127.0.0.1:7722</div><div style="background-color: transparent;">rtpproxy: invalid option -- 'A'</div><div style="background-color: transparent;">usage: rtpproxy [-2fvFiPa] [-l addr1[/addr2]] [-6 addr1[/addr2]] [-s path]</div><div style="background-color: transparent;">        [-t tos] [-r rdir [-S sdir]] [-T ttl] [-L nfiles] [-m port_min]</div><div style="background-color:
 transparent;"><span></span></div><div style="background-color: transparent;">        [-M port_max] [-u uname[:gname]] [-n timeout_socket] [-d log_level[:log_facility]]</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Daniel-Constantin Mierla <miconda@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> arun Jayaprakash <jayaprakasharun@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 2, 2013 2:39 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re:
 [SR-Users] Issue with RTP proxy....<br> </font> </div> <div class="y_msg_container"><br><div id="yiv7724724747">
  

    
  
  <div>
    Hello,<br>
    <br>
    <br>
    <div class="yiv7724724747moz-cite-prefix">On 7/1/13 5:48 PM, arun Jayaprakash
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); 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 rel="nofollow" class="yiv7724724747moz-txt-link-freetext" href="">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 rel="nofollow" class="yiv7724724747moz-txt-link-freetext" target="_blank" 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 rel="nofollow" class="yiv7724724747moz-txt-link-freetext" href="">udp:localhost:7722</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <pre class="yiv7724724747moz-signature">-- 
Daniel-Constantin Mierla - <a rel="nofollow" class="yiv7724724747moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a rel="nofollow" class="yiv7724724747moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" class="yiv7724724747moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
  </div>

</div><br><br></div> </div> </div>  </div></body></html>