From f3f0f402235b5ee1cc1610d830c5fc807af3f0a0 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 31 Dec 2008 19:20:35 +0000 Subject: [PATCH] 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 --- channels/chan_local.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.3