projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d488a8c
)
Copy musiconhold
author
Mark Spencer
<markster@digium.com>
Sat, 6 Sep 2003 19:28:52 +0000
(19:28 +0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 6 Sep 2003 19:28:52 +0000
(19:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1479
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_dial.c
patch
|
blob
|
history
diff --git
a/apps/app_dial.c
b/apps/app_dial.c
index
1594317
..
4d36865
100755
(executable)
--- 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