The logic surrounding the return value of ast_spawn_extension
authorMark Michelson <mmichelson@digium.com>
Wed, 1 Oct 2008 21:06:26 +0000 (21:06 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 1 Oct 2008 21:06:26 +0000 (21:06 +0000)
commita23b8c91589790b773e044963efe82db9a95dc7b
tree68226e12b5eb5c144ac363a7388c0ddba5dd9fb5
parent803b6799de521b3357e7bfd393ebf1dee61cace8
The logic surrounding the return value of ast_spawn_extension
within ast_bridge_call was reversed.

This problem was observed when a blind transfer placed from
the callee channel of a test call failed.

While the problem I am solving here is exactly the same
as what was reported in issue #13584, the difference is
that this fix I am applying is trunk-only. Issue #13584
was reported against the 1.4 branch, and my tests
of 1.4's blind transfers appear to work fine.

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