Fix caller id passed to openr2_chan_make_call

(closes issue #18894)
Reported by: malufrj
Tested by: moy


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@309720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
Moises Silva 14 years ago
parent e4a3720d49
commit 3770b4d7cb

@ -5344,7 +5344,7 @@ static int dahdi_call(struct ast_channel *ast, char *rdest, int timeout)
c = "";
}
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;
}

Loading…
Cancel
Save