aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r--channels/chan_local.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index f843fd95d..14ef083f6 100644
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -344,6 +344,8 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
else
p->chan->cid.cid_ani = NULL;
+ p->chan->cid.cid_pres = p->owner->cid.cid_pres;
+
strncpy(p->chan->language, p->owner->language, sizeof(p->chan->language) - 1);
strncpy(p->chan->accountcode, p->owner->accountcode, sizeof(p->chan->accountcode) - 1);
p->chan->cdrflags = p->owner->cdrflags;