[asterisk-commits] oej: branch 1.6.0 r127792 - in /branches/1.6.0: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 3 11:50:44 CDT 2008


Author: oej
Date: Thu Jul  3 11:50:43 2008
New Revision: 127792

URL: http://svn.digium.com/view/asterisk?view=rev&rev=127792
Log:
Merged revisions 127791 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r127791 | oej | 2008-07-03 18:48:23 +0200 (Tor, 03 Jul 2008) | 5 lines

Make sure we stop session timers as soon as we start hanging up an active call.

May fix issue 12919.


........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_sip.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=127792&r1=127791&r2=127792
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Thu Jul  3 11:50:43 2008
@@ -4822,6 +4822,10 @@
 				p->invitestate = INV_TERMINATED;
 			}
 		} else {	/* Call is in UP state, send BYE */
+			if (p->stimer->st_active == TRUE) {
+				stop_session_timer(p);
+			}
+
 			if (!p->pendinginvite) {
 				char *audioqos = "";
 				char *videoqos = "";




More information about the asterisk-commits mailing list