<div dir="ltr">Thanks Tomi,<div><br><div>Hope that helps OP as well. Regarding your question: "<span style="font-size:12.8px"><i>when one should use rtpengine over rtpproxy ?</i></span><span style="font-size:12.8px">" I believe its a matter of choice when it comes to simpler RTP relaying, but once I started working with WebRTC clients trying to reach Asterisks or FreeSWITCH behind the Kamailio node RTPEngine played well since it has the capability. I'd recommend comparing the functions of both on their respective github pages. Mediaproxy on the other hand doesn't support this Inter-AF bridging at all.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">In one particular deployment just like the one discussed over here I tried RTPengine and it worked but client reported distortion and breaks in voice. I tried few things but then reverted to rtpproxy and everything went normal. I switched between the two few times to observe the same issue.  I'm sure I didn't tweak RTPengine, iptables, and OS properly for RTPengine in that case but, just for sake of comparison, replacing with rtpproxy brought things to expected behavior. </span><span style="font-size:12.8px">Similarly a different deployment using RTPengine with WebRTC clients connecting with Asterisks worked 100% perfectly w/o a hiccup.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Regards,</span></div><div><span style="font-size:12.8px">Sammy</span></div><div><br></div><div><br></div><div><span style="font-size:12.8px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 12:50 PM, Tomi Hakkarainen <span dir="ltr"><<a href="mailto:tpaivaa@gmail.com" target="_blank">tpaivaa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi,<div><br></div><div>I have similar setup working.</div><div>I followed these guides : </div><div><a href="https://saevolgo.blogspot.fi/2013/08/rtpproxy-revisited-kamailio-40.html" target="_blank">https://saevolgo.blogspot.fi/<wbr>2013/08/rtpproxy-revisited-<wbr>kamailio-40.html</a><br><div><br></div><div>Maybe you can find those also useful, and if you need more help just let us know…</div><div><br></div><div>I also wonder when one should use rtpengine over rtpproxy ?</div><div><br></div><div>BR,</div><div>Tomi</div><div><div class="h5"><div><br><blockquote type="cite"><div>On 26 Jan 2018, at 12.47, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:</div><br class="m_6772652328346116849Apple-interchange-newline"><div>
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><p>To clarify and avoid misleading, rtpproxy should be able to do
      the same as rtpengine for this case<br>
    </p>
    Both modules allow to set the public IP address, by providing it as
    the second parameter to rtp relay manage function. Also, the
    applications themselves have parameters to specify the address to
    advertise.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="m_6772652328346116849moz-cite-prefix">On 25.01.18 11:00, Mark Boyce wrote:<br>
    </div>
    <blockquote type="cite">
      
      Morning Arsen
      <div><br>
      </div>
      <div>Thanks I’ll take a look at that.  Was using RTPProxy
        just through force of habit :-)</div>
      <div><br>
      </div>
      <div>Mark<br>
        <div><br>
          <blockquote type="cite">
            <div>On 25 Jan 2018, at 09:53, Arsen <<a href="mailto:arsen.semionov@gmail.com" target="_blank">arsen.semionov@gmail.com</a>>
              wrote:</div>
            <br class="m_6772652328346116849Apple-interchange-newline">
            <div>
              <div dir="ltr">
                <div>Hi Mark,</div>
                <div><br>
                </div>
                You can solve this by using rtpengine module, it can
                rewrite SDP offer / answer and replace media addresses
                with correct IPs.
                <div><br>
                </div>
                <div> <a href="https://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer" target="_blank">https://kamailio.org/docs/<wbr>modules/5.0.x/modules/<wbr>rtpengine.html#rtpengine.f.<wbr>rtpengine_offer</a><br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div class="gmail_extra"><br clear="all">
                  <div>
                    <div class="m_6772652328346116849gmail_signature" data-smartmail="gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div><br>
                            </div>
                            <div><span style="font-size:12.8px">Arsen Semionov</span><br>
                            </div>
                            <div><a href="http://www.eurolan.info/" target="_blank">www.eurolan.info</a></div>
                            <div>cell: <a href="tel:+44%2020%203519%208881" value="+442035198881" target="_blank">+442035198881</a></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <br>
                  <div class="gmail_quote">On Thu, Jan 25, 2018 at 11:40
                    AM, Mark Boyce <span dir="ltr"><<a href="mailto:mark@darkorigins.com" target="_blank">mark@darkorigins.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
                      all<br>
                      <br>
                      I’m trying to create a relatively simple setup
                      with Kamailio dual homed on public/private ip and
                      asterisk on private ip only.  The idea is load
                      balance / fail over asterisk boxes.<br>
                      <br>
                      Following the real-time tutorial I have clients
                      registering with Kamailio, Kamailio registering on
                      clients behalf with asterisk as well as invites
                      going through.<br>
                      <br>
                      However what I’m seeing is that when an invite
                      occurs asterisk offers media on its private ip, as
                      it would. However this is making its way through
                      Kamailio all the way to the client.<br>
                      <br>
                      After a bit of searching all I can find is people
                      trying to get it working and failing, or putting
                      asterisk on public IP.<br>
                      <br>
                      So questions - am I doing this completely the
                      wrong way? Should Kamailio alter the media ip of
                      asterisk on the way through or do I need to do
                      that by hand?  Surely someone somewhere has a
                      write up on this already :-)<br>
                      <br>
                      Thanks<br>
                      Mark<br>
                      <br>
                      ______________________________<wbr>_________________<br>
                      Kamailio (SER) - Users Mailing List<br>
                      <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
                      <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
              ______________________________<wbr>_________________<br>
              Kamailio (SER) - Users Mailing List<br>
              <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a class="m_6772652328346116849moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
            </div>
          </blockquote>
        </div>
        <br>
        <div>
          <div>
            <div>Mark</div>
            <div>-- </div>
            <div>Mark Boyce</div>
            <div>Dark Origins
              Ltd</div>
            <div>e: <a href="mailto:mark@darkorigins.com" target="_blank">mark@darkorigins.com</a></div>
            <div>t: 0845 0043
              043</div>
            <div>f: 0845 0043
              044</div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="m_6772652328346116849mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_6772652328346116849moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_6772652328346116849moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
    </blockquote>
    <br>
    <pre class="m_6772652328346116849moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_6772652328346116849moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_6772652328346116849moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="m_6772652328346116849moz-txt-link-abbreviated" href="http://www.asipto.com/" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_6772652328346116849moz-txt-link-abbreviated" href="http://www.kamailioworld.com/" target="_blank">www.kamailioworld.com</a></pre>
  </div>

______________________________<wbr>_________________<br>Kamailio (SER) - Users Mailing List<br><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br></div></blockquote></div><br></div></div></div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>