diff options
author | Olle Johansson <oej@edvina.net> | 2006-01-19 19:41:06 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-01-19 19:41:06 +0000 |
commit | de72ee118b82b0cb12f188a420fadd8512283f1e (patch) | |
tree | 13a635d526d292c92b575b6e16cbf700e775d4c9 | |
parent | 47bc420d7d95566e42b64c1e929768b9fff35753 (diff) |
Enable "musicclass" setting for sip peers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c95279f78..fd78084b1 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12225,7 +12225,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, int } } else if (!strcasecmp(v->name, "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)); } else if (!strcasecmp(v->name, "mailbox")) { ast_copy_string(peer->mailbox, v->value, sizeof(peer->mailbox)); |