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)
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4164
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4164(a)github.com>
Module: kamailio
Branch: master
Commit: 08916aa91fae8f09c97f3e99585bd914673537cd
URL: https://github.com/kamailio/kamailio/commit/08916aa91fae8f09c97f3e99585bd91…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2025-05-02T04:16:10+02:00
modules: readme files regenerated - outbound ... [skip ci]
---
Modified: src/modules/outbound/README
---
Diff: https://github.com/kamailio/kamailio/commit/08916aa91fae8f09c97f3e99585bd91…
Patch: https://github.com/kamailio/kamailio/commit/08916aa91fae8f09c97f3e99585bd91…
---
diff --git a/src/modules/outbound/README b/src/modules/outbound/README
index af2f86cb3c2..899cf9008a2 100644
--- a/src/modules/outbound/README
+++ b/src/modules/outbound/README
@@ -71,17 +71,19 @@ Chapter 1. Admin Guide
1.1. Conditions
- The module analyzes SIP requests so that users (e.g. path, rr) can
- determine whether to apply RFC5626 processing. This section applies if
- outbound processing is not forced by the force_outbound_flag flag.
+ The module analyses SIP requests so that other module (e.g. path, rr)
+ can determine whether to apply RFC5626 processing. This section applies
+ if outbound processing is not forced by the force_outbound_flag flag,
+ or disabled with force_no_outbound_flag.
REGISTER request:
* single Via: header (first hop) and Contact: header has ;reg-id
parameter
- Non-REGISTER requests:
+ Non-REGISTER requests if either of the following conditions is true:
* top Route header URI is myself and has ;ob parameter
- * single Via: header and Contact: header has ;ob parameter
+ * Supported: outbound... header, single Via: header, and Contact:
+ header has ;ob parameter
1.2. Edge Proxy Keep-Alives (STUN)
Module: kamailio
Branch: master
Commit: 1a48c1d18e3c6fa21394eb2075a1b348757c47a0
URL: https://github.com/kamailio/kamailio/commit/1a48c1d18e3c6fa21394eb2075a1b34…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2025-05-02T10:12:42+08:00
outbound: docs - more tweaks
---
Modified: src/modules/outbound/doc/outbound_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/1a48c1d18e3c6fa21394eb2075a1b34…
Patch: https://github.com/kamailio/kamailio/commit/1a48c1d18e3c6fa21394eb2075a1b34…
---
diff --git a/src/modules/outbound/doc/outbound_admin.xml b/src/modules/outbound/doc/outbound_admin.xml
index e2f3e3f468f..55a54ed434f 100644
--- a/src/modules/outbound/doc/outbound_admin.xml
+++ b/src/modules/outbound/doc/outbound_admin.xml
@@ -22,10 +22,11 @@
<section>
<title>Conditions</title>
- <para>The module analyzes SIP requests so that users (e.g. path, rr)
+ <para>The module analyses SIP requests so that other module (e.g. path, rr)
can determine whether to apply RFC5626 processing.
This section applies if outbound processing
- is not forced by the <code>force_outbound_flag</code> flag.</para>
+ is not forced by the <code>force_outbound_flag</code> flag, or disabled with
+ <code>force_no_outbound_flag</code>.</para>
<para><code>REGISTER</code> request:
<itemizedlist>
<listitem>
@@ -33,13 +34,14 @@
</listitem>
</itemizedlist>
</para>
- <para>Non-<code>REGISTER</code> requests:
+ <para>Non-<code>REGISTER</code> requests if either of the following conditions is true:
<itemizedlist>
<listitem>
<para>top Route header URI is myself and has <code>;ob</code> parameter</para>
</listitem>
<listitem>
- <para>single <code>Via:</code> header and <code>Contact:</code> header has <code>;ob</code> parameter</para>
+ <para><code>Supported: outbound...</code> header, single <code>Via:</code> header,
+ and <code>Contact:</code> header has <code>;ob</code> parameter</para>
</listitem>
</itemizedlist>
</para>