Hi Mark, try this: if (nat_uac_test("123")) { if (is_method("REGISTER")) { fix_nated_register(); } else { fix_nated_contact(); } } ----- --- Alexey Vasilyev -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html