Fr-Soltanzadeh created an issue (kamailio/kamailio#4164)
### Description In a IMS lab using Kamailio PCSCF, ICSCF and SCSCF default configs, I have used TOPOH module in PCSCF for topology hiding. Topoh config is as follows: ``` modparam("topoh", "mask_key", "my-key") modparam("topoh", "mask_ip", "127.0.0.2") modparam("topoh", "sanity_checks", 1) ``` As shown in attached traffic, SCSCF IP is not hided in 180 ringing and 200ok messages to the caller. In invite, ack and bye messages hiding is performed well.
[topoh.zip](https://github.com/user-attachments/files/19086420/topoh.zip)
[topoh.zip](https://github.com/user-attachments/files/19086428/topoh.zip)
[topoh.zip](https://github.com/user-attachments/files/19086431/topoh.zip)
<!-- Explain what you did, what you expected to happen, and what actually happened. -->
### Troubleshooting
#### Reproduction
<!-- If the issue can be reproduced, describe how it can be done. -->
#### Debugging Data
<!-- If you got a core dump, use gdb to extract troubleshooting data - full backtrace, local variables and the list of the code at the issue location.
gdb /path/to/kamailio /path/to/corefile bt full info locals list
If you are familiar with gdb, feel free to attach more of what you consider to be relevant. -->
``` (paste your debugging data here) ```
#### Log Messages
<!-- Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site). -->
``` (paste your log messages here) ```
#### SIP Traffic
<!-- If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site). -->
``` (paste your sip traffic here) ```
### Possible Solutions
<!-- If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix. -->
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
``` (paste your output here) ```
* **Operating System**:
<!-- Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...; Kernel details (output of `lsb_release -a` and `uname -a`) -->
``` (paste your output here) ```
Hi Farzaneh, You could use topos module instead of topoh. As alternative way, SEMS works right just for topology hiding. With best regards. Mojtaba
On Wed, Mar 5, 2025, 13:19 Farzaneh Soltanzadeh via sr-dev < sr-dev@lists.kamailio.org> wrote:
Description
In a IMS lab using Kamailio PCSCF, ICSCF and SCSCF default configs, I have used TOPOH module in PCSCF for topology hiding. Topoh config is as follows:
modparam("topoh", "mask_key", "my-key") modparam("topoh", "mask_ip", "127.0.0.2") modparam("topoh", "sanity_checks", 1)
As shown in attached traffic, SCSCF IP is not hided in 180 ringing and 200ok messages to the caller. In invite, ack and bye messages hiding is performed well.
topoh.zip https://github.com/user-attachments/files/19086420/topoh.zip
topoh.zip https://github.com/user-attachments/files/19086428/topoh.zip
topoh.zip https://github.com/user-attachments/files/19086431/topoh.zip Troubleshooting Reproduction Debugging Data
(paste your debugging data here)
Log Messages
(paste your log messages here)
SIP Traffic
(paste your sip traffic here)
Possible Solutions Additional Information
- *Kamailio Version* - output of kamailio -v
(paste your output here)
- *Operating System*:
(paste your output here)
— Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/4164, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO7UZLDN2BBHKCYLBAS4RD2S3BM5AVCNFSM6AAAAABYLT273OVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4TMNZZG43DENI . You are receiving this because you are subscribed to this thread.Message ID: kamailio/kamailio/issues/4164@github.com [image: Fr-Soltanzadeh]*Fr-Soltanzadeh* created an issue (kamailio/kamailio#4164) https://github.com/kamailio/kamailio/issues/4164 Description
In a IMS lab using Kamailio PCSCF, ICSCF and SCSCF default configs, I have used TOPOH module in PCSCF for topology hiding. Topoh config is as follows:
modparam("topoh", "mask_key", "my-key") modparam("topoh", "mask_ip", "127.0.0.2") modparam("topoh", "sanity_checks", 1)
As shown in attached traffic, SCSCF IP is not hided in 180 ringing and 200ok messages to the caller. In invite, ack and bye messages hiding is performed well.
topoh.zip https://github.com/user-attachments/files/19086420/topoh.zip
topoh.zip https://github.com/user-attachments/files/19086428/topoh.zip
topoh.zip https://github.com/user-attachments/files/19086431/topoh.zip Troubleshooting Reproduction Debugging Data
(paste your debugging data here)
Log Messages
(paste your log messages here)
SIP Traffic
(paste your sip traffic here)
Possible Solutions Additional Information
- *Kamailio Version* - output of kamailio -v
(paste your output here)
- *Operating System*:
(paste your output here)
— Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/4164, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO7UZLDN2BBHKCYLBAS4RD2S3BM5AVCNFSM6AAAAABYLT273OVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4TMNZZG43DENI . You are receiving this because you are subscribed to this thread.Message ID: kamailio/kamailio/issues/4164@github.com _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!