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

Daniel Tryba d.tryba at pocos.nl
Mon Apr 8 17:39:41 CEST 2019


On Mon, Apr 08, 2019 at 05:40:30PM +0530, vinod mn wrote:
> I have a cloud server, when I make call from a sip phone (registered with
> kamailio),
> in the INVITE header I am seeing the via header with public IP, is there
> any way that I can modify via header to send only the private IP.
> The calls are landing on another sip gateway, they will allow only the
> private IP.
> Please let me know, is it possible to replace.

Alex responded assuming you are talking about the UAC via headers. I
read this a from kamailio to the 3rd party sip server, in that case you
might want to look at the topos/topoh modules.




More information about the sr-users mailing list