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
This commit is contained in:
Jeff Peeler
2011-02-09 20:11:11 +00:00
parent 6b0fa46103
commit e2df246636
2 changed files with 6 additions and 0 deletions

View File

@@ -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;
}