diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-16 20:33:47 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-16 20:33:47 +0000 |
commit | e13f2a7488382aabc3ac369c5495f013e2a0adc0 (patch) | |
tree | f2bf111805d3da287f8981b96532cdd0a84aecbe /main/rtp.c | |
parent | f4896114d2d146ab65a296e4090d564af0676459 (diff) |
Replace current spy architecture with backport of audiohooks. This should take care of current known spy issues.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98972 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r-- | main/rtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/rtp.c b/main/rtp.c index 22b996162..f35319fbe 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -2874,7 +2874,7 @@ static enum ast_bridge_result bridge_native_loop(struct ast_channel *c0, struct if ((c0->tech_pvt != pvt0) || (c1->tech_pvt != pvt1) || (c0->masq || c0->masqr || c1->masq || c1->masqr) || - (c0->monitor || c0->spies || c1->monitor || c1->spies)) { + (c0->monitor || c0->audiohooks || c1->monitor || c1->audiohooks)) { ast_log(LOG_DEBUG, "Oooh, something is weird, backing out\n"); if (c0->tech_pvt == pvt0) if (pr0->set_rtp_peer(c0, NULL, NULL, 0, 0)) @@ -3158,7 +3158,7 @@ static enum ast_bridge_result bridge_p2p_loop(struct ast_channel *c0, struct ast if ((c0->tech_pvt != pvt0) || (c1->tech_pvt != pvt1) || (c0->masq || c0->masqr || c1->masq || c1->masqr) || - (c0->monitor || c0->spies || c1->monitor || c1->spies)) { + (c0->monitor || c0->audiohooks || c1->monitor || c1->audiohooks)) { ast_log(LOG_DEBUG, "Oooh, something is weird, backing out\n"); if ((c0->masq || c0->masqr) && (fr = ast_read(c0))) ast_frfree(fr); |