From: Mark Michelson Date: Thu, 11 Dec 2008 20:21:44 +0000 (+0000) Subject: Add an appropriate goto if ast_call fails X-Git-Tag: 1.6.2.0-beta1~651 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7828e7a966031731642a3f983d485a5d217f0ce8;p=thirdparty%2Fasterisk.git Add an appropriate goto if ast_call fails git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163198 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/features.c b/main/features.c index 38f45400e4..f791340cfc 100644 --- a/main/features.c +++ b/main/features.c @@ -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);