[asterisk-commits] trunk r15379 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 27 16:39:49 MST 2006


Author: oej
Date: Mon Mar 27 17:39:48 2006
New Revision: 15379

URL: http://svn.digium.com/view/asterisk?rev=15379&view=rev
Log:
Issue #6736 - Enable NAT flags for OPTIONs requests (Thanks casper!)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=15379&r1=15378&r2=15379&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Mar 27 17:39:48 2006
@@ -11688,6 +11688,7 @@
 	
 	memcpy(&p->sa, &peer->addr, sizeof(p->sa));
 	memcpy(&p->recv, &peer->addr, sizeof(p->sa));
+	ast_copy_flagss(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