app_chanspy: Fix a bug where Barge mode could fail
authorJonathan Rose <jrose@digium.com>
Fri, 9 May 2014 17:03:41 +0000 (17:03 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 9 May 2014 17:03:41 +0000 (17:03 +0000)
commit57704832176d6c84e0d95e7f78e53f819c70a1e4
tree4008de497a7d9e991470ca87b85852a42127e438
parentf2ca3438e7923b8fdca2f89b68a88f6cc4bbc0b8
app_chanspy: Fix a bug where Barge mode could fail

If the barge audiohook was attached prior to the spyee and its peer
actually being bridged, the audiohook would not be applied and the
connected peer would not be able to hear audio from the spy when the
spy is in barge mode.

(closes issue ASTERISK-23381)
Reported by: Robert Moss
Review: https://reviewboard.asterisk.org/r/3505/
........

Merged revisions 413551 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 413556 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@413557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c