if(!search("^Contact:[ ]*\*") &&
nat_uac_test("19"))
{
fix_nated_register();
setbflag(6);
setbflag(7);
}
if(!save("location"))
I would remove the above code and perform just in all cases:
fix_nated_register();
setbflag(6);
setbflag(7);
if(!save("location"))
regards
klaus