Hello! I had a similar problem some time ago, when I moved from 2.2 to 2.4
version.
In my case Opensips is acting as a "register proxy", it validates
IP/port from the outside world using permissions module and it maps to a
username/password to a UAS in the internal network. I use it for UAC's that
Yes, and only when topology_hiding() is called later. No t_newtran().
How can one see the fixed Contact in the script? I've tried xlog with $ct,
but that always shows the original one. I know it's being lost (or not)
only by looking at callee_contact from dlg_list. If I can see the updated
one
As I see in your logs, OpenSIPS CP uses the `json` URL path for querying
MI, whereas the default root path is `mi`[1]. Either change the `root`
to `json`, or modify your OpenSIPS CP boxes config to `mi`.
[1] https://opensips.org/docs/modules/3.1.x/mi_http.html#param_root
Best regards,
Răzvan
Hi, Jeff!
So you're claiming that the updated contact is lost even if you call
fix_nated_contact() before topology_hiding(), but only for the second
branch? Are you calling t_newtran() anywhere in your script?
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions