handle Zap transfers behind chan_agent properly so the agent doesn't get stuck waiting for the call to hang up

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-01 20:27:50 +00:00
parent f963ebd1ab
commit 84c0989323
2 changed files with 11 additions and 2 deletions

View File

@@ -275,8 +275,9 @@ struct ast_channel {
/*! Current active data generator */
struct ast_generator *generator;
/*! Who are we bridged to, if we're bridged Do not access directly,
use ast_bridged_channel(chan) */
/*! Who are we bridged to, if we're bridged. Who is proxying for us,
if we are proxied (i.e. chan_agent).
Do not access directly, use ast_bridged_channel(chan) */
struct ast_channel *_bridge;
/*! Channel that will masquerade as us */
struct ast_channel *masq;