<div dir="ltr"><div><div><div>Hi,<br><br></div>I recently looked into this and I don't believe it's possible.<br><br></div>As a work around I used split DNS and an FQDN in the contact.<br><br></div><div>Thanks</div><div>Matthew<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 18, 2022 at 8:44 AM Patrick Karton <<a href="mailto:patrickarton@hotmail.com">patrickarton@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div>
<div><br>
</div>
<div>Caller <--> (internal_IP) Kamailio (external_IP) <---> Callee</div>
<div><br>
</div>
<div><br>
</div>
<div>I have this set up of kamailio with 2 interfaces.</div>
<div><br>
</div>
<div>i use topos module for topology hiding and what i want to do is to </div>
<div>send  external_IP in Contact Header of request relayed to Callee and internal_IP</div>
<div>in Contact Header of response relayed to Caller. </div>
<div><br>
</div>
<div>i noticed that : </div>
<div>when i use topos module with contact_mode to 0 </div>
<div>all Record-Route and Caller Via Header are removed and thats great.</div>
<div>but i dont find way to put 2 different  ip addresses in Request and Response Contact Header?</div>
<div><br>
</div>
<div>when i use contact_mode to 2 Record-Route and Caller Via Header are not anymore removed thats bad for
</div>
<div>topology hiding. And its seems we can not use $xavu(_tps_=>contact_host)  parameter of module
</div>
<div>to put 2 different  ip addresses in Request and Response Contact Header.</div>
<div><br>
</div>
<div><br>
</div>
<div>What i want is : </div>
<div><br>
</div>
<div>- remove all Record-Route and Caller Via Header for request like when contact_mode to 0</div>
<div><br>
</div>
<div>- and put 2 different  ip addresses in Request and Response Contact Header</div>
<div><br>
</div>
<div>is it possible to achieve it ? </div>
<div><br>
</div>
Thanks.<br>
</div>
</div>
</div>

__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>