]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge Script <automerge@asterisk.org>
Tue, 29 May 2007 08:10:24 +0000 (08:10 +0000)
committerAutomerge Script <automerge@asterisk.org>
Tue, 29 May 2007 08:10:24 +0000 (08:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@66362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 8ebb1e914dfe2f3ca3249773224644a0a52b8b50..f78d585830013ed7b7dd5d153fea79382acec337 100644 (file)
@@ -11022,6 +11022,10 @@ static int handle_request_cancel(struct sip_pvt *p, struct sip_request *req, int
                
        check_via(p, req);
        ast_set_flag(p, SIP_ALREADYGONE);       
+
+       if (ast_test_flag(p, SIP_INC_COUNT)) 
+               update_call_counter(p, DEC_CALL_LIMIT);
+
        if (p->rtp) {
                /* Immediately stop RTP */
                ast_rtp_stop(p->rtp);