diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-26 18:56:16 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-26 18:56:16 -0500 |
commit | ba3984753a05dfbbf8475d368813968e2d7ba7d9 (patch) | |
tree | 114aea1ed62bc1f3ff11187cf4687e2f4b43af80 /main | |
parent | 8b4b2500ee010e9d6baf9454475d337d45c7c368 (diff) | |
parent | 847bd47ff0d066ba5b205131f959e778beef897f (diff) |
Merge "channel: No hung-up on failing security requirements." into 13
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 853935da3..f3f79399f 100644 --- a/main/channel.c +++ b/main/channel.c @@ -6094,7 +6094,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; } |