[asterisk-commits] jpeeler: trunk r307231 - in /trunk: CHANGES main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 9 14:11:15 CST 2011


Author: jpeeler
Date: Wed Feb  9 14:11:11 2011
New Revision: 307231

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307231
Log:
Allow parkedmusicclass to be settable for non-default parking lots.

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

Modified:
    trunk/CHANGES
    trunk/main/features.c

Modified: trunk/CHANGES
URL: http://svnview.digium.com/svn/asterisk/trunk/CHANGES?view=diff&rev=307231&r1=307230&r2=307231
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Wed Feb  9 14:11:11 2011
@@ -11,6 +11,10 @@
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.8 to Asterisk 1.10 -----------------
 ------------------------------------------------------------------------------
+
+Parking
+-------
+ * parkedmusicclass can now be set for non-default parking lots.
 
 Asterisk Manager Interface
 --------------------------

Modified: trunk/main/features.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/features.c?view=diff&rev=307231&r1=307230&r2=307231
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Wed Feb  9 14:11:11 2011
@@ -4701,6 +4701,8 @@
 			} else if (!strcasecmp(confvar->value, "callee")) {
 				parkinglot->parkedcallrecording = AST_FEATURE_FLAG_BYCALLEE;
 			}
+		} else if (!strcasecmp(confvar->name, "parkedmusicclass")) {
+			ast_copy_string(parkinglot->mohclass, confvar->value, sizeof(parkinglot->mohclass));
 		}
 		confvar = confvar->next;
 	}




More information about the asterisk-commits mailing list