]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager: Restore Originate failure behavior from Asterisk 11 14/4914/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:03:02 +0000 (17:03 -0600)
commitc74af2951b20c1966aa01ee83a52b3640e1e52ec
tree7b6b47d2e03a9a0575e7e482745863a39141cb1c
parentabf95615184b3780793d97e1b03fb7fa97ac90f4
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