topoh is a module that provides topology hiding by masking IP addresses in Via, Contact and Record-Route headers. Making is done by replacing the original ip with mask ip and the original ip is hidden in parameters after it is ecrypted, so it can be decrypted on the other way of the traffic.
If you disable the module, then the IP addresses will be kept with original values, the calls and sip routing will work the same.
Cheers, Daniel
On 06/10/16 11:50, Ginti Saurabh wrote:
Danial, i have gone thorugh the URl, but a little bit confuse that what exactly this module does?
If i commented out thease lines then what will be the effect or will it effect the system?
On Thu, Oct 6, 2016 at 3:18 PM, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> wrote:
Hello, On 06/10/16 11:45, Ginti Saurabh wrote:
Hi Danial, below is the line. modparam("topoh", "mask_ip", "192.168.0.1") loadmodule "topoh.so"
if you comment the lines above, then the topoh module won't be loaded and the IP addresses in routing headers will not be masked anymore. To understand more about topoh module, see its readme: - https://www.kamailio.org/docs/modules/stable/modules/topoh.html <https://www.kamailio.org/docs/modules/stable/modules/topoh.html> Cheers, Daniel
On Thu, Oct 6, 2016 at 3:03 PM, Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>> wrote: Hello, On 05/10/16 13:30, Ginti Saurabh wrote:
Hi, Can you let me know what is TOPOH module do in kamailio? what does it do? and if commented out this line then will it effect the system?
what line and what system are you referring to? Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com