]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6612: Don't use rport in tcp or tls
authorBrian West <brian@freeswitch.org>
Fri, 20 Jun 2014 15:23:02 +0000 (10:23 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 20 Jun 2014 15:23:05 +0000 (10:23 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 85e29de7cb3a4c8c1feb5df693ef7f2d87f0ff6e..82c7e4f8ba30b087b2ec95ae8f6bc262cfb0e8eb 100644 (file)
@@ -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)),