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: http://svn.digium.com/svn/asterisk/trunk@307231 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
6891505c78
commit
e119c0728b
4
CHANGES
4
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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue