]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channel: Remove ignore of answer on non-outgoing channels. 25/725/1
authorJoshua Colp <jcolp@digium.com>
Thu, 25 Jun 2015 11:42:46 +0000 (08:42 -0300)
committerJoshua Colp <jcolp@digium.com>
Thu, 25 Jun 2015 18:16:24 +0000 (15:16 -0300)
commite4a2ef9e4ef27488609bb01fc55e965cd93a9ad5
tree0c82c939320792d65e2986992c4f28e655114ff5
parentdb0521f905ad6f2624990f8476522c6778c18725
channel: Remove ignore of answer on non-outgoing channels.

Due to the way that channels can now be moved around inside of
Asterisk it is possible for the outgoing flag of a channel to get
cleared before it has been answered. This results in the bridge
not receiving notification that the outgoing leg has been answered.

This most easily exhibits itself with DTMF based blond transfers.
Since the answer of the outgoing leg is ignored the other party
continues to receive both a locally generated ringing and the
media stream of the outgoing leg upon its answer. This results
in no media being heard.

This change removes the ignore of the answer and allows it
to pass through.

ASTERISK-25171 #close

Change-Id: I82aedcec4f89f34a2e5472086dfc9a6c775bca8e
main/channel.c