Merged revisions 29464 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 16:36:13 +0000 (16:36 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 16:36:13 +0000 (16:36 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29464 | file | 2006-05-22 13:33:03 -0300 (Mon, 22 May 2006) | 2 lines

Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29466 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_local.c

index 17fc36a..7ea712f 100644 (file)
@@ -369,7 +369,7 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
        p->chan->cid.cid_name = ast_strdup(p->owner->cid.cid_name);
        p->chan->cid.cid_rdnis = ast_strdup(p->owner->cid.cid_rdnis);
        p->chan->cid.cid_ani = ast_strdup(p->owner->cid.cid_ani);
-
+       p->chan->cid.cid_pres = p->owner->cid.cid_pres;
        ast_string_field_set(p->chan, language, p->owner->language);
        ast_string_field_set(p->chan, accountcode, p->owner->accountcode);
        p->chan->cdrflags = p->owner->cdrflags;