]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Also inherit the musiconhold class.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 31 Dec 2008 19:20:35 +0000 (19:20 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 31 Dec 2008 19:20:35 +0000 (19:20 +0000)
(Closes #14153)
Reported by: Jerry Geis, via the users list.
Patch by: me (license 14)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@166953 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_local.c

index cbe4c6f2016f842a4da77e4cb0a89d7b33b2866b..b2e3c72b8cb8719b086ebbff212e602d2a9eb5d3 100644 (file)
@@ -490,6 +490,7 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
        p->chan->cid.cid_tns = p->owner->cid.cid_tns;
        ast_string_field_set(p->chan, language, p->owner->language);
        ast_string_field_set(p->chan, accountcode, p->owner->accountcode);
+       ast_string_field_set(p->chan, musicclass, p->owner->musicclass);
        ast_cdr_update(p->chan);
        p->chan->cdrflags = p->owner->cdrflags;