Populated RDNIS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
4c06525432
commit
e7ecf6accb
|
@ -242,6 +242,10 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
|
|||
p->chan->callerid = strdup(p->owner->callerid);
|
||||
else
|
||||
p->chan->callerid = NULL;
|
||||
if (p->owner->rdnis)
|
||||
p->chan->rdnis = strdup(p->owner->rdnis);
|
||||
else
|
||||
p->chan->rdnis = NULL;
|
||||
if (p->owner->ani)
|
||||
p->chan->ani = strdup(p->owner->ani);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue