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

vinod mn vinodmn.dbit at gmail.com
Fri Jan 31 07:40:44 CET 2020


Anyone let me know is it possible to modify the public-IP in via to
private-IP.


On Thu, Jan 30, 2020 at 4:41 PM vinod mn <vinodmn.dbit at gmail.com> wrote:

> 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
>


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


More information about the sr-users mailing list