[asterisk-commits] jpeeler: branch 1.6.2 r307227 - /branches/1.6.2/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 9 13:52:17 CST 2011


Author: jpeeler
Date: Wed Feb  9 13:52:12 2011
New Revision: 307227

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307227
Log:
Make sure to set parking dial context for non-default parking lots.

Since parking_con_dial isn't settable, set all parking lots to "park-dial".

(closes issue #17946)
Reported by: bluecrow76
Patches:
      asterisk-1.8.0-beta4-multipark-fixes-2010SEP02.diff uploaded by bluecrow76 (license 270)
      modified by me


Modified:
    branches/1.6.2/main/features.c

Modified: branches/1.6.2/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/features.c?view=diff&rev=307227&r1=307226&r2=307227
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Wed Feb  9 13:52:12 2011
@@ -3999,9 +3999,9 @@
 
 	if (!var) {	/* Default parking lot */
 		ast_copy_string(parkinglot->parking_con, "parkedcalls", sizeof(parkinglot->parking_con));
-		ast_copy_string(parkinglot->parking_con_dial, "park-dial", sizeof(parkinglot->parking_con_dial));
 		ast_copy_string(parkinglot->mohclass, "default", sizeof(parkinglot->mohclass));
 	}
+	ast_copy_string(parkinglot->parking_con_dial, "park-dial", sizeof(parkinglot->parking_con_dial));
 
 	/* Check for errors */
 	if (ast_strlen_zero(parkinglot->parking_con)) {




More information about the asterisk-commits mailing list