mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
Pass redirecting number on PRI calls (bug #2763)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -839,6 +839,8 @@ static int dial_exec(struct ast_channel *chan, void *data)
|
||||
tmp->chan->cdrflags = chan->cdrflags;
|
||||
if (ast_strlen_zero(tmp->chan->musicclass))
|
||||
strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
|
||||
if (chan->cid.cid_rdnis)
|
||||
tmp->chan->cid.cid_rdnis = strdup(chan->cid.cid_rdnis);
|
||||
/* Pass callingpres setting */
|
||||
tmp->chan->cid.cid_pres = chan->cid.cid_pres;
|
||||
/* Pass type of number */
|
||||
|
||||
Reference in New Issue
Block a user