]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager: Restore Originate failure behavior from Asterisk 11 13/4913/3
authorSean Bright <sean.bright@gmail.com>
Thu, 9 Feb 2017 16:01:22 +0000 (11:01 -0500)
committerSean Bright <sean.bright@gmail.com>
Fri, 10 Feb 2017 23:01:54 +0000 (18:01 -0500)
commit8936568515d26eba6087a0064fe4d5d6e7f02ddd
tree9a56c64b9f8040c9384a45ffdb2a429fe21e2800
parentc7fcc4468ffd54066129a982ff5b0a3cdfa7c5e0
manager: Restore Originate failure behavior from Asterisk 11

In Asterisk 11, if the 'Originate' AMI command failed to connect the provided
Channel while in extension mode, a 'failed' extension would be looked up and
run. This was, I believe, unintentionally removed in 51b6c49. This patch
restores that behavior.

This also adds an enum for the various 'synchronous' modes in an attempt to
make them meaningful.

ASTERISK-26115 #close
Reported by: Nasir Iqbal

Change-Id: I8afbd06725e99610e02adb529137d4800c05345d
apps/app_originate.c
funcs/func_periodic_hook.c
include/asterisk/pbx.h
main/manager.c
main/pbx.c
pbx/pbx_spool.c
res/res_clioriginate.c