<div dir="auto"><div>Hi Edward,</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">if your source freeswitch didn't use your settings then you should check the sofia profile settings. Imho there are 4 ip settings for each profile (just what I remember whiteout checking it right now) and then your freeswitch will write the correct ips in the messages. </div><div dir="auto"><br></div><div dir="auto">On the other hand if you want to go the Kamailio way you can use different types of logic to identify the traffic. </div><div dir="auto"><br></div><div dir="auto">Like "it's the source ip freeswitch then do that with sdp" and take a look at routes the sdp goes. They are serval modules for manipulate the sdp maybe some from the list point them. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten <br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Edward Romanenco <<a href="mailto:edward@telemessage.com">edward@telemessage.com</a>> schrieb am Sa., 1. Aug. 2020, 10:25:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="#954F72">
<div class="m_-6113023280886992320WordSection1">
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">Hey guys,<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">I am working on a project involving Kamailio dockerezation, which is meant to run alongside Freeswitch and RTPEngine containers, on the basis of a Docker-Compose file which is launched on top of a CentOS 7.7 host system.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">Anyway, I would love to know if there is any way to manipulate / mask the IP addresses that are being appended to a status 183 response for an incoming invite.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">For some reason which I am trying to figure out in parallel, Freeswitch uses the local network bridge subnet instead of the defined external RTP IPs, and I was wondering - Can I manipulate them using Kamailio? I know that Mangler module can do it for outbound calls, but can I do the same for inbound?<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">v=0.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">o=FreeSWITCH 1595974788 1595974789 IN IP4 172.18.0.40.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">s=FreeSWITCH.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">c=IN IP4 172.18.0.40.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">t=0 0.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">m=audio 45878 RTP/AVP 8 101.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">a=rtpmap:8 PCMA/8000.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">a=rtpmap:101 telephone-event/8000.<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">a=fmtp:101 0-16<u></u><u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></pre>
<pre><span style="font-size:12.0pt;font-family:"Calibri",sans-serif;color:black">Edward<u></u><u></u></span></pre>
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:12.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal" dir="RTL"><span dir="LTR" style="font-size:12.0pt"><u></u> <u></u></span></p>
</div>
</div>

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