From 949a70a88e7ccfa47f519f876a64c4696a1de65b Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 6 Sep 2003 19:28:52 +0000 Subject: Copy musiconhold git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1479 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_dial.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_dial.c b/apps/app_dial.c index 1594317ea..4d36865a5 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -564,6 +564,8 @@ static int dial_exec(struct ast_channel *chan, void *data) tmp->chan->callerid = strdup(chan->callerid); else tmp->chan->callerid = NULL; + if (!strlen(tmp->chan->musicclass)) + strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1); if (chan->ani) tmp->chan->ani = strdup(chan->ani); else -- cgit v1.2.3