El Tuesday 27 May 2008 09:57:42 Iñaki Baz Castillo escribió:
Try this in onreply_route[2]:
if (status =~ "(180)|(183)|2[0-9][0-9]") { if (isbflagset(BFLAG_NAT_CALLED) || nat_uac_test("1")) { xlog("L_INFO", "--- NAT detected\n"); fix_nated_contact(); } use_media_proxy(); }
Also note that adding "rport" in a response is not valid at all since "rport" is just valid to set the "Via" in a request, so your first two lines in onreply_route[2] are not valid:
onreply_route[2] { add_local_rport(); force_rport();
Try also deleting them.