Fix breakage of NAT support for peers with qualify=yes.

Thanks Damin for access to your system, sorry folks.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Olle Johansson 20 years ago
parent 420f3d12aa
commit 35ea822831

@ -11434,7 +11434,7 @@ static int sip_poke_peer(struct sip_peer *peer)
} }
memcpy(&p->sa, &peer->addr, sizeof(p->sa)); memcpy(&p->sa, &peer->addr, sizeof(p->sa));
memcpy(&p->recv, &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 */ /* Send OPTIONs to peer's fullcontact */
if (!ast_strlen_zero(peer->fullcontact)) { if (!ast_strlen_zero(peer->fullcontact)) {

Loading…
Cancel
Save