diff options
author | Mark Spencer <markster@digium.com> | 2003-09-06 19:28:52 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-09-06 19:28:52 +0000 |
commit | 8785c023654dfb10f855a8a4c1f4e55023f7a103 (patch) | |
tree | ccf64c2562b217443bbd8416c72c558080a7c4ed /apps | |
parent | d488a8c52207359aad6e2126cd7f1430c0395717 (diff) |
Copy musiconhold
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_dial.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |