From: Olle Johansson Date: Tue, 31 Oct 2006 09:03:37 +0000 (+0000) Subject: On the other hand, we already copy the NAT flags... Reverting. X-Git-Tag: 1.2.14~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2405e775b1de6f44bacec3b4aca92ec10cdadced;p=thirdparty%2Fasterisk.git On the other hand, we already copy the NAT flags... Reverting. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46598 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7ec0d31986..08e3408666 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6578,9 +6578,6 @@ static int register_verify(struct sip_pvt *p, struct sockaddr_in *sin, struct si if (!(res = check_auth(p, req, p->randdata, sizeof(p->randdata), peer->name, peer->secret, peer->md5secret, SIP_REGISTER, uri, 0, ignore))) { sip_cancel_destroy(p); - /* Make sure we copy flags, so that NAT settings apply */ - ast_copy_flags(p, peer, SIP_FLAGS_TO_COPY); - switch (parse_register_contact(p, peer, req)) { case PARSE_REGISTER_FAILED: ast_log(LOG_WARNING, "Failed to parse contact info\n");