[svn-commits] oej: branch 1.2 r66349 - /branches/1.2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue May 29 00:53:15 MST 2007


Author: oej
Date: Tue May 29 02:53:14 2007
New Revision: 66349

URL: http://svn.digium.com/view/asterisk?view=rev&rev=66349
Log:
Issue #9802 - Change inuse counter on CANCEL

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=66349&r1=66348&r2=66349
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue May 29 02:53:14 2007
@@ -10912,6 +10912,10 @@
 		
 	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);



More information about the svn-commits mailing list