aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoy <moy@f38db490-d61c-443f-a65b-d21fe96a405b>2011-03-05 17:53:31 +0000
committermoy <moy@f38db490-d61c-443f-a65b-d21fe96a405b>2011-03-05 17:53:31 +0000
commit36c6207e4f26a69f4f745ba97e16a9d5066c63a4 (patch)
tree6bea276c740091a546a964ef09c781a062cef441
parentf56051be4f54b8ab924beec246511f68b7f0cd04 (diff)
Merged revisions 309720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r309720 | moy | 2011-03-05 12:44:30 -0500 (Sat, 05 Mar 2011) | 6 lines Fix caller id passed to openr2_chan_make_call (closes issue #18894) Reported by: malufrj Tested by: moy ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@309721 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 4baee23b9..5a36328ad 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -5394,7 +5394,7 @@ static int dahdi_call(struct ast_channel *ast, char *rdest, int timeout)
c = args.ext;
if (!p->hidecallerid) {
- l = ast->caller.id.number.valid ? ast->caller.id.number.str : NULL;
+ l = ast->connected.id.number.valid ? ast->connected.id.number.str : NULL;
} else {
l = NULL;
}