Merge "channel: No hung-up on failing security requirements."

changes/46/3746/1
zuul 9 years ago committed by Gerrit Code Review
commit 4d06f4621a

@ -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;
}

Loading…
Cancel
Save