mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Fix channel Caller*ID
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user