[asterisk-commits] branch 1.2 r19345 -
/branches/1.2/pbx/pbx_config.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Apr 11 14:14:43 MST 2006
Author: kpfleming
Date: Tue Apr 11 16:14:42 2006
New Revision: 19345
URL: http://svn.digium.com/view/asterisk?rev=19345&view=rev
Log:
don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047)
Modified:
branches/1.2/pbx/pbx_config.c
Modified: branches/1.2/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx/pbx_config.c?rev=19345&r1=19344&r2=19345&view=diff
==============================================================================
--- branches/1.2/pbx/pbx_config.c (original)
+++ branches/1.2/pbx/pbx_config.c Tue Apr 11 16:14:42 2006
@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 1999 - 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2006, Digium, Inc.
*
* Mark Spencer <markster at digium.com>
*
@@ -1808,7 +1808,6 @@
int reload(void)
{
- ast_context_destroy(NULL, registrar);
if (clearglobalvars_config)
pbx_builtin_clear_globals();
pbx_load_module();
More information about the asterisk-commits
mailing list