[asterisk-commits] branch 1.2 r15699 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 28 12:07:35 MST 2006


Author: oej
Date: Tue Mar 28 13:07:34 2006
New Revision: 15699

URL: http://svn.digium.com/view/asterisk?rev=15699&view=rev
Log:
Fix breakage of NAT support for peers with qualify=yes.
Thanks Damin for access to your system, sorry folks.

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=15699&r1=15698&r2=15699&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Mar 28 13:07:34 2006
@@ -11434,7 +11434,7 @@
 	}
 	memcpy(&p->sa, &peer->addr, sizeof(p->sa));
 	memcpy(&p->recv, &peer->addr, sizeof(p->sa));
-	ast_copy_flags(peer, &global_flags, SIP_FLAGS_TO_COPY);
+	ast_copy_flags(p, peer, SIP_FLAGS_TO_COPY);
 
 	/* Send OPTIONs to peer's fullcontact */
 	if (!ast_strlen_zero(peer->fullcontact)) {



More information about the asterisk-commits mailing list