[asterisk-commits] file: branch 1.6.2 r218300 - in /branches/1.6.2: ./ main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 14 13:18:06 CDT 2009


Author: file
Date: Mon Sep 14 13:18:02 2009
New Revision: 218300

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=218300
Log:
Merged revisions 218295 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218295 | file | 2009-09-14 13:16:39 -0500 (Mon, 14 Sep 2009) | 2 lines
  
  Do not attempt to add a parking extension if an error occurred while reading the configuration.
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/features.c

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

Modified: branches/1.6.2/main/features.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/main/features.c?view=diff&rev=218300&r1=218299&r2=218300
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Mon Sep 14 13:18:02 2009
@@ -3596,7 +3596,7 @@
 	}
 
 	/* Add a parking extension into the context */
-	if (!oldparkinglot) {
+	if (!error && !oldparkinglot) {
 		if (!ast_strlen_zero(ast_parking_ext())) {
 			if (ast_add_extension2(con, 1, ast_parking_ext(), 1, NULL, NULL, parkcall, strdup(""), ast_free_ptr, registrar) == -1)
 				error = 1;




More information about the asterisk-commits mailing list