[SR-Users] modifying via header from public IP to private IP

vinod mn vinodmn.dbit at gmail.com
Thu Jan 30 12:11:25 CET 2020


Thank's david

in my kamailio configuration I am using *listen=udp:192.168.131.69:5060
<http://192.168.131.69:5060/> advertise 221.20.20.12:5060
<http://221.20.20.12:5060/>* (as mentioned by you)
and when the kamailio sends an invite to sip-gateway I am seeing this
sip-gateway ip is  *192.168.132.67 *   and this gateway don't have any
public-ip assigned ..

Via: *SIP/2.0/UDP 221.20.20.12:5060 <http://221.20.20.12:5060/>;*
branch=z9hG4bKaa6a.14c65f5675077ae7b0df70b02516979b.0
Via: SIP/2.0/UDP 192.168.113.112 :50386;received= 192.168.113.112
;branch=z9hG4bK-d87543-550b984016109617-1--d87543-;rport=50386

I want  private ip instead of public ip in the first via

-- 
Thanks and regards
Vinod.M.N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200130/a60dc8a5/attachment.html>


More information about the sr-users mailing list