From 42f534fa6ac5de9e21e54fdd95d12b3d060e537d Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 12 Oct 2010 11:41:28 -0500 Subject: [PATCH] FS-2773 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 285dc8ae3a..81cd534834 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -1471,10 +1471,12 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h } } - if (!is_nat && sip && sip->sip_via && sip->sip_via->v_port && - atoi(sip->sip_via->v_port) == 5060 && network_port != 5060 ) { - is_nat = "via port"; - } + /* FS-2773: This causes issues with Cisco phones. + * if (!is_nat && sip && sip->sip_via && sip->sip_via->v_port && + * atoi(sip->sip_via->v_port) == 5060 && network_port != 5060 ) { + * is_nat = "via port"; + * } + */ if (!is_nat && profile->nat_acl_count) { uint32_t x = 0;