Fix erroneous hangup extension execution
authorJeff Peeler <jpeeler@digium.com>
Tue, 24 Nov 2009 18:50:36 +0000 (18:50 +0000)
committerJeff Peeler <jpeeler@digium.com>
Tue, 24 Nov 2009 18:50:36 +0000 (18:50 +0000)
commitc10288ec01b635326eff8f6d5c523a1651a3fa6e
tree76bcd48c4710f93c832d8bc0d4daf1722e1ef8f6
parentac9a4cecf3f2f50d38292be56c792a8210815014
Fix erroneous hangup extension execution

ast_spawn_extension behaves differently from 1.4 in that hangups and extensions
that do not exist do not return an error, whereas in 1.6 it does. This is now
taken into account so that the AST_FLAG_BRIDGE_HANGUP_RUN flag gets set
properly.

(closes issue #16106)
Reported by: ajohnson
Tested by: ajohnson

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@231095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c