[asterisk-commits] jrose: trunk r401159 - in /trunk: ./	res/res_parking.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Thu Oct 17 13:25:37 CDT 2013
    
    
  
Author: jrose
Date: Thu Oct 17 13:25:35 2013
New Revision: 401159
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=401159
Log:
res_parking: Fix bug where reloading immediately wipes new parkpos extensions
(closes issue ASTERISK-22631)
Reported by: Kevin Harwell
........
Merged revisions 401158 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
    trunk/   (props changed)
    trunk/res/res_parking.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/res/res_parking.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_parking.c?view=diff&rev=401159&r1=401158&r2=401159
==============================================================================
--- trunk/res/res_parking.c (original)
+++ trunk/res/res_parking.c Thu Oct 17 13:25:35 2013
@@ -623,6 +623,9 @@
 		 */
 		ast_context_destroy(NULL, lot_cfg->registrar);
 	}
+
+	/* If we come back for a second pass, someone else has this registrar now. */
+	ast_string_field_set(lot_cfg, registrar, "");
 }
 
 static void remove_all_configured_parking_lot_extensions(void)
    
    
More information about the asterisk-commits
mailing list