aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-11 20:21:44 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-11 20:21:44 +0000
commite8c74a4a13470289aaeece7df64240f4bf118697 (patch)
tree60c1977760207649636da958c83e97f13c2024a5
parente86e350ed22662ed5ef2a03986337e2d3545137c (diff)
Add an appropriate goto if ast_call fails
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@163198 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c
index 38f45400e..f791340cf 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);