[svn-commits] oej: branch 1.2 r46598 - /branches/1.2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Oct 31 02:03:38 MST 2006


Author: oej
Date: Tue Oct 31 03:03:37 2006
New Revision: 46598

URL: http://svn.digium.com/view/asterisk?rev=46598&view=rev
Log:
On the other hand, we already copy the NAT flags... Reverting.

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=46598&r1=46597&r2=46598&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Oct 31 03:03:37 2006
@@ -6577,9 +6577,6 @@
 			transmit_response(p, "100 Trying", req);
 			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:



More information about the svn-commits mailing list