Reverting previous patch. Ok, let's take this from 1.2 instead... :-)
authorOlle Johansson <oej@edvina.net>
Mon, 27 Mar 2006 23:41:21 +0000 (23:41 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 27 Mar 2006 23:41:21 +0000 (23:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15380 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f4fa8eb..5ad3aff 100644 (file)
@@ -11688,7 +11688,6 @@ 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))