On Wed, Feb 28, 2018 at 04:54:19PM +0530, Cibin Paul wrote:
In my setup, Kamailio acts as a registration server and route the calls to different asterisk boxes. The clients using IPV6 private ip and IPV4 public ip address are rejected by the asterisk server. On printing the contact header, I am getting the private ip (ipv6). Is there a way to change the contact header with public ip in all scenarios. I tried updating the contact header as below and unfortunately not working. Is there a better way to handle the scenario. As of now we don/t have a plan to implement ipv6 network.
Maybe you could take a look at the topoh or topos modules, they rewrite the contact header (and more).