summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--main/features.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index b3731d651..a5aa0f0c6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,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
--------------------------
* PeerStatus now includes Address and Port.
diff --git a/main/features.c b/main/features.c
index f9e024850..98bb8c456 100644
--- a/main/features.c
+++ b/main/features.c
@@ -4701,6 +4701,8 @@ static struct ast_parkinglot *build_parkinglot(char *name, struct ast_variable *
} 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;
}