]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't destroy dialog for unexpected REFER response...
authorOlle Johansson <oej@edvina.net>
Mon, 16 Oct 2006 13:00:07 +0000 (13:00 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 16 Oct 2006 13:00:07 +0000 (13:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45196 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 62e5d352920bc59659b100cb8d35edf6339aac65..286269751647779c87d0dcb0a260190b70ae22dd 100644 (file)
@@ -11548,10 +11548,8 @@ static void handle_response_refer(struct sip_pvt *p, int resp, char *rest, struc
        char *auth2 = "Proxy-Authorization";
 
        /* If no refer structure exists, then do nothing */
-       if (!p->refer) {
-               ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
+       if (!p->refer)
                return;
-       }
 
        switch (resp) {
        case 202:   /* Transfer accepted */