Make the difference clear about what the responsibilities of the core and a spy are...
authorJoshua Colp <jcolp@digium.com>
Sun, 3 Sep 2006 23:30:37 +0000 (23:30 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 3 Sep 2006 23:30:37 +0000 (23:30 +0000)
commit55d594e9dae7141af106eeef987eb3d09e9ec387
treeb469e85436e1552e41576dfd5a3045a35456e1bc
parent4de3c0e447e6326ad84c51a8c70c82da882c50ad
Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c
apps/app_mixmonitor.c
include/asterisk/chanspy.h
main/channel.c