aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 16:33:03 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 16:33:03 +0000
commitb8f170954080e7f60db9c83e139f137ef637062e (patch)
tree43ac2af99c6b127aa829f0a06bd4163dd6380651
parent81cdcbf774522ea49b3ccd22f43adce746275fb0 (diff)
Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29464 f38db490-d61c-443f-a65b-d21fe96a405b
-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;