dect
/
asterisk
Archived
13
0
Fork 0

Fix DTMF issue with 3-way native zap

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7076 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2005-11-11 18:00:07 +00:00
parent e09381994a
commit beb7fb4586
1 changed files with 4 additions and 4 deletions

View File

@ -3146,10 +3146,10 @@ static enum ast_bridge_result zt_bridge(struct ast_channel *c0, struct ast_chann
return AST_BRIDGE_FAILED;
}
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_0))
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_0) && (oi0 == SUB_REAL))
disable_dtmf_detect(op0);
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_1))
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_1) && (oi1 == SUB_REAL))
disable_dtmf_detect(op1);
for (;;) {
@ -3237,10 +3237,10 @@ return_from_bridge:
if (op1 == p1)
zt_enable_ec(p1);
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_0))
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_0) && (oi0 == SUB_REAL))
enable_dtmf_detect(op0);
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_1))
if (!(flags & AST_BRIDGE_DTMF_CHANNEL_1) && (oi1 == SUB_REAL))
enable_dtmf_detect(op1);
zt_unlink(slave, master, 1);