From b8f170954080e7f60db9c83e139f137ef637062e Mon Sep 17 00:00:00 2001 From: file Date: Mon, 22 May 2006 16:33:03 +0000 Subject: 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 --- channels/chan_local.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'channels/chan_local.c') 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; -- cgit v1.2.3