<div dir="ltr">Hi ,<div>I have a cloud server, when I make call from a sip phone (registered with kamailio),</div><div>in the INVITE header I am seeing the <span class="gmail-il">via</span> header with public IP, is there any way that I can <span class="gmail-il">modify</span> <span class="gmail-il">via</span> header to send only the private IP.</div><div>Please let me know, is it possible to replace.<br></div><div><br></div><div><div><img src="cid:ii_k60ekz1n0" alt="image.png" width="472" height="128" style="margin-right: 0px;"><br></div></div><div>the via headers that kamailio is sending to sip-gateway is </div><div>sip-phone ip:192.168.113.112</div><div><br></div><div>Via: SIP/2.0/UDP <b><a href="http://221.20.20.12:5060">221.20.20.12:5060</a></b>;branch=z9hG4bKaa6a.14c65f5675077ae7b0df70b02516979b.0<br>Via: SIP/2.0/UDP 

192.168.113.112 :50386;received=

192.168.113.112

;branch=z9hG4bK-d87543-550b984016109617-1--d87543-;rport=50386<br></div><div><br></div><div>how to modify the first via header to have private-IP instead of public-IP..</div><div><br></div><div>I tried all the replace functions but it is not working.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks and regards <div>Vinod.M.N</div></div></div></div>