]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Oops here too. I need to stop coding for a while...
authorMark Michelson <mmichelson@digium.com>
Tue, 25 Mar 2008 15:44:01 +0000 (15:44 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 25 Mar 2008 15:44:01 +0000 (15:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index ba8fbd9b2379a963aeb92c240e36d86541a01f5a..ffca4208b26b4fdb4fff911e07d6753191e3f231 100644 (file)
@@ -17288,9 +17288,6 @@ static int handle_request_cancel(struct sip_pvt *p, struct sip_request *req)
                update_call_counter(p, DEC_CALL_LIMIT);
 
        stop_media_flows(p); /* Immediately stop RTP, VRTP and UDPTL as applicable */
-       if (p->owner)
-               ast_queue_hangup(p->owner);
-       else
        if (p->owner)
                ast_queue_hangup(p->owner);
        else