[asterisk-commits] branch 1.2 r29464 - /branches/1.2/channels/chan_local.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 22 09:33:03 MST 2006


Author: file
Date: Mon May 22 11:33:03 2006
New Revision: 29464

URL: http://svn.digium.com/view/asterisk?rev=29464&view=rev
Log:
Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)

Modified:
    branches/1.2/channels/chan_local.c

Modified: branches/1.2/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_local.c?rev=29464&r1=29463&r2=29464&view=diff
==============================================================================
--- branches/1.2/channels/chan_local.c (original)
+++ branches/1.2/channels/chan_local.c Mon May 22 11:33:03 2006
@@ -343,6 +343,8 @@
 		p->chan->cid.cid_ani = strdup(p->owner->cid.cid_ani);
 	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);



More information about the asterisk-commits mailing list