Populated RDNIS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-03-18 20:33:55 +00:00
parent 4c06525432
commit e7ecf6accb
1 changed files with 4 additions and 0 deletions

View File

@ -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