]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix overzealous rtp auto adj
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 31 Jul 2008 13:30:41 +0000 (13:30 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 31 Jul 2008 13:30:41 +0000 (13:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9211 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index 67ca10106d823bc70e7714763f0ce517c243d6ef..75d9d245e697ddfbe2b42b7e5b566cd70e161fcd 100644 (file)
@@ -1254,6 +1254,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
                                                                                  "Auto Changing port from %s:%u to %s:%u\n", old_host, old, tx_host,
                                                                                  switch_sockaddr_get_port(rtp_session->from_addr));
                                                switch_rtp_set_remote_address(rtp_session, tx_host, switch_sockaddr_get_port(rtp_session->from_addr), &err);
+                                               switch_clear_flag_locked(rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
                                        }
                                }
                        }