mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
Populated RDNIS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user