From 8f47f403fd78a6d3084360cb571fbec1deacafa9 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 20 Jun 2014 10:23:02 -0500 Subject: [PATCH] FS-6612: Don't use rport in tcp or tls --- src/mod/endpoints/mod_sofia/sofia.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 85e29de7cb..82c7e4f8ba 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2714,6 +2714,8 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void TAG_IF( ! sofia_test_pflag(profile, PFLAG_TLS) || ! profile->tls_only, NUTAG_URL(profile->bindurl)), NTATAG_USER_VIA(1), TPTAG_PONG2PING(1), + NTATAG_TCP_RPORT(0), + NTATAG_TLS_RPORT(0), NUTAG_RETRY_AFTER_ENABLE(0), TAG_IF(!strchr(profile->sipip, ':'), SOATAG_AF(SOA_AF_IP4_ONLY)),