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 ba8fbd9..ffca420 100644 (file)
@@ -17291,9 +17291,6 @@ static int handle_request_cancel(struct sip_pvt *p, struct sip_request *req)
        if (p->owner)
                ast_queue_hangup(p->owner);
        else
-       if (p->owner)
-               ast_queue_hangup(p->owner);
-       else
                sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
        if (p->initreq.len > 0) {
                transmit_response_reliable(p, "487 Request Terminated", &p->initreq);