diff options
author | zuul <zuul@gerrit.asterisk.org> | 2017-02-13 07:11:16 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-02-13 07:11:16 -0600 |
commit | f9f74f4b7568d9b40d35740683041891d1d33b00 (patch) | |
tree | 2a248d6cd4ceaa9494d3d281daa1768c9bd8b23a /main/pbx.c | |
parent | 7e2bbe30fb637d336df7c846a8c9b4dbb9cae6a3 (diff) | |
parent | 0910773077f065a45e975c1a5914be084d9a4bdc (diff) |
Merge "manager: Restore Originate failure behavior from Asterisk 11"
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 3e35a3a14..47e0b0eda 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -7876,7 +7876,7 @@ int ast_pbx_outgoing_exten_predial(const char *type, struct ast_format_cap *cap, early_media, assignedids, predial_callee); if (res < 0 /* Call failed to get connected for some reason. */ - && 1 < synchronous + && 0 < synchronous && ast_exists_extension(NULL, context, "failed", 1, NULL)) { struct ast_channel *failed; |