mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
Enable "musicclass" setting for sip peers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -12225,7 +12225,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, int
|
|||||||
}
|
}
|
||||||
} else if (!strcasecmp(v->name, "accountcode")) {
|
} else if (!strcasecmp(v->name, "accountcode")) {
|
||||||
ast_copy_string(peer->accountcode, v->value, sizeof(peer->accountcode));
|
ast_copy_string(peer->accountcode, v->value, sizeof(peer->accountcode));
|
||||||
} else if (!strcasecmp(v->name, "musiconhold")) {
|
} else if (!strcasecmp(v->name, "musicclass") || !strcasecmp(v->name, "musiconhold")) {
|
||||||
ast_copy_string(peer->musicclass, v->value, sizeof(peer->musicclass));
|
ast_copy_string(peer->musicclass, v->value, sizeof(peer->musicclass));
|
||||||
} else if (!strcasecmp(v->name, "mailbox")) {
|
} else if (!strcasecmp(v->name, "mailbox")) {
|
||||||
ast_copy_string(peer->mailbox, v->value, sizeof(peer->mailbox));
|
ast_copy_string(peer->mailbox, v->value, sizeof(peer->mailbox));
|
||||||
|
|||||||
Reference in New Issue
Block a user