mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Add an appropriate goto if ast_call fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2033,6 +2033,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
|
||||
|
||||
if (ast_call(chan, data, timeout)) {
|
||||
ast_log(LOG_NOTICE, "Unable to call channel %s/%s\n", type, (char *)data);
|
||||
goto done;
|
||||
}
|
||||
|
||||
ast_indicate(caller, AST_CONTROL_RINGING);
|
||||
|
||||
Reference in New Issue
Block a user