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
1.2
Olle Johansson 18 years ago
parent 2cb2558eb1
commit c4e7d9fef5

@ -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);

Loading…
Cancel
Save