[svn-commits] mmichelson: trunk r162266 - in /trunk: ./ main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 9 14:30:08 CST 2008


Author: mmichelson
Date: Tue Dec  9 14:30:07 2008
New Revision: 162266

URL: http://svn.digium.com/view/asterisk?view=rev&rev=162266
Log:
Merged revisions 162265 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162265 | mmichelson | 2008-12-09 14:28:44 -0600 (Tue, 09 Dec 2008) | 6 lines

If we fail to start a thread for the pbx to run in, we need to
be sure to decrease the number of active calls on the system.

This fix may relate to ABE-1713, but it is not certain yet.


........

Modified:
    trunk/   (props changed)
    trunk/main/pbx.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=162266&r1=162265&r2=162266
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Tue Dec  9 14:30:07 2008
@@ -4481,6 +4481,7 @@
 	/* Start a new thread, and get something handling this channel. */
 	if (ast_pthread_create_detached(&t, NULL, pbx_thread, c)) {
 		ast_log(LOG_WARNING, "Failed to create new channel thread\n");
+		decrease_call_count();
 		return AST_PBX_FAILED;
 	}
 




More information about the svn-commits mailing list