<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>...also </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;">listen=udp:10.164.62.166:5060 advertise 54.235.xx.xx:5060<br></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 12:41 PM<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="yiv2859334865">
  

    
  
  <div>
    <br>
    <div class="yiv2859334865moz-cite-prefix">On 7/2/13 7:01 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;">Can you please
        give me some pointers as to how to apply this patch, I have
        never done one in the past. Thank you.<br>
      </div>
    </blockquote>
    I guess you can find good tutorials online on how to use patch tool
    or understand patching mechanisms.<br>
    <br>
    Or if it is ok, just take the whole rtpproxy sources from the githug
    repository and compile/install it.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <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;"><br>
        Regards,<br>
        Arun<br>
        <div><span><br>
          </span></div>
        <div><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 face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Sergey
                Okhapkin <a rel="nofollow" class="yiv2859334865moz-txt-link-rfc2396E" ymailto="mailto:sos@sokhapkin.dyndns.org" target="_blank" href=""><sos@sokhapkin.dyndns.org></a><br>
                <b><span style="font-weight:bold;">To:</span></b> arun
                Jayaprakash <a rel="nofollow" class="yiv2859334865moz-txt-link-rfc2396E" ymailto="mailto:jayaprakasharun@yahoo.com" target="_blank" href=""><jayaprakasharun@yahoo.com></a>; Kamailio
                (SER) - Users Mailing List
                <a rel="nofollow" class="yiv2859334865moz-txt-link-rfc2396E" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href=""><sr-users@lists.sip-router.org></a> <br>
                <b><span style="font-weight:bold;">Sent:</span></b>
                Tuesday, July 2, 2013 11:49 AM<br>
                <b><span style="font-weight:bold;">Subject:</span></b>
                Re: [SR-Users] Issue with RTP proxy....<br>
              </font> </div>
            <div class="yiv2859334865y_msg_container"><br>
              How else?<br>
              <br>
              On Tuesday 02 July 2013 09:44:48 arun Jayaprakash wrote:<br>
              > Daniel, so you are saying that the machine running
              RTP proxy should not be a<br>
              > natted one but should have its own public IP?<br>
              > <br>
              > Thanks,<br>
              > Arun<br>
              > <br>
              > <br>
              > <br>
              > <br>
              > ________________________________<br>
              >  From: Daniel-Constantin Mierla <<a rel="nofollow" ymailto="mailto:miconda@gmail.com" target="_blank" href="">miconda@gmail.com</a>><br>
              > To: Kamailio (SER) - Users Mailing List <<a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="">sr-users@lists.sip-router.org</a>><br>
              > Sent: Tuesday, July 2, 2013 10:53 AM<br>
              > Subject: Re: [SR-Users] Issue with RTP proxy....<br>
              > <br>
              > On 7/2/13 5:11 PM, David | StyleFlare wrote:<br>
              > > Daniel,<br>
              > > <br>
              > > I am confused, I thought that patch is not
              really needed?<br>
              > <br>
              > Indeed, the patch is not really needed when you have
              a single instance<br>
              > of rtpproxy and know its public ip. But when you deal
              with many<br>
              > rtpproxies, then you cannot deal from config. Also,
              for bridging<br>
              > networks is not possible from config.<br>
              > <br>
              > With the patch, the config of kamailio stays as usual
              all the time.<br>
              > <br>
              > Cheers,<br>
              > Daniel<br>
              > <br>
              > > On Ec2 you should be able to bind to the Local
              IP and then pass the<br>
              > > External IP to rtp-manage.<br>
              > > <br>
              > > Am I missing something here?<br>
              > > <br>
              > > Should effectively be the same thing.<br>
              > > <br>
              > > On 7/2/13 10:50 AM, Fred Posner wrote:<br>
              > >> This is awesome... did it say which version
              of RTP Proxy or did I<br>
              > >> just not RTFM well enough?<br>
              > >> <br>
              > >> Fred Posner | Team Forrest / LOD<br>
              > >> direct: 503-914-0999 | fax: 954-472-2896<br>
              > >> <br>
              > >> On 07/02/2013 10:17 AM, Daniel-Constantin
              Mierla wrote:<br>
              > >>> Hello,<br>
              > >>> <br>
              > >>> have you re-installed rtpproxy from
              sources after applying the patch I<br>
              > >>> provided the link to?<br>
              > >>> <br>
              > >>> Cheers,<br>
              > >>> Daniel<br>
              > >>> <br>
              > >>> On 7/2/13 3:33 PM, arun Jayaprakash
              wrote:<br>
              > >>>> Hi Daniel, I get this error:<br>
              > >>>> <br>
              > >>>> rtpproxy -F -l 10.164.62.166 -A
              54.x.x.x -s <a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" href="">udp:127.0.0.1:7722</a><br>
              > >>>> rtpproxy: invalid option -- 'A'<br>
              > >>>> usage: rtpproxy [-2fvFiPa] [-l
              addr1[/addr2]] [-6 addr1[/addr2]]<br>
              > >>>> [-s path]<br>
              > >>>><br>
              > >>>>        [-t tos] [-r rdir [-S sdir]]
              [-T ttl] [-L nfiles] [-m<br>
              > >>>><br>
              > >>>> port_min]<br>
              > >>>><br>
              > >>>>        [-M port_max] [-u
              uname[:gname]] [-n timeout_socket] [-d<br>
              > >>>><br>
              > >>>> log_level[:log_facility]]<br>
              > >>>> <br>
              > >>>>
              -----------------------------------------------------------------------<br>
              > >>>> -<br>
              > >>>> <br>
              > >>>> *From:* Daniel-Constantin Mierla
              <<a rel="nofollow" ymailto="mailto:miconda@gmail.com" target="_blank" href="">miconda@gmail.com</a>><br>
              > >>>> *To:* arun Jayaprakash <<a rel="nofollow" ymailto="mailto:jayaprakasharun@yahoo.com" target="_blank" href="">jayaprakasharun@yahoo.com</a>>;
              Kamailio (SER) -<br>
              > >>>> Users Mailing List <<a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="">sr-users@lists.sip-router.org</a>><br>
              > >>>> *Sent:* Tuesday, July 2, 2013 2:39
              AM<br>
              > >>>> *Subject:* Re: [SR-Users] Issue with
              RTP proxy....<br>
              > >>>> <br>
              > >>>> Hello,<br>
              > >>>> <br>
              > >>>> On 7/1/13 5:48 PM, arun Jayaprakash
              wrote:<br>
              > >>>>> Hello, I have enabled RTP proxy
              on my machine (ec2 instance) by<br>
              > >>>>> running the following script:<br>
              > >>>>> <br>
              > >>>>> rtpproxy -F -l mypublicip -s
              <a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" href="">udp:localhost:7722</a><br>
              > >>>>> <br>
              > >>>>> but I keep getting this error.
              The phones ring but there is no audio:<br>
              > >>>>> <br>
              > >>>>> 3(4144) ERROR: rtpproxy
              [rtpproxy.c:2647]: force_rtp_proxy():<br>
              > >>>>> incorrect port 0 in reply from
              rtp proxy<br>
              > >>>>> <br>
              > >>>>> can someone let me know what
              this error means?<br>
              > >>>> <br>
              > >>>> you cannot get rtpproxy listening on
              the ec2 public ip, which does not<br>
              > >>>> exist on the network interface.<br>
              > >>>> <br>
              > >>>> You will have to use a patched
              rtpproxy, that adds advertising address<br>
              > >>>> support. I had such patch for my own
              usage, now I polished it a bit<br>
              > >>>> and push it to github:<br>
              > >>>> <br>
              > >>>> -<br>
              > >>>> <a rel="nofollow" target="_blank" href="">https://github.com/miconda/rtpproxy/commit/41f6d9d9084a6fad52a6483a0593</a><br>
              > >>>> d4b25e0de8ca<br>
              > >>>> <br>
              > >>>> <br>
              > >>>> Give it a try, hope I haven't broken
              it with last polishing, if does<br>
              > >>>> not work let me know.<br>
              > >>>> <br>
              > >>>> You should be able to apply it to
              latest rtpproxy stable release. Once<br>
              > >>>> you compile and install, then run
              rtpproxy with:<br>
              > >>>> <br>
              > >>>> <br>
              > >>>> rtpproxy -F -l localip -A publicip 
              -s <a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" href="">udp:localhost:7722</a><br>
              > >>>> <br>
              > >>>> Cheers,<br>
              > >>>> Daniel<br>
              > >>> <br>
              > >>>
              _______________________________________________<br>
              > >>> SIP Express Router (SER) and Kamailio
              (OpenSER) - sr-users mailing list<br>
              > >>> <a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="">sr-users@lists.sip-router.org</a><br>
              > >>> <a rel="nofollow" target="_blank" href="">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
              > >> <br>
              > >>
              _______________________________________________<br>
              > >> SIP Express Router (SER) and Kamailio
              (OpenSER) - sr-users mailing list<br>
              > >> <a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="">sr-users@lists.sip-router.org</a><br>
              > >> <a rel="nofollow" target="_blank" href="">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
              > > <br>
              > > _______________________________________________<br>
              > > SIP Express Router (SER) and Kamailio (OpenSER)
              - sr-users mailing list<br>
              > > <a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="">sr-users@lists.sip-router.org</a><br>
              > > <a rel="nofollow" target="_blank" href="">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="yiv2859334865mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" class="yiv2859334865moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="">sr-users@lists.sip-router.org</a>
<a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" target="_blank" href="">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="yiv2859334865moz-signature">-- 
Daniel-Constantin Mierla - <a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" target="_blank" href="">http://www.asipto.com</a>
<a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" target="_blank" href="">http://twitter.com/#!/miconda</a> - <a rel="nofollow" class="yiv2859334865moz-txt-link-freetext" target="_blank" href="">http://www.linkedin.com/in/miconda</a>
</pre>
  </div>

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