From: Olle Johansson Date: Mon, 27 Mar 2006 23:39:48 +0000 (+0000) Subject: Issue #6736 - Enable NAT flags for OPTIONs requests (Thanks casper!) X-Git-Tag: 1.4.0-beta1~2310 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4c8021b7dcf1eab354c3c263c1d8bdcd46c93d7;p=thirdparty%2Fasterisk.git Issue #6736 - Enable NAT flags for OPTIONs requests (Thanks casper!) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15379 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 5ad3affedf..f4fa8eb145 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11688,6 +11688,7 @@ static int sip_poke_peer(struct sip_peer *peer) 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))