mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Issue #9802 - Change inuse counter on CANCEL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@66349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10912,6 +10912,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);
|
||||
|
Reference in New Issue
Block a user