<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body 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>
</body>
</html>