diff options
author | Jeff Peeler <jpeeler@digium.com> | 2011-02-09 20:11:11 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2011-02-09 20:11:11 +0000 |
commit | e2df2466360fc4f52ea5c6721089d7b5619114f2 (patch) | |
tree | aa5fb8d7a24a7c8fef06c73f97a0490671ec3d75 | |
parent | 6b0fa461032ad0953a6d79ceffbf3c5d69fbbc93 (diff) |
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | main/features.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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; } |