<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Morning Arsen<div class=""><br class=""></div><div class="">Thanks I’ll take a look at that. Was using RTPProxy just through force of habit :-)</div><div class=""><br class=""></div><div class="">Mark<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 25 Jan 2018, at 09:53, Arsen <<a href="mailto:arsen.semionov@gmail.com" class="">arsen.semionov@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Mark,</div><div class=""><br class=""></div>You can solve this by using rtpengine module, it can rewrite SDP offer / answer and replace media addresses with correct IPs.<div class=""><br class=""></div><div class=""> <a href="https://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer" class="">https://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer</a><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class=""><span style="font-size:12.8px" class="">Arsen Semionov</span><br class=""></div><div class=""><a href="http://www.eurolan.info/" target="_blank" class="">www.eurolan.info</a></div><div class="">cell: +442035198881</div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Thu, Jan 25, 2018 at 11:40 AM, Mark Boyce <span dir="ltr" class=""><<a href="mailto:mark@darkorigins.com" target="_blank" class="">mark@darkorigins.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br class="">
<br class="">
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 class="">
<br class="">
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 class="">
<br class="">
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 class="">
<br class="">
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 class="">
<br class="">
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 class="">
<br class="">
Thanks<br class="">
Mark<br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
Kamailio (SER) - Users Mailing List<br class="">
<a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" class="">https://lists.kamailio.org/<wbr class="">cgi-bin/mailman/listinfo/sr-<wbr class="">users</a><br class="">
</blockquote></div><br class=""></div></div>
_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></blockquote></div><br class=""><div class="">
<div class=""><div style="orphans: 2; widows: 2;" class="">Mark</div><div style="orphans: 2; widows: 2;" class="">-- </div><div style="orphans: 2; widows: 2;" class="">Mark Boyce</div><div style="orphans: 2; widows: 2;" class="">Dark Origins Ltd</div><div style="orphans: 2; widows: 2;" class="">e: <a href="mailto:mark@darkorigins.com" class="">mark@darkorigins.com</a></div><div style="orphans: 2; widows: 2;" class="">t: 0845 0043 043</div><div style="orphans: 2; widows: 2;" class="">f: 0845 0043 044</div></div>
</div>
<br class=""></div></body></html>