Merged revisions 66349 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r66349 | oej | 2007-05-29 09:53:14 +0200 (Tue, 29 May 2007) | 2 lines

Issue #9802 - Change inuse counter on CANCEL

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2007-05-29 09:41:40 +00:00
parent 3a5a649415
commit bab6473879

View File

@@ -14196,6 +14196,10 @@ static int handle_request_cancel(struct sip_pvt *p, struct sip_request *req)
ast_log(LOG_DEBUG, "Got CANCEL on an answered call. Ignoring... \n");
return 0;
}
if (ast_test_flag(&p->flags[0], SIP_INC_COUNT))
update_call_counter(p, DEC_CALL_LIMIT);
stop_media_flows(p); /* Immediately stop RTP, VRTP and UDPTL as applicable */
if (p->owner)