diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-22 16:33:03 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-22 16:33:03 +0000 |
commit | b8f170954080e7f60db9c83e139f137ef637062e (patch) | |
tree | 43ac2af99c6b127aa829f0a06bd4163dd6380651 /channels/chan_local.c | |
parent | 81cdcbf774522ea49b3ccd22f43adce746275fb0 (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
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 2 |
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; |