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.
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to