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!