From: Tilghman Lesher Date: Wed, 31 Dec 2008 19:20:35 +0000 (+0000) Subject: Also inherit the musiconhold class. X-Git-Tag: 1.4.23-testing~2^2~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3f0f402235b5ee1cc1610d830c5fc807af3f0a0;p=thirdparty%2Fasterisk.git Also inherit the musiconhold class. (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 --- diff --git a/channels/chan_local.c b/channels/chan_local.c index cbe4c6f201..b2e3c72b8c 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -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;