Hello,

You can put any IP for Contact in topoh module private or public.


The only issue is that most of the time you dont know Always what is the right IP you need to put there and is even worst if your kamailio listens on More than 2 Ips.


Topoh parameter for Contact IP is a static one.so you can not change it dynamically.


If your kamailio uses one IP address and you know it from start it will not change you Can put it directly in topoh parameter for Contact IP.


But overall sip compliant component must Always follow Route ip before contact IP.

Le 26 janv. 2023 15:27, Benoit Panizzon <benoit.panizzon@imp.ch> a écrit :

Hi

I'm trying to work around Route-Header and Via Issues with the two
topology hiding modules topoh and topos and trying to figure out, which
one works better for our environment.

My conclusion so far:

topos creates very clean header, but needs a database or redis. I'm
always reluctant in adding more components which could fail or cause
load.

topoh also works, but it worries me a bit that according to the manual:
https://www.kamailio.org/docs/modules/devel/modules/topoh.html#topoh.p.mask_ip
a private IP is used to mask the contact header.

I have come across a CPE which, as far as I see, is misbehaving by
ALWAYS sending a PRACK to the Hostname or IP found in the Contact
header, and ignoring Route and Via Header.

So why using a private IP as 'mask' and not the IP or Hostname of the
actual kamailio instance?

Mit freundlichen Grüssen

-Benoît Panizzon-
--
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: