diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-26 19:36:28 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-26 19:36:28 -0500 |
commit | 4a2371f1cd50f3730b60c80ea5676303e01290d9 (patch) | |
tree | 25821b81cebddebaf94cf0c063a49e03cc0de24d /main | |
parent | 1a7d5989d61cc76f8423fa1f9abafc56a251f537 (diff) | |
parent | 1d2d4e2ae995968051319c606d59fb67fd215217 (diff) |
Merge "channel: No hung-up on failing security requirements." into 14
Diffstat (limited to 'main')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index 1f18d53b1..94505ad0e 100644 --- a/main/channel.c +++ b/main/channel.c @@ -6093,7 +6093,7 @@ struct ast_channel *ast_request(const char *type, struct ast_format_cap *request if (set_security_requirements(requestor, c)) { ast_log(LOG_WARNING, "Setting security requirements failed\n"); - c = ast_channel_release(c); + ast_hangup(c); *cause = AST_CAUSE_BEARERCAPABILITY_NOTAVAIL; return NULL; } |