Hello,
have a look at this event route:
https://kamailio.org/docs/modules/5.5.x/modules/topos.html#topos.e.msg_outg…
Cheers,
Henning
--
Henning Westerholt -
https://skalatan.de/blog/
Kamailio services -
https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Wednesday, March 16, 2022 7:28 PM
To: sr-users(a)lists.kamailio.org
Subject: [SR-Users] enable topology hiding on one side or dynamic ip in topoh module
Contact and Via Header
Hello ,
im using kamailio with two interfaces external and internal.
i need a way either to :
* enable topoh hiding only when outgoing interface is external ( mask contact and
Via ip only when ougoing interface is external
* or if it is not possible to enable it only in one direction.i want to know how
to configure dynamic(for example in xavp or avp) ip to put in Contact and Via when topoh
is enabled.
i see that the 'mask_ip' parameter of topoh module is a string. so we can not set
a dynamic value here unfortunately.
Thanks