[OpenSIPS-Users] OpenSIPS 1.7.0 Topology Hiding and NAT Traversal

Jeremy Childs jeremyc at ssimicro.com
Tue Sep 13 18:30:56 CEST 2011


I'm having a problem with the dialog module's topology hiding when a UA 
is behind a NAT.

If I call

if (nat_uac_test()) {
     fix_nated_contact();
}
topology_hiding();

The Contact header is rewritten twice - once by fix_nated_contact() and 
again by topology_hiding(). This results in an invalid contact header.

Is there an obvious way I'm missing that could make these two modules 
coexist, or is the best solution to add NAT knowledge to 
dlg_tophiding.c? This seems like a lot of code to duplicate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110913/c4ea6542/attachment.htm>


More information about the Users mailing list