Morning Arsen
Thanks I’ll take a look at that. Was using RTPProxy just through force of habit :-)
Mark
On 25 Jan 2018, at 09:53, Arsen arsen.semionov@gmail.com wrote:
Hi Mark,
You can solve this by using rtpengine module, it can rewrite SDP offer / answer and replace media addresses with correct IPs.
https://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.f.r... https://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer
Arsen Semionov www.eurolan.info http://www.eurolan.info/ cell: +442035198881
On Thu, Jan 25, 2018 at 11:40 AM, Mark Boyce <mark@darkorigins.com mailto:mark@darkorigins.com> wrote: Hi all
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.
Following the real-time tutorial I have clients registering with Kamailio, Kamailio registering on clients behalf with asterisk as well as invites going through.
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.
After a bit of searching all I can find is people trying to get it working and failing, or putting asterisk on public IP.
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 :-)
Thanks Mark
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Mark