mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Copy musiconhold
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user