summaryrefslogtreecommitdiff
path: root/channels/sip
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2011-12-23 17:36:14 +0000
committerSean Bright <sean@malleable.com>2011-12-23 17:36:14 +0000
commit35a64c2e6162644970ffc26e533ec41b2891f4db (patch)
treef1516a27241da2a17488205f0ae688d7ec262bdd /channels/sip
parent011843e36cc0642ae8ee42bd9ac4a8faa2d2e116 (diff)
Merged revisions 349045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ................ r349045 | seanbright | 2011-12-23 12:32:33 -0500 (Fri, 23 Dec 2011) | 25 lines Merged revisions 349044 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r349044 | seanbright | 2011-12-23 12:25:01 -0500 (Fri, 23 Dec 2011) | 18 lines In ChanSpy, don't create audiohooks that will never be used. When ChanSpy is initialized it creates and attaches 3 audiohooks: 1) Read audio off of the channel that we are spying on 2) Write audio to the channel that we are spying on 3) Write audio to the channel that is bridged to the channel that we are spying on. The first is always necessary, but the others are used only when specific options are passed to the ChanSpy application (B, d, w, and W to be specific). When those flags are not passed, neither of those audiohooks are ever sent frames, but we still try to process the hooks for each voice frame that we recieve on the channel. So in short - only create and attach audiohooks that we actually need. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip')
0 files changed, 0 insertions, 0 deletions