aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-01 14:59:40 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-01 14:59:40 +0000
commit4ccc73bca703f3ae6e585a473493566bed2bfce8 (patch)
tree4467a36317acdac6e906862ef17bb160e66be06b /channel.c
parentca6ae2cb1be99d817cfda6942b6cf570fc7abb68 (diff)
Fix channel Caller*ID
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1593 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 6a4a177de..e6f0e98ae 100755
--- a/channel.c
+++ b/channel.c
@@ -1517,6 +1517,8 @@ struct ast_channel *__ast_request_and_dial(char *type, int format, void *data, i
ast_set_callerid(chan, oh->callerid, 1);
chan->priority = oh->priority;
}
+ if (callerid && strlen(callerid))
+ ast_set_callerid(chan, callerid, 1);
if (!ast_call(chan, data, 0)) {
while(timeout && (chan->_state != AST_STATE_UP)) {