dect
/
asterisk
Archived
13
0
Fork 0

Fix channel Caller*ID

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1593 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-10-01 14:59:40 +00:00
parent ca6ae2cb1b
commit 4ccc73bca7
1 changed files with 2 additions and 0 deletions

View File

@ -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)) {